public PlayerOverlayDesignModel(int seatNumber, IPlayerStatusViewModel playerStatus, ITableOverlaySettingsViewModel overlaySettings) : base(playerStatus) { InitializeWith(overlaySettings, seatNumber); PlayerStatistics = new PlayerStatisticsDesignModel(seatNumber); }
public static void build() { statusContainer = new UnityContainer(); statusContainer.RegisterType <IPlayerStatusViewModel, PlayerStatusViewModel>(new ContainerControlledLifetimeManager()); statusContainer.RegisterType <IPlayerStatus, PlayerStatus>(new ContainerControlledLifetimeManager()); statusContainer.RegisterType <IPlayerStatusProcessor, PlayerStatusProcessor>(new ContainerControlledLifetimeManager()); playerStatus = statusContainer.Resolve <PlayerStatus>(); playerStatusProcessor = statusContainer.Resolve <PlayerStatusProcessor>(); playerStatusViewModel = statusContainer.Resolve <PlayerStatusViewModel>(); }
public PlayerOverlayDesignModel(IPlayerStatusViewModel playerStatus, ITableOverlaySettingsViewModel overlaySettings) : this(0, playerStatus, overlaySettings) { }
public PlayerOverlayViewModel(IPlayerStatusViewModel playerStatus) { PlayerStatus = playerStatus; }