public CoreEngine(IUpdater updater, ICanvas canvas, Scene scene, StoryBoard storyBoard, IStoryManager storyManager) { _updater = updater; _canvas = canvas; _scene = scene; _storyBoard = storyBoard; _storyManager = storyManager; Setup(); }
public void SetUp() { _storyManager = new StoryManager(); }
/// <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; }
public WatchStoryCommand(IStoryManager storyManager, IHttpContextReader httpContextReader) { this.storyManager = storyManager; this.httpContextReader = httpContextReader; }
public AddStoryCommand(IStoryManager storyManager, IMapper mapper) { this.storyManager = storyManager; this.mapper = mapper; }
public StoryController(IStoryManager storyManager) { this.storyManager = storyManager; }
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)); }