コード例 #1
0
 internal unsafe void __MarshalFrom(ref __Native @ref)
 {
     if (@ref.Version == RootSignatureVersion.Version11)
     {
         Version         = RootSignatureVersion.Version11;
         Description_1_1 = new RootSignatureDescription1();
         Description_1_1.__MarshalFrom(ref @ref.Union.Desc_1_1);
     }
     else
     {
         Version         = RootSignatureVersion.Version10;
         Description_1_0 = new RootSignatureDescription();
         Description_1_0.__MarshalFrom(ref @ref.Union.Desc_1_0);
     }
 }
コード例 #2
0
 public VersionedRootSignatureDescription(RootSignatureDescription1 description)
 {
     Version         = RootSignatureVersion.Version11;
     Description_1_1 = description;
 }