Table of Contents

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 ImplementorKey

ImplementorKey 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

Chain<string>

ImplementorKey

ImplementorKey instance.

public ImplementorKey ImplementorKey { get; }

Property Value

ImplementorKey

Warnings

Warnings associated with ImplementorKey.

public Chain<string> Warnings { get; }

Property Value

Chain<string>

Methods

CreateErrors(ImplementorKey, Chain<string>)

Creates a new DependencyContainerBuildMessages instance.

[Pure]
public static DependencyContainerBuildMessages CreateErrors(ImplementorKey implementorKey, Chain<string> messages)

Parameters

implementorKey ImplementorKey

ImplementorKey associated with given errors.

messages Chain<string>

Collection of errors.

Returns

DependencyContainerBuildMessages

New DependencyContainerBuildMessages instance.

CreateWarnings(ImplementorKey, Chain<string>)

Creates a new DependencyContainerBuildMessages instance.

[Pure]
public static DependencyContainerBuildMessages CreateWarnings(ImplementorKey implementorKey, Chain<string> messages)

Parameters

implementorKey ImplementorKey

ImplementorKey associated with given warnings.

messages Chain<string>

Collection of warnings.

Returns

DependencyContainerBuildMessages

New DependencyContainerBuildMessages instance.