public DynamicTravellerContext(SerializableTypeProvider typeProvider) { _typeProvider = typeProvider; _travellers = new Dictionary <Type, DynamicTraveller>(); _assemblyBuilder = new AssemblyBuilder(); Members = new DynamicTravellerMembers(); }
public DynamicTraveller(Type travellerType, ConstructorInfo constructor, MethodInfo travelWriteMethod, MethodInfo travelReadMethod, DynamicTravellerMembers members) { TravellerType = travellerType; Constructor = constructor; TravelWriteMethod = travelWriteMethod; TravelReadMethod = travelReadMethod; _members = members; _isConstructing = true; }
public DynamicTraveller(Type travellerType, IVisitArgsFactory factory, ConstructorInfo constructor, MethodInfo travelWriteMethod, MethodInfo travelReadMethod, DynamicTravellerMembers members) { _travellerType = travellerType; _factory = factory; _constructor = constructor; _travelWriteMethod = travelWriteMethod; _travelReadMethod = travelReadMethod; _members = members; _isConstructing = true; }