IO.Swagger.Client.ApiClient.ConvertType C# (CSharp) Method

ConvertType() public static method

Dynamically cast the object into target type. Ref: http://stackoverflow.com/questions/4925718/c-dynamic-runtime-cast
public static ConvertType ( Object source, Type dest ) : Object
source Object Object to be casted
dest System.Type Target type
return Object
        public static Object ConvertType(Object source, Type dest)
        {
            return Convert.ChangeType(source, dest);
        }