/// <summary> /// Initializes a new instance of the <see cref="ResourceFileModule"/> class. /// Runs <see cref="AddDefaultMimeTypes"/> to make sure the basic mime types are available, they can be cleared later /// through the use of <see cref="MimeTypes"/> if desired. /// </summary> /// <param name="logWriter">The log writer to use when logging events</param> public ResourceFileModule(ILogWriter logWriter) { _resourceManager = new ResourceManager(logWriter); }
/// <summary> /// Initializes a new instance of the <see cref="ResourceFileModule"/> class. /// Runs <see cref="AddDefaultMimeTypes"/> to make sure the basic mime types are available, they can be cleared later /// through the use of <see cref="MimeTypes"/> if desired. /// </summary> public ResourceFileModule() { AddDefaultMimeTypes(); _resourceManager = new ResourceManager(); }