Esempio n. 1
0
 public CoreEngine(IUpdater updater, ICanvas canvas, Scene scene, StoryBoard storyBoard,
                   IStoryManager storyManager)
 {
     _updater      = updater;
     _canvas       = canvas;
     _scene        = scene;
     _storyBoard   = storyBoard;
     _storyManager = storyManager;
     Setup();
 }
Esempio n. 2
0
 public void SetUp()
 {
     _storyManager = new StoryManager();
 }
Esempio n. 3
0
 /// <summary>Initializes a new instance of the <see cref="StoryReadController"/> class.</summary>
 /// <param name="storyManager">The story manager.</param>
 public StoryReadController(IStoryManager storyManager)
 {
     this.storyManager = storyManager;
 }
Esempio n. 4
0
 public WatchStoryCommand(IStoryManager storyManager, IHttpContextReader httpContextReader)
 {
     this.storyManager      = storyManager;
     this.httpContextReader = httpContextReader;
 }
Esempio n. 5
0
 public AddStoryCommand(IStoryManager storyManager, IMapper mapper)
 {
     this.storyManager = storyManager;
     this.mapper       = mapper;
 }
 public void SetUp()
 {
     _storyManager = new StoryManager();
 }
 public StoryController(IStoryManager storyManager)
 {
     this.storyManager = storyManager;
 }
Esempio n. 8
0
 public DeleteStoryCommand(IStoryManager storyManager)
 {
     this.storyManager = storyManager;
 }
 /// <summary>
 /// The stories controller contructor.
 /// </summary>
 /// <param name="storyManager">The story manager.</param>
 public StoriesController(IStoryManager storyManager)
 {
     this.storyManager = storyManager ?? throw new ArgumentNullException(nameof(storyManager));
 }