Inheritance: dnSpy.Contracts.MVVM.ViewModelBase
コード例 #1
0
 public FieldAndStructure(HexVM structure, HexField field)
 {
     if (structure == null)
     {
         throw new ArgumentNullException(nameof(structure));
     }
     if (field == null)
     {
         throw new ArgumentNullException(nameof(field));
     }
     Structure = structure;
     Field     = field;
 }
コード例 #2
0
ファイル: HexFieldReference.cs プロジェクト: pashav15/pashav
 public HexFieldReference(HexBufferFile file, HexVM structure, HexField field)
 {
     if (file == null)
     {
         throw new ArgumentNullException(nameof(file));
     }
     if (structure == null)
     {
         throw new ArgumentNullException(nameof(structure));
     }
     if (field == null)
     {
         throw new ArgumentNullException(nameof(field));
     }
     File      = file;
     Structure = structure;
     Field     = field;
 }
コード例 #3
0
ファイル: HexFieldReference.cs プロジェクト: zz110/dnSpy
 public HexFieldReference(HexBufferFile file, HexVM structure, HexField field)
 {
     File      = file ?? throw new ArgumentNullException(nameof(file));
     Structure = structure ?? throw new ArgumentNullException(nameof(structure));
     Field     = field ?? throw new ArgumentNullException(nameof(field));
 }