Пример #1
0
 public static int GetPoint(this IPointPresenter presenter)
 {
     return(presenter.PointUseCase.Point);
 }
Пример #2
0
 public static IObservable <int> GetPointAsObservable(this IPointPresenter presenter)
 {
     return(presenter.PointUseCase.PointAsObservable);
 }
Пример #3
0
 public static void AddPoint(this IPointPresenter presenter, int additionalPoint)
 {
     presenter.PointUseCase.Point += additionalPoint;
 }
Пример #4
0
 public static void SetPoint(this IPointPresenter presenter, int point)
 {
     presenter.PointUseCase.Point = point;
 }
Пример #5
0
 public static void ResetPoint(this IPointPresenter presenter)
 {
     presenter.PointUseCase.Reset();
 }
Пример #6
0
 public static void SavePoint(this IPointPresenter presenter)
 {
     presenter.PointUseCase.Save();
 }
Пример #7
0
 public static void LoadPoint(this IPointPresenter presenter)
 {
     presenter.PointUseCase.Load();
 }