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;
        }