示例#1
0
 public CodegenSharableSerdeEventTyped(CodegenSharableSerdeName name, EventType eventType)
 {
     this.name      = name;
     this.eventType = eventType;
     if (eventType == null || name == null)
     {
         throw new ArgumentException();
     }
 }
 public CodegenSharableSerdeClassArrayTyped(
     CodegenSharableSerdeName name,
     Type[] valueTypes,
     DataInputOutputSerdeForge[] serdes,
     CodegenClassScope classScope)
 {
     _name       = name;
     _valueTypes = valueTypes;
     _serdes     = serdes;
     _classScope = classScope;
 }
示例#3
0
 public CodegenFieldSharableComparator(
     CodegenSharableSerdeName name,
     Type[] types,
     bool isSortUsingCollator,
     bool[] descending)
 {
     this.name = name;
     this.types = types;
     this.isSortUsingCollator = isSortUsingCollator;
     this.descending = descending;
 }
 public CodegenSharableSerdeClassTyped(
     CodegenSharableSerdeName name,
     Type valueType,
     DataInputOutputSerdeForge forge,
     CodegenClassScope classScope)
 {
     this._name       = name;
     this._valueType  = valueType;
     this._forge      = forge;
     this._classScope = classScope;
 }