Public .NET API ReferenceL5 Ecosystem CompositionUnpublishedAOT: Full

EricksonLopez.Ecosystem

Local-only composition root and cross-module dependency injection conventions (not yet published to GitHub or NuGet).

8 namespaces10 types50 membersGenerated from XML docs & assemblies · UTC 2026-12-01

Showing 10 of 10 types (50 members)

EricksonLopez.Ecosystem.DependencyInjection#

1
class

ServiceCollectionExtensions

Assembly: EricksonLopez.Ecosystem.DependencyInjection
public static class ServiceCollectionExtensions

Provides fluent extension methods for registering the authoritative EricksonLopez.* ecosystem into `IServiceCollection`.

Members (3)

  • methodAddEricksonLopezEcosystem
    public static IServiceCollection AddEricksonLopezEcosystem(this IServiceCollection services, Action<IEcosystemBuilder>? configure = null)

    Registers the standard EricksonLopez.* ecosystem composition root into the service collection.

    services: this IServiceCollection
    The target service collection.
    configure: Action<IEcosystemBuilder>?
    An optional configuration delegate for the ecosystem builder.

    Returns: The same service collection so that multiple calls can be chained.

    Exceptions: ArgumentNullException: Thrown when `services` is `null`

  • methodAddEricksonLopezEcosystem
    public static IServiceCollection AddEricksonLopezEcosystem(this IServiceCollection services, IConfiguration configuration, Action<IEcosystemBuilder>? configure = null)

    Registers the standard EricksonLopez.* ecosystem composition root into the service collection with host configuration binding.

    services: this IServiceCollection
    The target service collection.
    configuration: IConfiguration
    The host application configuration root.
    configure: Action<IEcosystemBuilder>?
    An optional configuration delegate for the ecosystem builder.

    Returns: The same service collection so that multiple calls can be chained.

    Exceptions: ArgumentNullException: Thrown when `services` or `configuration` is `null`

  • methodValidateEricksonLopezEcosystem
    public static IServiceCollection ValidateEricksonLopezEcosystem(this IServiceCollection services)

    Validates that the ecosystem composition root has been properly registered in the service collection.

    services: this IServiceCollection
    The service collection to inspect.

    Returns: The same service collection so that multiple calls can be chained.

    Exceptions: ArgumentNullException: Thrown when `services` is `null`; EcosystemInvariantException: Thrown when ecosystem registrations are absent or incomplete

EricksonLopez.Ecosystem.DependencyInjection.Builders#

1
interface

IEcosystemBuilder

Assembly: EricksonLopez.Ecosystem.DependencyInjection
public interface IEcosystemBuilder

Defines the authoritative composition builder contract for the EricksonLopez.* ecosystem.

Members (8)

  • methodConfigure
    IEcosystemBuilder Configure(Action<EcosystemOptions> configure)

    Configures core ecosystem options.

    configure: Action<EcosystemOptions>
    The configuration delegate.

    Returns: The ecosystem builder instance for chaining.

  • methodWithDiagnostics
    IEcosystemBuilder WithDiagnostics(Action<IEcosystemDiagnosticsBuilder> configure)

    Configures diagnostics, observability telemetry, and invariant health reporting.

    configure: Action<IEcosystemDiagnosticsBuilder>
    The diagnostics configuration delegate.

    Returns: The ecosystem builder instance for chaining.

  • methodWithPersistence
    IEcosystemBuilder WithPersistence(Action<IEcosystemPersistenceBuilder> configure)

    Configures persistence, transactional unit of work, concurrency, and idempotency.

    configure: Action<IEcosystemPersistenceBuilder>
    The persistence configuration delegate.

    Returns: The ecosystem builder instance for chaining.

  • methodWithResilience
    IEcosystemBuilder WithResilience(Action<IEcosystemResilienceBuilder> configure)

    Configures resilience and fault tolerance pipelines (timeouts, retries, circuit breakers).

    configure: Action<IEcosystemResilienceBuilder>
    The resilience configuration delegate.

    Returns: The ecosystem builder instance for chaining.

  • methodWithSecurity
    IEcosystemBuilder WithSecurity(Action<IEcosystemSecurityBuilder> configure)

    Configures security capabilities (key stores, secret stores, zero-trust contracts).

    configure: Action<IEcosystemSecurityBuilder>
    The security configuration delegate.

    Returns: The ecosystem builder instance for chaining.

  • propertyConfiguration
    IConfiguration? Configuration { get; }

    Gets the optional host configuration root.

  • propertyOptions
    EcosystemOptions Options { get; }

    Gets the active ecosystem options.

  • propertyServices
    IServiceCollection Services { get; }

    Gets the underlying service collection being configured.

EricksonLopez.Ecosystem.DependencyInjection.Diagnostics#

3
class

EcosystemReport

Assembly: EricksonLopez.Ecosystem.DependencyInjection
public sealed class EcosystemReport : IEcosystemReport
Implements: IEcosystemReport

Implements `IEcosystemReport` providing diagnostic state for the bootstrapped ecosystem.

