public IResource CreateResource(string resourcePath, string resourceName) { if (_fileResourceProvider.CanWrite(resourcePath) && _defaultResourceReader.CanRead(resourceName)) { var resourceContent = _defaultResourceReader.Read(resourceName); _fileResourceProvider.Write(resourcePath, resourceContent); } return(GetResource(resourcePath)); }