Перейти к содержимому
Эта страница ещё не переведена.

SecondsToTimeSpanModelBinder Class

A model binder that converts seconds (as string) to a System.TimeSpan object.

C#
public class SecondsToTimeSpanModelBinder : Abblix.Oidc.Server.Mvc.Binders.ModelBinderBase

Inheritance System.Object → ModelBinderBase → SecondsToTimeSpanModelBinder

Remarks

This model binder is useful for binding API parameters that are provided as seconds in string format, and need to be converted to a System.TimeSpan for internal processing.