For Babelfish Release 1.11.1.3

AttributeValueDataPacketAPIResponse Class

Definition

Namespace: Scopos.BabelFish.Responses.AttributeValueAPI
Assembly: BabelFish (in BabelFish.dll) Version: 1.11.1.4+b1da393815f6638555a663d9a94167ecabea5695
C#
public class AttributeValueDataPacketAPIResponse : AttributeValueDataPacket
Inheritance
Object    IDeserializableAbstractClass    AttributeValueDataPacket    AttributeValueDataPacketAPIResponse

Constructors

Properties

AttributeDef the SetName, formatted as a string, of the Attribute definition.
(Inherited from AttributeValueDataPacket)
AttributeValue
(Inherited from AttributeValueDataPacket)
AttributeValueTask
(Inherited from AttributeValueDataPacket)
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.
(Inherited from AttributeValueDataPacket)
Message 
StatusCode 
Visibility
(Inherited from AttributeValueDataPacket)

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.
(Inherited from AttributeValueDataPacket)
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