Class LocalFileStorage
Inheritance
System.Object
LocalFileStorage
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Downlink.Local
Assembly: Downlink.Local.dll
Syntax
public class LocalFileStorage : IRemoteStorage
Constructors
| Improve this Doc View SourceLocalFileStorage(IConfiguration, IEnumerable<IPatternMatcher>, IEnumerable<LocalFileMatchStrategy>, ILogger<LocalFileStorage>)
Declaration
public LocalFileStorage(IConfiguration configuration, IEnumerable<IPatternMatcher> matchers, IEnumerable<LocalFileMatchStrategy> strategies, ILogger<LocalFileStorage> logger)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Configuration.IConfiguration | configuration | |
System.Collections.Generic.IEnumerable<IPatternMatcher> | matchers | |
System.Collections.Generic.IEnumerable<LocalFileMatchStrategy> | strategies | |
Microsoft.Extensions.Logging.ILogger<LocalFileStorage> | logger |
Properties
| Improve this Doc View SourceName
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Implements
Methods
| Improve this Doc View SourceGetFileAsync(VersionSpec)
Declaration
public Task<IFileSource> GetFileAsync(VersionSpec version)
Parameters
Type | Name | Description |
---|---|---|
VersionSpec | version |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<IFileSource> |