Members (6)

  • constructorEcosystemReport
    public EcosystemReport(string applicationName, string environment, DateTimeOffset bootstrappedAtUtc, IEnumerable<string> capabilities)

    Initializes a new instance of the `EcosystemReport` class.

    applicationName: string
    The application name.
    environment: string
    The environment.
    bootstrappedAtUtc: DateTimeOffset
    The bootstrap timestamp.
    capabilities: IEnumerable<string>
    The registered capabilities collection.
  • methodHasCapability
    public bool HasCapability(string capabilityName)

    Determines whether a specific capability is registered in the ecosystem.

    capabilityName: string
    The name of the capability to check.

    Returns: `true` if the capability is registered; otherwise, `false`.

  • propertyApplicationName
    public string ApplicationName { get; }

    Gets the application name configured for the ecosystem.

  • propertyBootstrappedAtUtc
    public DateTimeOffset BootstrappedAtUtc { get; }

    Gets the UTC timestamp when the ecosystem was bootstrapped.

  • propertyEnvironment
    public string Environment { get; }

    Gets the environment identifier configured for the ecosystem.

  • propertyRegisteredCapabilities
    public IReadOnlyCollection<string> RegisteredCapabilities { get; }

    Gets the list of registered capability identifiers (e.g. "Security", "Resilience", "Persistence").

interface

IEcosystemDiagnosticsBuilder

Assembly: EricksonLopez.Ecosystem.DependencyInjection
public interface IEcosystemDiagnosticsBuilder

Configures observability, metrics, and health diagnostics within the EricksonLopez.* ecosystem composition root.

Members (4)

  • methodEnableOpenTelemetry
    IEcosystemDiagnosticsBuilder EnableOpenTelemetry()

    Enables OpenTelemetry meter integration and activity sources across all registered subsystems.

    Returns: The builder instance for method chaining.

  • methodWithCapability
    IEcosystemDiagnosticsBuilder WithCapability(string name)

    Adds a named custom capability or subsystem identifier to the diagnostics registry.

    name: string
    The name of the custom capability.

    Returns: The builder instance for method chaining.

  • propertyConfiguration
    IConfiguration? Configuration { get; }

    Gets the optional host configuration.

  • propertyServices
    IServiceCollection Services { get; }

    Gets the service collection being configured.

interface

IEcosystemReport

Assembly: EricksonLopez.Ecosystem.DependencyInjection
public interface IEcosystemReport

Provides an authoritative diagnostic snapshot of registered EricksonLopez.* ecosystem subsystems and capabilities.

Members (5)

  • methodHasCapability
    bool HasCapability(string capabilityName)

    Determines whether a specific capability is registered in the ecosystem.

    capabilityName: string
    The name of the capability to check.

    Returns: `true` if the capability is registered; otherwise, `false`.

  • propertyApplicationName
    string ApplicationName { get; }

    Gets the application name configured for the ecosystem.

  • propertyBootstrappedAtUtc
    DateTimeOffset BootstrappedAtUtc { get; }

    Gets the UTC timestamp when the ecosystem was bootstrapped.

  • propertyEnvironment
    string Environment { get; }

    Gets the environment identifier configured for the ecosystem.

  • propertyRegisteredCapabilities
    IReadOnlyCollection<string> RegisteredCapabilities { get; }

    Gets the list of registered capability identifiers (e.g. "Security", "Resilience", "Persistence").

EricksonLopez.Ecosystem.DependencyInjection.Options#

1
class

EcosystemOptions

Assembly: EricksonLopez.Ecosystem.DependencyInjection
public sealed class EcosystemOptions

Defines authoritative configuration options for the EricksonLopez.* ecosystem composition root.

Members (5)

  • propertyApplicationName
    public string ApplicationName { get; set; }

    Gets or sets the logical name of the consuming application or microservice. Default is "EricksonLopez.Application".

  • propertyEnableDiagnostics
    public bool EnableDiagnostics { get; set; }

    Gets or sets a value indicating whether ecosystem diagnostics and registration telemetry are enabled. Default is `true`.

  • propertyEnvironment
    public string Environment { get; set; }

    Gets or sets the target environment (e.g., "Development", "Staging", "Production"). Default is "Production".

  • propertyMetadata
    public IDictionary<string, string> Metadata { get; }

    Gets custom metadata dictionary for specialized subsystem bootstrapping.

  • propertyValidateOnBuild
    public bool ValidateOnBuild { get; set; }

    Gets or sets a value indicating whether ecosystem invariants are automatically validated during composition. When `true`, missing mandatory contracts trigger an immediate configuration exception. Default is `true`.

EricksonLopez.Ecosystem.DependencyInjection.Persistence#

1
interface

IEcosystemPersistenceBuilder

Assembly: EricksonLopez.Ecosystem.DependencyInjection
public interface IEcosystemPersistenceBuilder

Configures transactional persistence, concurrency, and idempotency capabilities within the EricksonLopez.* ecosystem.

