Beispiel #1
0
 /// <summary>
 /// Inject nested state nodes into the Redux State that are already initialized.
 /// Thus, the initial State does not need an initializer itself.
 /// </summary>
 public State(
     CharacterState characterState,
     CameraState cameraState,
     ApiState apiState
     )
 {
     Character = characterState;
     Camera    = cameraState;
     Api       = apiState;
 }
Beispiel #2
0
 public ApiStateInitializer(ApiState apiState)
 {
     apiState_ = apiState;
 }