VirtoCommerce.SwaggerApiClient.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 ( dynamic source, Type dest ) : dynamic
source dynamic Object to be casted
dest System.Type Target type
return dynamic
        public static dynamic ConvertType(dynamic source, Type dest) {
            return Convert.ChangeType(source, dest);
        }