Members (6)

  • methodWithDistributedLock
    IEcosystemPersistenceBuilder WithDistributedLock()

    Enables distributed lock synchronization leases.

    Returns: The builder instance for method chaining.

  • methodWithIdempotency
    IEcosystemPersistenceBuilder WithIdempotency(string? keyPrefix = null)

    Enables idempotency filtering to guarantee exactly-once execution semantics.

    keyPrefix: string?
    An optional key prefix for idempotency record namespacing.

    Returns: The builder instance for method chaining.

  • methodWithOptimisticConcurrency
    IEcosystemPersistenceBuilder WithOptimisticConcurrency()

    Enables optimistic concurrency conflict resolution and version verification.

    Returns: The builder instance for method chaining.

  • methodWithTransactionManagement
    IEcosystemPersistenceBuilder WithTransactionManagement()

    Enables transactional unit-of-work coordination.

    Returns: The builder instance for method chaining.

  • propertyConfiguration
    IConfiguration? Configuration { get; }

    Gets the optional host configuration.

  • propertyServices
    IServiceCollection Services { get; }

    Gets the service collection being configured.

EricksonLopez.Ecosystem.DependencyInjection.Resilience#

1
interface

IEcosystemResilienceBuilder

Assembly: EricksonLopez.Ecosystem.DependencyInjection
public interface IEcosystemResilienceBuilder

Configures resilience and fault tolerance capabilities within the EricksonLopez.* ecosystem composition root.

Members (5)

  • methodWithCircuitBreaker
    IEcosystemResilienceBuilder WithCircuitBreaker(TimeSpan durationOfBreak)

    Configures circuit breaker break duration for cascading failure prevention.

    durationOfBreak: TimeSpan
    The break duration.

    Returns: The builder instance for method chaining.

  • methodWithDefaultTimeout
    IEcosystemResilienceBuilder WithDefaultTimeout(TimeSpan timeout)

    Configures the default execution timeout for resilient pipelines.

    timeout: TimeSpan
    The timeout duration.

    Returns: The builder instance for method chaining.

  • methodWithMaxRetryAttempts
    IEcosystemResilienceBuilder WithMaxRetryAttempts(int attempts)

    Configures the maximum number of retry attempts for transient faults.

    attempts: int
    The maximum retry attempts (must be positive).

    Returns: The builder instance for method chaining.

  • propertyConfiguration
    IConfiguration? Configuration { get; }

    Gets the optional host configuration.

  • propertyServices
    IServiceCollection Services { get; }

    Gets the service collection being configured.

EricksonLopez.Ecosystem.DependencyInjection.Security#

1
interface

IEcosystemSecurityBuilder

Assembly: EricksonLopez.Ecosystem.DependencyInjection
public interface IEcosystemSecurityBuilder

Configures enterprise security capabilities within the EricksonLopez.* ecosystem composition root.

Members (6)

  • methodUseDevelopmentStub
    IEcosystemSecurityBuilder UseDevelopmentStub()

    Configures the security subsystem to allow in-memory development stubs for testing and local development.

    Returns: The builder instance for method chaining.

  • methodWithKeyStore<TStore>
    IEcosystemSecurityBuilder WithKeyStore<TStore>() where TStore : class

    Registers a custom cryptographic key store implementation.

    Returns: The builder instance for method chaining.

    Type parameters: TStore: The key store type.

  • methodWithSecretPrefix
    IEcosystemSecurityBuilder WithSecretPrefix(string prefix)

    Configures an explicit secret prefix for key and secret store namespace isolation.

    prefix: string
    The prefix string.

    Returns: The builder instance for method chaining.

  • methodWithSecretStore<TStore>
    IEcosystemSecurityBuilder WithSecretStore<TStore>() where TStore : class

    Registers a custom secret store implementation.

    Returns: The builder instance for method chaining.

    Type parameters: TStore: The secret store type.

  • propertyConfiguration
    IConfiguration? Configuration { get; }

    Gets the optional host configuration.

  • propertyServices
    IServiceCollection Services { get; }

    Gets the service collection being configured.

EricksonLopez.Ecosystem.DependencyInjection.Validation#

1
class

EcosystemInvariantException

Assembly: EricksonLopez.Ecosystem.DependencyInjection
public sealed class EcosystemInvariantException : Exception
Inherits: Exception

Exception thrown when an authoritative architectural invariant of the EricksonLopez.* ecosystem is violated.

Members (2)

  • constructorEcosystemInvariantException
    public EcosystemInvariantException(string message)

    Initializes a new instance of the `EcosystemInvariantException` class with a specified error message.

    message: string
    The message that describes the invariant violation.
  • constructorEcosystemInvariantException
    public EcosystemInvariantException(string message, Exception innerException)

    Initializes a new instance of the `EcosystemInvariantException` class with a specified error message and a reference to the inner exception that is the cause of this exception.

    message: string
    The message that describes the invariant violation.
    innerException: Exception
    The inner exception that caused the violation.

Search EricksonLopez.* Ecosystem

Type a library name, NuGet package ID, .NET type, or architectural concept to search across the portal.