Example #1
0
 protected internal virtual void Register <A, B, C>(HaRequestTypes_Type type, TargetCaller <A, B> targetCaller, ObjectSerializer <C> objectSerializer, bool unpack)
 {
     Debug.Assert(_types[type.ordinal()] == null);
     _types[type.ordinal()] = new HaRequestType(targetCaller, objectSerializer, (sbyte)type.ordinal(), unpack);
 }
Example #2
0
 public override RequestType Type(HaRequestTypes_Type type)
 {
     return(type(( sbyte )type.ordinal()));
 }
Example #3
0
 protected internal virtual void Register <A, B, C>(HaRequestTypes_Type type, TargetCaller <A, B> targetCaller, ObjectSerializer <C> objectSerializer)
 {
     Register(type, targetCaller, objectSerializer, true);
 }