示例#1
0
 public MyCustomError(@string Message, Abser Abser, ref MyError MyError)
 {
     this.Message      = Message;
     this.Abser        = Abser;
     this.m_MyErrorRef = new Ref <MyError>(ref MyError);
 }
示例#2
0
 public Record(Person Person, Employee Employee)
 {
     this.m_PersonRef   = new Ref <Person>(Person);
     this.m_EmployeeRef = new Ref <Employee>(Employee);
 }
示例#3
0
 // Constructors
 public MyCustomError(NilType _)
 {
     this.Message      = default;
     this.Abser        = default;
     this.m_MyErrorRef = new Ref <MyError>(new MyError(nil));
 }
示例#4
0
 // Constructors
 public Record(NilType _)
 {
     this.m_PersonRef   = new Ref <Person>(new Person(nil));
     this.m_EmployeeRef = new Ref <Employee>(new Employee(nil));
 }