Class FlatMatchStrategy
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.GitHub
Assembly: Downlink.GitHub.dll
Syntax
public class FlatMatchStrategy : GitHubMatchStrategy, IMatchStrategy<Release>
Constructors
| Improve this Doc View SourceFlatMatchStrategy(IConfiguration, ILogger<FlatMatchStrategy>)
Declaration
public FlatMatchStrategy(IConfiguration config, ILogger<FlatMatchStrategy> logger)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Configuration.IConfiguration | config | |
Microsoft.Extensions.Logging.ILogger<FlatMatchStrategy> | logger |
Methods
| Improve this Doc View SourceMatchAsync(IEnumerable<Release>, VersionSpec)
Declaration
public override Task<IFileSource> MatchAsync(IEnumerable<Release> releases, VersionSpec version)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Octokit.Release> | releases | |
VersionSpec | version |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<IFileSource> |