Class PackageValidationArgs
- Namespace
- Datamine.MineTrustConnector.Core
- Assembly
- Datamine.MineTrustConnector.Core.dll
Exception indicating that package configuration was incorrect
public class PackageValidationArgs : EventArgs
- Inheritance
-
PackageValidationArgs
- Inherited Members
Constructors
PackageValidationArgs(string?, string?, string?, bool, IEnumerable<ValidationResult>)
Initializes a new instance of the PackageValidationArgs class.
public PackageValidationArgs(string? packageUID, string? filePath, string? displayName, bool enabled, IEnumerable<ValidationResult> validationResults)
Parameters
packageUID
string-
The package uid.
filePath
string-
The file path.
displayName
string-
The display name.
enabled
bool-
if set to
true
[enabled]. validationResults
IEnumerable<ValidationResult>-
The validation results.
Properties
DisplayName
Gets the display name.
public string? DisplayName { get; set; }
Property Value
- string
-
The display name.
Enabled
Gets a value indicating whether or not the package configuration is enabled.
public bool Enabled { get; set; }
Property Value
- bool
-
true
if enabled; otherwise,false
.
FilePath
Gets the file path.
public string? FilePath { get; set; }
Property Value
- string
-
The file path.
PackageUID
Gets the package UID.
public string? PackageUID { get; set; }
Property Value
- string
-
The package UID.
Methods
ContainsMemberName(string)
Determines whether validation failed for the specified member name.
public bool ContainsMemberName(string memberName)
Parameters
memberName
string-
Name of the member.
Returns
- bool
-
true
if [contains member name] [the specified member name]; otherwise,false
.