Arango.fastJSON.Reflection.GetChangeType C# (CSharp) Метод

GetChangeType() приватный Метод

private GetChangeType ( Type conversionType ) : Type
conversionType System.Type
Результат System.Type
        private Type GetChangeType(Type conversionType)
        {
            if (conversionType.IsGenericType && conversionType.GetGenericTypeDefinition().Equals(typeof(Nullable<>)))
                return Reflection.Instance.GetGenericArguments(conversionType)[0];// conversionType.GetGenericArguments()[0];

            return conversionType;
        }