IGangController IGangControllerFactory .Create( IGangManager manager, string gangId, IGangMember member, GangMemberReceiveAsync receiveAsync, GangMemberSendAsync sendAsync ) { return(new GangController( manager, gangId, member, receiveAsync, sendAsync, _serializer )); }
public GangController( IGangManager manager, string gangId, IGangMember member, GangMemberReceiveAsync receiveAsync, GangMemberSendAsync sendAsync, IGangSerializationService serializer ) { _gangId = gangId; Member = member; _manager = manager; _receiveAsync = receiveAsync; _sendAsync = sendAsync; _serializer = serializer; }