Show / Hide Table of Contents

Class JsonPairSerializer<T1, T2>

Class used to serialize related pairs of data. Implemented generally for reuseability across the codebase, but intended specificly to support use-cases related to CRM WebAdmin and data-import batch-tasks.

Inheritance
object
JsonPairSerializer<T1, T2>
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.Util
Assembly: SoCore.dll
Syntax
public static class JsonPairSerializer<T1, T2>
Type Parameters
Name Description
T1

Typically of type CRM.Services.ImportLine[]

T2

Typically of type CRM.Services.ImportColumnInfo[]

Methods

Serialize(T1, T2)

Class used to serialize related pairs of data. Implemented generally for reuseability across the codebase, but intended specificly to support use-cases related to CRM WebAdmin and data-import batch-tasks.

Declaration
public static string Serialize(T1 v1, T2 v2)
Parameters
Type Name Description
T1 v1
T2 v2
Returns
Type Description
string

SerializeAsStream(T1, T2)

Class used to serialize related pairs of data. Implemented generally for reuseability across the codebase, but intended specificly to support use-cases related to CRM WebAdmin and data-import batch-tasks.

Declaration
public static Stream SerializeAsStream(T1 v1, T2 v2)
Parameters
Type Name Description
T1 v1
T2 v2
Returns
Type Description
Stream

TryDeserialize(string, out T1, out T2)

Class used to serialize related pairs of data. Implemented generally for reuseability across the codebase, but intended specificly to support use-cases related to CRM WebAdmin and data-import batch-tasks.

Declaration
public static bool TryDeserialize(string value, out T1 v1, out T2 v2)
Parameters
Type Name Description
string value
T1 v1
T2 v2
Returns
Type Description
bool

TryDeserializeFromStream(Stream, out T1, out T2)

Class used to serialize related pairs of data. Implemented generally for reuseability across the codebase, but intended specificly to support use-cases related to CRM WebAdmin and data-import batch-tasks.

Declaration
public static bool TryDeserializeFromStream(Stream stream, out T1 v1, out T2 v2)
Parameters
Type Name Description
Stream stream
T1 v1
T2 v2
Returns
Type Description
bool
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top