Class TitleConfigurationManagerBase
Inheritance
TitleConfigurationManagerBase
Implements
Inherited Members
Namespace: CrashCABN.TitleConfiguration
Assembly: CrashCABN.TitleConfiguration.dll
Syntax
public record TitleConfigurationManagerBase : TitleDalBase, IEquatable<BlobDalBase>, IEquatable<TitleDalBase>, IEquatable<TitleConfigurationManagerBase>
Constructors
View SourceTitleConfigurationManagerBase(IAzureBlobProvider)
Declaration
public TitleConfigurationManagerBase(IAzureBlobProvider AzureBlobProvider)
Parameters
Type | Name | Description |
---|---|---|
IAzureBlobProvider | AzureBlobProvider |
Methods
View SourceUploadConfigFile(string, string, string, Func<string>)
Uploads a config file, if possible to do so without creating a copy of an existing config file with different casing.
Declaration
protected Task UploadConfigFile(string configType, string configFile, string titleName, Func<string> getContents)
Parameters
Type | Name | Description |
---|---|---|
string | configType | The config file type. |
string | configFile | The config file name. |
string | titleName | The title name. |
Func<string> | getContents | The config contents to write. |
Returns
Type | Description |
---|---|
Task | Success |
Exceptions
Type | Condition |
---|---|
ConfigurationCasingException | Thrown if an existing config file matches the requested name, but with different casing. |
ConfigurationException | Thrown if the upload fails for any other reason. |