BridgeStack.UnixTimeSpanConverter.CanConvert C# (CSharp) Метод

CanConvert() публичный Метод

Determines whether this instance can convert the specified object type.
public CanConvert ( Type objectType ) : bool
objectType System.Type Type of the object.
Результат bool
        public override bool CanConvert(Type objectType)
        {
            return objectType == typeof(TimeSpan) || objectType == typeof(TimeSpan?);
        }