本文整理汇总了C#中DeserializeContext类的典型用法代码示例。如果您正苦于以下问题:C# DeserializeContext类的具体用法?C# DeserializeContext怎么用?C# DeserializeContext使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DeserializeContext类属于命名空间,在下文中一共展示了DeserializeContext类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Deserialize
protected override void Deserialize(DeserializeContext context, byte version)
{
base.Deserialize(context, version);
Cookie = context.ReadObject<Signed<SignCheckCookie>>();
Certificate = context.ReadObject<Certificate>();
SignDateTime = context.ReadDateTime();
}
示例2: Deserialize
protected override void Deserialize(DeserializeContext context, byte version)
{
base.Deserialize(context, version);
Request = context.ReadObject<SignatureRequest>();
SecureRequest = context.ReadObject<Secure<SignatureRequest>>();
SecureRequestInfo = context.ReadObject<Secure<SignatureRequestInfo>>();
}
示例3: Deserialize
protected override void Deserialize(DeserializeContext context, byte version)
{
base.Deserialize(context, version);
if (Exception == null)
{
SignChecks = context.ReadObjectList<Signed<SignatureRequestSignCheck>>();
EncryptedSignatureRequest = context.ReadBytes();
}
}
示例4: Authority
public Authority(DeserializeContext context, BaseParameters parameters)
{
Index = context.ReadInt32();
this.polynomial = context.ReadObject<Polynomial>();
if (!context.ReadBoolean())
{
this.secretKeyPart = context.ReadBigInt();
}
this.parameters = parameters;
}
示例5: Deserialize
protected override void Deserialize(DeserializeContext context)
{
base.Deserialize(context);
P = context.ReadBigInt();
Q = context.ReadBigInt();
G = context.ReadBigInt();
F = context.ReadBigInt();
Thereshold = context.ReadInt32();
AuthorityCount = context.ReadInt32();
MaxVota = context.ReadInt32();
OptionCount = context.ReadInt32();
ProofCount = context.ReadInt32();
}
示例6: FetchSignatureResponseResponse
/// <summary>
/// Creates an object by deserializing from binary data.
/// </summary>
/// <param name="context">Context for deserialization.</param>
public FetchSignatureResponseResponse(DeserializeContext context, byte version)
: base(context, version)
{
}
示例7: PushEnvelopeResponse
/// <summary>
/// Creates an object by deserializing from binary data.
/// </summary>
/// <param name="context">Context for deserialization.</param>
public PushEnvelopeResponse(DeserializeContext context, byte version)
: base(context, version)
{
}
示例8: Voting
public Voting(DeserializeContext context)
: base(context)
{
}
示例9: VotingParameters
/// <summary>
/// Creates an object by deserializing from binary data.
/// </summary>
/// <param name="context">Context for deserialization.</param>
public VotingParameters(DeserializeContext context, byte version)
: base(context, version)
{
}
示例10: Deserialize
/// <summary>
/// Deserializes binary data to object.
/// </summary>
/// <param name="context">Context for deserialization</param>
protected override void Deserialize(DeserializeContext context, byte version)
{
base.Deserialize(context, version);
}
示例11: Deserialize
/// <summary>
/// Deserializes binary data to object.
/// </summary>
/// <param name="context">Context for deserialization</param>
protected override void Deserialize(DeserializeContext context, byte version)
{
base.Deserialize(context, version);
VotingId = context.ReadGuid();
VoterId = context.ReadGuid();
Ballots = context.ReadObjectList<Ballot>();
Date = context.ReadDateTime();
}
示例12: RemoteConfig
/// <summary>
/// Creates an object by deserializing from binary data.
/// </summary>
/// <param name="context">Context for deserialization.</param>
public RemoteConfig(DeserializeContext context, byte version)
: base(context, version)
{
}
示例13: Deserialize
/// <summary>
/// Deserializes binary data to object.
/// </summary>
/// <param name="context">Context for deserialization</param>
protected override void Deserialize(DeserializeContext context, byte version)
{
base.Deserialize(context, version);
SystemName = context.ReadMultiLanguageString();
WelcomeMessage = context.ReadMultiLanguageString();
Image = context.ReadBytes();
Url = context.ReadString();
UpdateVersion = context.ReadString();
UpdateUrl = context.ReadString();
}
示例14: SharePart
/// <summary>
/// Creates an object by deserializing from binary data.
/// </summary>
/// <param name="context">Context for deserialization.</param>
public SharePart(DeserializeContext context, byte version)
: base(context, version)
{
}
示例15: Deserialize
/// <summary>
/// Deserializes binary data to object.
/// </summary>
/// <param name="context">Context for deserialization</param>
protected override void Deserialize(DeserializeContext context, byte version)
{
base.Deserialize(context, version);
AuthorityIndex = context.ReadInt32();
EncryptedShares = context.ReadObjectList<Encrypted<Share>>();
VerificationValues = context.ReadObjectList<VerificationValue>();
}