Class TitleConfigurationFactory
Inheritance
TitleConfigurationFactory
Assembly: CrashCABN.TitleConfiguration.dll
Syntax
public sealed record TitleConfigurationFactory : TitleConfigurationManagerBase, IEquatable<BlobDalBase>, IEquatable<TitleDalBase>, IEquatable<TitleConfigurationManagerBase>, ITitleConfigurationFactory, IEquatable<TitleConfigurationFactory>
Constructors
View Source
TitleConfigurationFactory(IAzureBlobProvider, ILogger<TitleConfigurationFactory>, TitleConfigurationSchema)
Declaration
public TitleConfigurationFactory(IAzureBlobProvider AzureBlobProvider, ILogger<TitleConfigurationFactory> Logger, TitleConfigurationSchema Schema)
Parameters
Fields
View Source
ConfigFile
Declaration
public const string ConfigFile = "Config.json"
Field Value
Properties
View Source
Logger
Declaration
public ILogger<TitleConfigurationFactory> Logger { get; init; }
Property Value
View Source
Schema
Declaration
public TitleConfigurationSchema Schema { get; init; }
Property Value
Methods
View Source
ListTitleConfigurations()
Declaration
public IAsyncEnumerable<string> ListTitleConfigurations()
Returns
View Source
LoadTitleConfiguration(string)
Declaration
public Task<TitleConfiguration> LoadTitleConfiguration(string titleName)
Parameters
Type |
Name |
Description |
string |
titleName |
|
Returns
View Source
UploadTitleConfiguration(string, TitleConfiguration)
Declaration
public Task UploadTitleConfiguration(string titleName, TitleConfiguration config)
Parameters
Returns
Implements