예제 #1
0
 IGangController IGangControllerFactory
 .Create(
     IGangManager manager, string gangId, IGangMember member,
     GangMemberReceiveAsync receiveAsync, GangMemberSendAsync sendAsync
     )
 {
     return(new GangController(
                manager, gangId, member,
                receiveAsync, sendAsync,
                _serializer
                ));
 }
예제 #2
0
 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;
 }