Example #1
0
 /// <summary>
 /// Фабричный метод
 /// </summary>
 /// <param name="State"></param>
 /// <returns></returns>
 public static CreateState Of(Store.Model.State State) => new CreateState(State);
Example #2
0
 /// <summary>
 /// Фабричный метод
 /// </summary>
 /// <param name="state"></param>
 /// <returns></returns>
 public static UpdateState Of(Store.Model.State state) => new UpdateState(state);
Example #3
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="state"></param>
 public CreateState(Store.Model.State state)
 {
     State = state;
 }
Example #4
0
 /// <summary>
 /// Конструктор
 /// </summary>
 /// <param name="state"></param>
 public UpdateState(Store.Model.State state)
 {
     State = state;
 }