Struct DependencyContainerBuildMessages
- Namespace
- LfrlAnvil.Dependencies
- Assembly
- LfrlAnvil.Dependencies.dll
Represents a collection of errors and warnings associated with the specified ImplementorKey.
public readonly struct DependencyContainerBuildMessages
- Inherited Members
Constructors
DependencyContainerBuildMessages(ImplementorKey, Chain<string>, Chain<string>)
Creates a new DependencyContainerBuildMessages instance.
public DependencyContainerBuildMessages(ImplementorKey implementorKey, Chain<string> errors, Chain<string> warnings)
Parameters
implementorKey
ImplementorKeyImplementorKey associated with given errors and warnings.
errors
Chain<string>Collection of errors.
warnings
Chain<string>Collection of warnings.
Properties
Errors
Errors associated with ImplementorKey.
public Chain<string> Errors { get; }
Property Value
ImplementorKey
ImplementorKey instance.
public ImplementorKey ImplementorKey { get; }
Property Value
Warnings
Warnings associated with ImplementorKey.
public Chain<string> Warnings { get; }
Property Value
Methods
CreateErrors(ImplementorKey, Chain<string>)
Creates a new DependencyContainerBuildMessages instance.
[Pure]
public static DependencyContainerBuildMessages CreateErrors(ImplementorKey implementorKey, Chain<string> messages)
Parameters
implementorKey
ImplementorKeyImplementorKey associated with given errors.
messages
Chain<string>Collection of errors.
Returns
CreateWarnings(ImplementorKey, Chain<string>)
Creates a new DependencyContainerBuildMessages instance.
[Pure]
public static DependencyContainerBuildMessages CreateWarnings(ImplementorKey implementorKey, Chain<string> messages)
Parameters
implementorKey
ImplementorKeyImplementorKey associated with given warnings.
messages
Chain<string>Collection of warnings.