public void Initialize(ConfigurationStorageAttribute config) { _config = config as CloudConfigurationStorageAttribute; if (_config == null) { return; } _connector = new S3Connector(_config.Location); }
public void Initialize(ConfigurationStorageAttribute config) { _config = config as FileSystemConfigurationStorageAttribute; if (_config == null) { return; } _path = new DirectoryInfo(_config.Location ?? Host.DataDirectory); _file = new FileInfo(Path.Combine(_path.FullName, _config.FileName)); }