当前位置: 首页>>代码示例>>C#>>正文


C# DeserializeContext类代码示例

本文整理汇总了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();
 }
开发者ID:dbrgn,项目名称:pi-vote,代码行数:7,代码来源:SignatureRequestSignCheck.cs

示例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>>();
 }
开发者ID:dbrgn,项目名称:pi-vote,代码行数:7,代码来源:RequestContainer.cs

示例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();
              }
        }
开发者ID:dbrgn,项目名称:pi-vote,代码行数:10,代码来源:FetchSignCheckListResponse.cs

示例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;
        }
开发者ID:dbrgn,项目名称:pi-vote,代码行数:12,代码来源:Authority.cs

示例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();
 }
开发者ID:dbrgn,项目名称:pi-vote,代码行数:13,代码来源:Parameters.cs

示例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)
 {
 }
开发者ID:dbrgn,项目名称:pi-vote,代码行数:8,代码来源:FetchSignatureResponseResponse.cs

示例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)
 {
 }
开发者ID:dbrgn,项目名称:pi-vote,代码行数:8,代码来源:PushEnvelopeResponse.cs

示例8: Voting

 public Voting(DeserializeContext context)
     : base(context)
 {
 }
开发者ID:dbrgn,项目名称:pi-vote,代码行数:4,代码来源:Voting.cs

示例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)
 {
 }
开发者ID:dbrgn,项目名称:pi-vote,代码行数:8,代码来源:VotingParameters.cs

示例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);
 }
开发者ID:dbrgn,项目名称:pi-vote,代码行数:8,代码来源:PushSignatureResponseResponse.cs

示例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();
 }
开发者ID:dbrgn,项目名称:pi-vote,代码行数:12,代码来源:Envelope.cs

示例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)
 {
 }
开发者ID:dbrgn,项目名称:pi-vote,代码行数:8,代码来源:RemoteConfig.cs

示例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();
 }
开发者ID:dbrgn,项目名称:pi-vote,代码行数:14,代码来源:RemoteConfig.cs

示例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)
 {
 }
开发者ID:dbrgn,项目名称:pi-vote,代码行数:8,代码来源:SharePart.cs

示例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>();
 }
开发者ID:dbrgn,项目名称:pi-vote,代码行数:11,代码来源:SharePart.cs


注:本文中的DeserializeContext类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。