Adc.Odoo.Service.Infrastructure.Extensions.ExtensionsForType.IsNullable C# (CSharp) Метод

IsNullable() публичный статический Метод

public static IsNullable ( this referenceType ) : bool
referenceType this
Результат bool
        public static bool IsNullable(this Type referenceType)
        {
            return referenceType.IsGenericType && referenceType.GetGenericTypeDefinition() == typeof(Nullable<>);
        }
    }