Exemplo n.º 1
0
 public Envelope(
     [JsonProperty("@type")] string typeAnnotation,
     [JsonProperty("instanceSetHistory")] InstanceSetHistory instanceSetHistory)
     : this(instanceSetHistory)
 {
     if (typeAnnotation != TypeAnnotation)
     {
         throw new FormatException("Missing type annotation: " + TypeAnnotation);
     }
 }
Exemplo n.º 2
0
 public Envelope(
     InstanceSetHistory instanceSetHistory)
 {
     this.InstanceSetHistory = instanceSetHistory;
 }