Class IncludeConfiguration
- Namespace
- Datamine.MineTrustConnector.Core
- Assembly
- Datamine.MineTrustConnector.Core.dll
Class defining the configuration which accompanies the inclusion of a particular file or files
[JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)]
public class IncludeConfiguration
- Inheritance
-
IncludeConfiguration
- Inherited Members
Constructors
IncludeConfiguration(IEnumerable<string>)
Initializes a new instance of the IncludeConfiguration class.
public IncludeConfiguration(IEnumerable<string> files)
Parameters
files
IEnumerable<string>-
The files.
IncludeConfiguration(string)
Initializes a new instance of the IncludeConfiguration class.
public IncludeConfiguration(string file)
Parameters
file
string-
The file.
Exceptions
Properties
Extensions
Gets or sets the extensions which are registered for this file or files.
[JsonIgnore]
public IEnumerable<string>? Extensions { get; set; }
Property Value
- IEnumerable<string>
-
The extensions.
Files
Gets or sets the files to which this configuration corresponds. Entries may use a wildcard at the start ('*')
[JsonIgnore]
public IEnumerable<string> Files { get; set; }
Property Value
- IEnumerable<string>
-
The files.
PackageUID
Gets the UID of the package to which this instance belongs.
[JsonIgnore]
public string? PackageUID { get; }
Property Value
- string
-
The package UID.
Retention
Gets or sets the retention policy that applies to this instance.
[JsonIgnore]
public RetentionPolicy? Retention { get; set; }
Property Value
- RetentionPolicy
-
The retention.
Tags
Gets or sets the tags which are explicitly defined for this file or files.
[JsonIgnore]
public IDictionary<string, string>? Tags { get; set; }
Property Value
- IDictionary<string, string>
-
The tags.
Operators
implicit operator IncludeConfiguration(string)
Performs an implicit conversion from string to IncludeConfiguration.
public static implicit operator IncludeConfiguration(string file)
Parameters
file
string-
The file.
Returns
- IncludeConfiguration
-
The result of the conversion.