FraudDetectionHelperSerializeT Method (T, Type) |
JSON Serialization.
Namespace:
Atomia.Billing.Core.Sdk.BusinessLogic
Assembly:
Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax public static string Serialize<T>(
T instance,
Type[] resultTypes
)
Public Shared Function Serialize(Of T) (
instance As T,
resultTypes As Type()
) As String
public:
generic<typename T>
static String^ Serialize(
T instance,
array<Type^>^ resultTypes
)
static member Serialize :
instance : 'T *
resultTypes : Type[] -> string
Parameters
- instance
- Type: T
The instance to be serialized. - resultTypes
- Type: SystemType
Known types to be serialized.
Type Parameters
- T
- The instance type.
Return Value
Type:
StringSerialized instance of T.
See Also