public ThemeLoader( IHostingEnvironment hostingEnvironment, IOptions <ThemeOptions> themeOptions, IThemeLocator themeLocator, IPlatoFileSystem platoFileSystem) { _themeLocator = themeLocator; var contentRootPath = hostingEnvironment.ContentRootPath; var virtualPathToThemesFolder = themeOptions.Value.VirtualPathToThemesFolder; RootPath = platoFileSystem.Combine( contentRootPath, virtualPathToThemesFolder); InitializeThemes(); }
public SiteThemeLoader( IOptions <ThemeOptions> themeOptions, IPlatoFileSystem platoFilesystem, IShellSettings shellSettings, IThemeLocator themeLocator, ISitesFolder sitesFolder) { _platoFileSystem = platoFilesystem; _themeLocator = themeLocator; RootPath = platoFilesystem.Combine( sitesFolder.RootPath, shellSettings.Location, themeOptions.Value.VirtualPathToThemesFolder?.ToLower());; InitializeThemes(); }
protected BbCodeBaseConverter(IChatState chatState, IThemeLocator locator) { characters = chatState.CharacterManager; Locator = locator; ChatModel = chatState.ChatModel; }
public ForegroundBrushConverter(IChatModel cm, IThemeLocator locator) { this.cm = cm; this.locator = locator; }
public BbCodePostConverter(IChatState chatState, IThemeLocator locator) : base(chatState, locator) { }
public BbCodeConverter(IChatState chatState, IThemeLocator locator) : base(chatState, locator) { }
public BbFlowConverter(IChatModel chatModel, ICharacterManager characterManager, IThemeLocator locator, IPermissionService permissions) : base(chatModel, characterManager, locator) { this.permissions = permissions; }
public BbCodePostConverter(IChatModel chatModel, ICharacterManager characterManager, IThemeLocator locator) : base(chatModel, characterManager, locator) { }
protected BbCodeBaseConverter(IChatModel chatModel, ICharacterManager characterManager, IThemeLocator locator) { this.characterManager = characterManager; Locator = locator; ChatModel = chatModel; }
public BbFlowConverter(IChatState chatState, IThemeLocator locator, IGetPermissions permissions) : base(chatState, locator) { this.permissions = permissions; }