Class AlignableCorpusId
Inheritance
System.Object
AlignableCorpusId
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Sdl.Core.FineGrainedAlignment.dll
Syntax
public abstract class AlignableCorpusId
Constructors
AlignableCorpusId()
Declaration
protected AlignableCorpusId()
Properties
SerializationTypeId
Declaration
public abstract Guid SerializationTypeId { get; }
Property Value
Type |
Description |
System.Guid |
|
Methods
Deserialize(JsonReader)
Declaration
protected abstract void Deserialize(JsonReader reader)
Parameters
Type |
Name |
Description |
Newtonsoft.Json.JsonReader |
reader |
|
Deserialize(BinaryReader)
Declaration
protected abstract void Deserialize(BinaryReader reader)
Parameters
Type |
Name |
Description |
System.IO.BinaryReader |
reader |
|
FromJsonSerialization(String)
Declaration
public static AlignableCorpusId FromJsonSerialization(string serialization)
Parameters
Type |
Name |
Description |
System.String |
serialization |
|
Returns
FromSerialization(JsonReader)
Declaration
public static AlignableCorpusId FromSerialization(JsonReader reader)
Parameters
Type |
Name |
Description |
Newtonsoft.Json.JsonReader |
reader |
|
Returns
FromSerialization(Byte[])
Declaration
public static AlignableCorpusId FromSerialization(byte[] serialization)
Parameters
Type |
Name |
Description |
System.Byte[] |
serialization |
|
Returns
FromSerialization(BinaryReader)
Declaration
public static AlignableCorpusId FromSerialization(BinaryReader reader)
Parameters
Type |
Name |
Description |
System.IO.BinaryReader |
reader |
|
Returns
RegisterCorpusIdType(Guid, Func<BinaryReader, AlignableCorpusId>, Func<JsonReader, AlignableCorpusId>)
Declaration
public static void RegisterCorpusIdType(Guid idType, Func<BinaryReader, AlignableCorpusId> creator, Func<JsonReader, AlignableCorpusId> jsonCreator)
Parameters
Type |
Name |
Description |
System.Guid |
idType |
|
System.Func<System.IO.BinaryReader, AlignableCorpusId> |
creator |
|
System.Func<Newtonsoft.Json.JsonReader, AlignableCorpusId> |
jsonCreator |
|
Serialize(JsonWriter)
Declaration
protected abstract void Serialize(JsonWriter writer)
Parameters
Type |
Name |
Description |
Newtonsoft.Json.JsonWriter |
writer |
|
Serialize(BinaryWriter)
Declaration
protected abstract void Serialize(BinaryWriter writer)
Parameters
Type |
Name |
Description |
System.IO.BinaryWriter |
writer |
|
ToJsonSerialization()
Declaration
public string ToJsonSerialization()
Returns
Type |
Description |
System.String |
|
ToSerialization()
Declaration
public byte[] ToSerialization()
Returns
Type |
Description |
System.Byte[] |
|
ToSerialization(JsonWriter)
Declaration
public void ToSerialization(JsonWriter writer)
Parameters
Type |
Name |
Description |
Newtonsoft.Json.JsonWriter |
writer |
|
ToSerialization(BinaryWriter)
Declaration
public void ToSerialization(BinaryWriter writer)
Parameters
Type |
Name |
Description |
System.IO.BinaryWriter |
writer |
|