For Babelfish Release 1.11.1.3

AttributeValueDataPacket Class

Definition

Namespace: Scopos.BabelFish.DataModel.AttributeValue
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.1.4+b1da393815f6638555a663d9a94167ecabea5695
C#
[SerializableAttribute]
public abstract class AttributeValueDataPacket : IDeserializableAbstractClass
Inheritance
Object    IDeserializableAbstractClass    AttributeValueDataPacket
Derived

Constructors

Properties

AttributeDef the SetName, formatted as a string, of the Attribute definition.
AttributeValue 
AttributeValueTask 
ConcreteClassId Implementation of the IDeserializableAbstractClass interface. To have added control over the Deserialization of abstract classes, in to Concrete classes, the JSON should include a ConcreteClassId that specifies the Concrete class.
Visibility 

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FinishInitializationAsync Deserilization of a AttributeValueDataPacket is handled by the overridden ReadJson() method of AttributeValueDataPacketConverter class. Because to deserialize an AttributeValue the Definition of the Attribute must be known. And reading the Definition is an IO bound Async call. But ReadJson() is not Async and can't be made async because it is overridden. To get around this limitation, the Task is assigned to AttributeValueTask (instead of awaiting and assigning to AttributeValue. The awaiting of AttributeValueTask is then handled in an async call sepeartly.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

See Also