コード例 #1
0
 public DWSMethodDefinition(string name, NativeAction callback)
 {
     _name        = name;
     _callback    = callback;
     _args        = new DelphiArray <DWSParameterDefinition>();
     _comCallback = Callback;
 }
コード例 #2
0
        public DWSEnumDefinition(string name)
        {
            if (name == null)
            {
                throw new ArgumentNullException("name");
            }

            _name = name;
            _args = new DelphiArray <DWSElement>();
        }
コード例 #3
0
 public DWSTypeDefinition(string name)
 {
     _name   = name;
     _fields = new DelphiArray <DWSFieldDefinition>();
 }