Example #1
0
 public TurnHandler(IJailer jailer, IBanker banker, IMovementHandler movementHandler, IDice dice,
     ICardHandler cardHandler)
 {
     this.jailer = jailer;
     this.banker = banker;
     this.movementHandler = movementHandler;
     this.dice = dice;
     this.cardHandler = cardHandler;
 }
 public PipeCom(PipeReaderSettings settings)
 {
     this.settings = settings;
     handler       = new NullHandler();
 }
Example #3
0
 public PipeCom(PipeReaderSettings settings)
 {
     this.settings = settings;
     handler = new NullHandler();
 }
Example #4
0
 public void OnDeserialization(object sender)
 {
     handler = CreateHandler(this);
 }
Example #5
0
 public virtual void NewCard()
 {
     CreateMasterFile();
     handler = CreateHandler(this);
 }
Example #6
0
 public Card()
 {
     atr = new byte[] { 0x3b, 0x80, 0x80, 0x01, 0x01 };
     CreateMasterFile();
     handler = CreateHandler(this);
 }
Example #7
0
 public SocketCom(TcpIpReaderSettings settings)
 {
     handler       = new NullHandler();
     this.settings = settings;
 }
Example #8
0
 public CardController(ILogger <CardController> logger, ICardHandler cardHandler) : base(logger)
 {
     _cardHandler = cardHandler;
 }
Example #9
0
 public CardReadServiceProxy(IServiceClientFactory factory, ICardHandler callbackHandler)
     : base(factory, new InstanceContext(callbackHandler))
 {
 }
Example #10
0
 public SocketCom(TcpIpReaderSettings settings)
 {
     handler = new NullHandler();
     this.settings = settings;
 }
Example #11
0
 public void Connect()
 {
     ClientCallback = OperationContext.Current.GetCallbackChannel <ICardHandler>();
 }