EricksonLopez.Result

dotnet-result · Manejo de Errores

En esta página (20 secciones)

1. Identidad, Nivel y Perfil de Madurez#

L0 Primitivas FundamentalesEstableMantenimiento: ActivoAOT: ParcialLicencia MITConfianza: HIGH
DomainApplicationnetstandard2.0net8.0net9.0net10.0

2. Propuesta de Valor y Problema que Resuelve#

A high-performance, zero-allocation Result Pattern ecosystem for modern .NET. Includes ASP.NET Core ProblemDetails, OpenTelemetry, MediatR, FluentValidation, and Roslyn Analyzer integrations.

Lanzar excepciones para validaciones de dominio o resultados esperados oculta el flujo de control en las firmas e introduce asignaciones por captura de stack trace.

3. Instalación Rápida#

Paquete principal: EricksonLopez.Result

dotnet add package EricksonLopez.Result --version 3.0.0
También publicado en esta familia:
EricksonLopez.Result.FluentValidationEricksonLopez.Result.TestingEricksonLopez.Result.Testing.XUnitEricksonLopez.Result.OpenTelemetryEricksonLopez.Result.SerializationEricksonLopez.Result.AspNetCore

4. Métricas Verificadas del Ecosistema#

v3.0.0
Versión Publicada en NuGet
v3.2.0
Versión HEAD del Repo
24,720
Descargas en NuGet
20
Paquetes Empaquetables
878
Miembros Públicos de API
425
Filas Benchmark (RyuJIT)

Instantánea recuperada UTC: 2026-12-01

5. Cuándo Usar y Cuándo NO Usar#

Cuándo usar

  • Quieres contratos explícitos Result y Result<TValue> entre Domain, Application y endpoints HTTP.
  • Buscas estructuras sin asignación en rutas exitosas, pipelines TState sin closures y mapeo RFC 9457 ProblemDetails en ASP.NET Core.

Cuándo NO usar

  • Manejas fallos de infraestructura irrecuperables donde corresponde abortar o usar middleware global de excepciones.

6. Capacidades Principales e Invariantes de Diseño#

Result en Struct y Taxonomía de Error

Result y Result<TValue> como readonly struct junto a ErrorType, ErrorSeverity y ErrorRetryability.

Pipelines TState Sin Closures

Map, Bind, Ensure, TapOnSuccess, TapOnFailure y Match ofrecen sobrecargas TState y Combine respaldado por ArrayPool.

Analizadores Roslyn y Adaptadores

Incluye analizadores Roslyn (RESULT001/RESULT004) y adaptadores para AspNetCore, FluentValidation, MediatR, EF Core, Dapr y Polly.

7. Paquetes NuGet y Adaptadores Incluidos#

ID del PaqueteEstadoNuGet / LocalTFMsEstado AOTDescargasDescripción
EricksonLopez.ResultPrincipalPublicadov3.0.0 / v3.2.0netstandard2.0, net8.0, net9.0, net10.0AOT: Completo17,193An ultra-high performance, struct-based, enterprise-grade Result pattern implementation for modern .NET.
EricksonLopez.Result.FluentValidationPublicadov3.0.0 / v3.2.0net8.0, net9.0, net10.0AOT: Completo1,374FluentValidation integration for EricksonLopez.Result. Converts FluentValidation.ValidationResult to Result failures with structured error metadata.
EricksonLopez.Result.TestingPublicadov3.0.0 / v3.2.0net8.0, net9.0, net10.0AOT: Completo601Testing assertions and helper utilities for EricksonLopez.Result.
EricksonLopez.Result.Testing.XUnitPublicadov3.0.0 / v3.2.0net8.0, net9.0, net10.0AOT: Incompatible600xUnit-specific testing helpers for EricksonLopez.Result. Provides ResultAssertionXUnitException which inherits from Xunit.Sdk.XunitException so failed assertions appear as "Failure" (not "Error") in xUnit's test output, producing cleaner assertion messages without unnecessary stack traces.
EricksonLopez.Result.OpenTelemetryPublicadov3.0.0 / v3.2.0net8.0, net9.0, net10.0AOT: Completo473OpenTelemetry ActivitySource tracing and Metrics integration for EricksonLopez.Result.
EricksonLopez.Result.SerializationPublicadov3.0.0 / v3.2.0netstandard2.0, net8.0, net9.0, net10.0AOT: Incompatible473System.Text.Json serialization support and JsonConverters for EricksonLopez.Result.
EricksonLopez.Result.AspNetCorePublicadov3.0.0 / v3.2.0net8.0, net9.0, net10.0AOT: Completo471ASP.NET Core integration for EricksonLopez.Result providing ProblemDetails RFC 9457 formatting and Minimal API endpoint filters.
EricksonLopez.Result.MediatRPublicadov3.0.0 / v3.2.0net8.0, net9.0, net10.0AOT: Incompatible451[INTEROP / COMPATIBILITY BRIDGE] MediatR pipeline behavior integration for EricksonLopez.Result. Provides Result-aware validation and exception handling behaviors for legacy MediatR applications.
EricksonLopez.Result.Testing.NUnitPublicadov3.0.0 / v3.2.0net8.0, net9.0, net10.0AOT: Incompatible451NUnit-specific testing helpers for EricksonLopez.Result. Provides ResultAssertionNUnitException which inherits from NUnit's AssertionException so failed assertions appear correctly in NUnit's test output.
EricksonLopez.Result.OpenApiPublicadov3.0.0 / v3.2.0net8.0, net9.0, net10.0AOT: Completo308OpenAPI / Swagger schema generators and response transformers for EricksonLopez.Result and RFC 9457 ProblemDetails.
EricksonLopez.Result.GenericPublicadov3.0.0 / v3.2.0net8.0, net9.0, net10.0AOT: Completo275Strongly-typed Result<TValue, TError> with compile-time error types for strict domain model pipelines in modern .NET.
EricksonLopez.Result.MaybePublicadov3.0.0 / v3.2.0net8.0, net9.0, net10.0AOT: Completo269High-performance struct-based Maybe<T> option type for DDD repositories and query layers with seamless EricksonLopez.Result interop.
EricksonLopez.Result.EntityFrameworkCorePublicadov3.0.0 / v3.2.0net8.0, net9.0, net10.0AOT: Completo153Entity Framework Core integration for EricksonLopez.Result. Converts DbContext and IQueryable operations to Result with structured error taxonomy mapping.
EricksonLopez.Result.GrpcPublicadov3.0.0 / v3.2.0net8.0, net9.0, net10.0AOT: Completo151gRPC integration for EricksonLopez.Result. Bridges gRPC unary calls with Result envelopes, provides automatic StatusCode mapping from ErrorType, and propagates rich error metadata trailers.
EricksonLopez.Result.MassTransitPublicadov3.0.0 / v3.2.0net8.0, net9.0, net10.0AOT: Incompatible148MassTransit pipeline integration for EricksonLopez.Result. Translates domain Result failures into structured message bus faults.
EricksonLopez.Result.DaprPublicadov3.0.0 / v3.2.0net8.0, net9.0, net10.0AOT: Completo145Dapr integration for EricksonLopez.Result. Bridges Dapr state store optimistic concurrency and Pub/Sub TopicEventResponse with Result envelopes and ErrorRetryability.
EricksonLopez.Result.PollyPublicadov3.0.0 / v3.2.0net8.0, net9.0, net10.0AOT: Completo138Polly v8 resilience pipeline integration for EricksonLopez.Result. Bridges ResiliencePipeline with ErrorRetryability for exception-free, zero-allocation retries and circuit breakers.
EricksonLopez.Result.AnalyzersAnalizador / GeneradorPublicadov3.0.0 / v3.2.0netstandard2.0AOT: N/A (Analizador/Legado)469Roslyn analyzers and code fixes for EricksonLopez.Result: detects closure allocations in Result pipelines (RESULT004), discarded ErrorBuilder return values with auto-fix (RESULT003), oversized Result value types (RESULT001), chained Error.WithMetadata() allocations (RESULT005), chained ErrorBuilder.WithInnerError() patterns (RESULT006), HashSet<Error>/Dictionary<Error,...> and LINQ Distinct/GroupBy/ToHashSet without ErrorEqualityComparer.Strict (RESULT007), endpoint filter OpenAPI degradation (RESULT008), ResultHttpOptions.IncludeDescription=true without environment guard (RESULT009 - security), default Result returns (RESULT012), and implicit bool conversion in conditionals with auto-fix (RESULT013).
EricksonLopez.Result.Serialization.GeneratorsAnalizador / GeneradorPublicadov3.0.0 / v3.2.0netstandard2.0AOT: N/A (Analizador/Legado)435Roslyn source generator for AOT-compatible Result<T> JSON serialization. Eliminates reflection-based MakeGenericType/Activator.CreateInstance usage.
EricksonLopez.Result.DomainErrors.GeneratorsAnalizador / GeneradorPublicadov3.0.0 / v3.2.0netstandard2.0AOT: N/A (Analizador/Legado)142Roslyn incremental source generator producing strongly-typed domain error factory classes from .errors.json declarations.

8. Ejemplo Quick Start#

Basado en APIs públicas verificadas de EricksonLopez.Result. Compila con `<ImplicitUsings>disable</ImplicitUsings>` e importaciones explícitas.

using System;
using EricksonLopez.Result;

public static class UserErrors
{
    public static Error NotFound(Guid id) =>
        Error.NotFound("User.NotFound", $"User with ID '{id}' was not found.");

    public static readonly Error Suspended =
        Error.Forbidden("User.Suspended", "User account has been suspended.")
             .WithRetryability(ErrorRetryability.Permanent);
}

public static class AccountService
{
    public static Result<string> ResolveAccount(bool exists, bool suspended, Guid id) =>
        Result.Success(id)
            .Ensure(_ => exists, UserErrors.NotFound(id))
            .Ensure(_ => !suspended, UserErrors.Suspended)
            .Map(static userId => $"active:{userId}");
}

9. Arquitectura y Flujo de Dependencias#

flowchart LR
  lib_result["EricksonLopez.Result (L0)"]
  lib_specification["EricksonLopez.Specification (L1)"]
  lib_specification -.-> lib_result
  lib_value_objects["EricksonLopez.ValueObjects (L1)"]
  lib_value_objects --> lib_result
  lib_caching["EricksonLopez.Caching (L2)"]
  lib_caching --> lib_result
  lib_concurrency["EricksonLopez.Concurrency (L2)"]
  lib_concurrency -.-> lib_result
  lib_distributedlock["EricksonLopez.DistributedLock (L2)"]
  lib_distributedlock --> lib_result
  lib_idempotency["EricksonLopez.Idempotency (L2)"]
  lib_idempotency -.-> lib_result
  lib_mapper["EricksonLopez.Mapper (L2)"]
  lib_mapper -.-> lib_result
  lib_mediator["EricksonLopez.Mediator (L2)"]
  lib_mediator -.-> lib_result
  lib_multitenancy["EricksonLopez.MultiTenancy (L2)"]
  lib_multitenancy --> lib_result
  lib_observability["EricksonLopez.Observability (L2)"]
  lib_observability --> lib_result
  lib_pagination["EricksonLopez.Pagination (L2)"]
  lib_pagination -.-> lib_result
  lib_ratelimiting["EricksonLopez.RateLimiting (L2)"]
  lib_ratelimiting --> lib_result
  lib_resilience["EricksonLopez.Resilience (L2)"]
  lib_resilience -.-> lib_result
  lib_transaction["EricksonLopez.Transaction (L2)"]
  lib_transaction -.-> lib_result
  lib_messaging["EricksonLopez.Messaging (L3)"]
  lib_messaging --> lib_result
  lib_outbox["EricksonLopez.Outbox (L3)"]
  lib_outbox -.-> lib_result
  lib_printing["EricksonLopez.Printing (L3)"]
  lib_printing --> lib_result
  lib_security["EricksonLopez.Security (L3)"]
  lib_security --> lib_result
  lib_sql_builder["EricksonLopez.SqlBuilder (L3)"]
  lib_sql_builder --> lib_result
  lib_webhooks["EricksonLopez.Webhooks (L3)"]
  lib_webhooks --> lib_result
  lib_xml["EricksonLopez.Xml (L3)"]
  lib_xml --> lib_result
Topología de Dependencias de EricksonLopez.Result0 dependencias hacia librerías aguas arriba y 21 librerías dependientes aguas abajo verificadas en dependencies.json.
Ver descripción textual y tabla accesible

0 dependencias hacia librerías aguas arriba y 21 librerías dependientes aguas abajo verificadas en dependencies.json.

DirecciónLibreríaNivelTipos de Relación
Aguas abajoEricksonLopez.SpecificationL1Adaptador, Paquete NuGet
Aguas abajoEricksonLopez.ValueObjectsL1Tiempo de compilación, Paquete NuGet
Aguas abajoEricksonLopez.CachingL2Adaptador, Tiempo de compilación, Paquete NuGet
Aguas abajoEricksonLopez.ConcurrencyL2Adaptador, Paquete NuGet
Aguas abajoEricksonLopez.DistributedLockL2Tiempo de compilación, Paquete NuGet
Aguas abajoEricksonLopez.IdempotencyL2Adaptador, Paquete NuGet
Aguas abajoEricksonLopez.MapperL2Adaptador, Paquete NuGet
Aguas abajoEricksonLopez.MediatorL2Adaptador, Paquete NuGet
Aguas abajoEricksonLopez.MultiTenancyL2Tiempo de compilación, Paquete NuGet
Aguas abajoEricksonLopez.ObservabilityL2Tiempo de compilación
Aguas abajoEricksonLopez.PaginationL2Adaptador, Paquete NuGet
Aguas abajoEricksonLopez.RateLimitingL2Tiempo de compilación, Paquete NuGet
Aguas abajoEricksonLopez.ResilienceL2Adaptador, Paquete NuGet
Aguas abajoEricksonLopez.TransactionL2Adaptador, Paquete NuGet
Aguas abajoEricksonLopez.MessagingL3Tiempo de compilación, Paquete NuGet
Aguas abajoEricksonLopez.OutboxL3Adaptador, Paquete NuGet
Aguas abajoEricksonLopez.PrintingL3Tiempo de compilación, Paquete NuGet
Aguas abajoEricksonLopez.SecurityL3Adaptador, Tiempo de compilación, Paquete NuGet
Aguas abajoEricksonLopez.SqlBuilderL3Tiempo de compilación, Paquete NuGet
Aguas abajoEricksonLopez.WebhooksL3Tiempo de compilación, Paquete NuGet
Aguas abajoEricksonLopez.XmlL3Tiempo de compilación, Paquete NuGet
flowchart LR
  lib_result["EricksonLopez.Result (L0)"]
  lib_specification["EricksonLopez.Specification (L1)"]
  lib_specification -.-> lib_result
  lib_value_objects["EricksonLopez.ValueObjects (L1)"]
  lib_value_objects --> lib_result
  lib_caching["EricksonLopez.Caching (L2)"]
  lib_caching --> lib_result
  lib_concurrency["EricksonLopez.Concurrency (L2)"]
  lib_concurrency -.-> lib_result
  lib_distributedlock["EricksonLopez.DistributedLock (L2)"]
  lib_distributedlock --> lib_result
  lib_idempotency["EricksonLopez.Idempotency (L2)"]
  lib_idempotency -.-> lib_result
  lib_mapper["EricksonLopez.Mapper (L2)"]
  lib_mapper -.-> lib_result
  lib_mediator["EricksonLopez.Mediator (L2)"]
  lib_mediator -.-> lib_result
  lib_multitenancy["EricksonLopez.MultiTenancy (L2)"]
  lib_multitenancy --> lib_result
  lib_observability["EricksonLopez.Observability (L2)"]
  lib_observability --> lib_result
  lib_pagination["EricksonLopez.Pagination (L2)"]
  lib_pagination -.-> lib_result
  lib_ratelimiting["EricksonLopez.RateLimiting (L2)"]
  lib_ratelimiting --> lib_result
  lib_resilience["EricksonLopez.Resilience (L2)"]
  lib_resilience -.-> lib_result
  lib_transaction["EricksonLopez.Transaction (L2)"]
  lib_transaction -.-> lib_result
  lib_messaging["EricksonLopez.Messaging (L3)"]
  lib_messaging --> lib_result
  lib_outbox["EricksonLopez.Outbox (L3)"]
  lib_outbox -.-> lib_result
  lib_printing["EricksonLopez.Printing (L3)"]
  lib_printing --> lib_result
  lib_security["EricksonLopez.Security (L3)"]
  lib_security --> lib_result
  lib_sql_builder["EricksonLopez.SqlBuilder (L3)"]
  lib_sql_builder --> lib_result
  lib_webhooks["EricksonLopez.Webhooks (L3)"]
  lib_webhooks --> lib_result
  lib_xml["EricksonLopez.Xml (L3)"]
  lib_xml --> lib_result

10. Target Frameworks y Matriz Native AOT / Trimming#

Inspección MSBuild `.csproj` sobre 20 paquetes: 12 Full, 0 Partial, 5 Incompatible, 3 NotApplicable (analizadores/generadores).

ID del PaqueteIsAotCompatibleEnableTrimAnalyzerEstado AOT VerificadoTarget Frameworks
EricksonLopez.ResulttruetrueFullnetstandard2.0, net8.0, net9.0, net10.0
EricksonLopez.Result.FluentValidationtruetrueFullnet8.0, net9.0, net10.0
EricksonLopez.Result.TestingtruetrueFullnet8.0, net9.0, net10.0
EricksonLopez.Result.Testing.XUnitfalsetrueIncompatiblenet8.0, net9.0, net10.0
EricksonLopez.Result.OpenTelemetrytruetrueFullnet8.0, net9.0, net10.0
EricksonLopez.Result.SerializationfalsefalseIncompatiblenetstandard2.0, net8.0, net9.0, net10.0
EricksonLopez.Result.AspNetCoretruetrueFullnet8.0, net9.0, net10.0
EricksonLopez.Result.MediatRfalsefalseIncompatiblenet8.0, net9.0, net10.0
EricksonLopez.Result.Testing.NUnitfalsetrueIncompatiblenet8.0, net9.0, net10.0
EricksonLopez.Result.OpenApitruetrueFullnet8.0, net9.0, net10.0
EricksonLopez.Result.GenerictruetrueFullnet8.0, net9.0, net10.0
EricksonLopez.Result.MaybetruetrueFullnet8.0, net9.0, net10.0
EricksonLopez.Result.EntityFrameworkCoretruetrueFullnet8.0, net9.0, net10.0
EricksonLopez.Result.GrpctruetrueFullnet8.0, net9.0, net10.0
EricksonLopez.Result.MassTransitfalsetrueIncompatiblenet8.0, net9.0, net10.0
EricksonLopez.Result.DaprtruetrueFullnet8.0, net9.0, net10.0
EricksonLopez.Result.PollytruetrueFullnet8.0, net9.0, net10.0
EricksonLopez.Result.AnalyzersnullnullNotApplicablenetstandard2.0
EricksonLopez.Result.Serialization.GeneratorsnullnullNotApplicablenetstandard2.0
EricksonLopez.Result.DomainErrors.GeneratorsnullnullNotApplicablenetstandard2.0

11. Dependencias Aguas Arriba y Dependientes Aguas Abajo#

Dependencias Aguas Arriba (0)

Cero dependencias cruzadas aguas arriba (nodo fundacional).

Dependientes Aguas Abajo (21)

12. Adaptadores Opcionales e Integraciones Externas#

Aristas de Adaptadores Internos y Paquetes de Integración

Dependencias NuGet Externas Verificadas (19)

Dapr.AspNetCoreDapr.ClientFluentValidationGrpc.AspNetCore.ServerGrpc.Core.ApiMassTransit.AbstractionsMediatRMicrosoft.Bcl.HashCodeMicrosoft.EntityFrameworkCoreMicrosoft.Extensions.DependencyInjection.AbstractionsNUnitPolly.CoreSystem.Collections.ImmutableSystem.Diagnostics.DiagnosticSourceSystem.MemorySystem.Runtime.CompilerServices.UnsafeSystem.Text.JsonSystem.Threading.Tasks.Extensionsxunit.v3.assert

13. Resumen de Configuración y Registro en DI#

Puntos de Entrada DI y Configuración Verificados

  • Result.MapError

    Transforms the error of a failed result using the provided `mapper`. Returns the same success result unchanged.

  • Result.MapError<TState>

    Transforms the error of a failed result using the provided `mapper` and captured state. Returns the same success result unchanged.

  • Result.MapFailure<TOut>

    Maps a failure `Error` to a value of type `TOut`, or returns `successDefault` when this result is successful.

  • Result.MapFailure<TState, TOut>

    Maps a failure `Error` to a value of type `TOut` using captured `state` to avoid closure allocation. Returns `successDefault` when this result is successful.

  • ResultExtensions.MapError

    Transforms the inner error of the asynchronous result if in a failure state.

  • ResultExtensions.MapError<T>

    Transforms the inner error of the asynchronous result if in a failure state.

  • ResultExtensions.MapError<TState, T>

    Transforms the inner error of the asynchronous result if in a failure state.

  • ResultExtensions.MapError<TState>

    Transforms the inner error of the asynchronous result if in a failure state.

  • ResultExtensions.MapFailure<T, TOut>

    Maps a failure error into `TOut` using `onFailure`, or returns `successDefault` when the result is successful. Async overload for `Task<Result<T>>` pipelines.

  • ResultExtensions.MapFailure<TOut>

    Maps a failure error into `TOut` using `onFailure`, or returns `successDefault` when the result is successful. Async overload for `Task<Result>` pipelines.

  • ResultExtensions.MapFailure<TState, T, TOut>

    Maps a failure error into `TOut` using captured state to avoid closure allocations. Async overload for `Task<Result<T>>` pipelines.

  • ResultExtensions.MapFailure<TState, TOut>

    Maps a failure error into `TOut` using captured state to avoid closure allocations. Async overload for `Task<Result>` pipelines.

Tipos Públicos y Contratos Clave

  • EricksonLopez.Result.Error (class)

    Represents a structured, immutable domain error with support for deep equality, metadata, retryability, and distributed tracing.

  • EricksonLopez.Result.ErrorBuilder (struct)

    Represents a fluent, stack-allocated builder for constructing `Error` instances with multiple optional properties. The builder struct itself incurs no heap allocation; however, `ErrorBuilder.WithMetadata(string, object)` and `ErrorBuilder.WithInnerError(Error)` allocate heap nodes in the backing `ImmutableDictionary<T1, T2>` and `ImmutableArray<T>` respectively (O(log k) per entry for metadata). Prefer this over the `Error` constructor when setting more than two optional fields, or use `Error.ToBuilder` to create a modified copy of an existing `Error`.

  • EricksonLopez.Result.ErrorEqualityComparer (class)

    Provides `IEqualityComparer<T>` implementations for `Error`.

  • EricksonLopez.Result.ErrorRetryability (enum)

    Specifies whether an operation associated with an error can be retried.

  • EricksonLopez.Result.ErrorSeverity (enum)

    Specifies the severity level of an error.

  • EricksonLopez.Result.ErrorType (enum)

    Specifies the classification category and functional scope of an error.

  • EricksonLopez.Result.IResultFactory`1 (interface)

    Defines a compile-time factory contract for constructing strongly-typed failed result outcomes without runtime reflection or boxing inside generic pipeline behaviors.

  • EricksonLopez.Result.IResultOutcome (interface)

    Defines the foundational contract for all Result outcomes. Named IResultOutcome to avoid name collision with Microsoft.AspNetCore.Http.IResult.

  • EricksonLopez.Result.Result (struct)

    Partial declaration of `Result` providing aggregation and combination operations.

  • EricksonLopez.Result.ResultExtensions (class)

    Async extension methods for composing `Result` and `Result<T>` pipelines over `ValueTask`.

  • EricksonLopez.Result.ResultLinqExtensions (class)

    Provides LINQ extension support for `Result<TValue>` pipelines.

  • EricksonLopez.Result.ResultSyncExtensions (class)

    Provides high-performance synchronous extension methods for `Result<TValue>` that accept the struct by reference (`in`) to avoid copying large value types.

14. Benchmarks de Rendimiento Verificados#

Todas las mediciones verificadas provienen estrictamente de `BenchmarkDotNet.Artifacts` ejecutados sobre .NET RyuJIT (existen 0 ejecuciones NativeAOT en esta instantánea).

Filas totales: 425 · Medidos: 422 · NA / Error: 3 · Suites: 27

Runtimes observados: .NET 10.0.1 X64 RyuJIT x86-64-v3 · .NET 10.0.12 X64 RyuJIT x86-64-v3 · .NET 8.0.29 X64 RyuJIT x86-64-v4 · .NET 8.0.31 X64 RyuJIT x86-64-v3 · .NET 9.0.20 X64 RyuJIT x86-64-v3

CPUs observadas: 12th Gen Intel Core i7-12700K 3.60GHz, 1 CPU, 20 logical and 12 physical cores · AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores · AMD Ryzen 7 9800X3D 4.70GHz, 1 CPU, 8 logical and 8 physical cores

SuiteMétodoRuntimeMedia (ns)Asignado (B)Estado
CompetitorBenchmarksEricksonLopez_Success.NET 8.0.29 X64 RyuJIT x86-64-v400measured
CompetitorBenchmarksEricksonLopez_SuccessValue.NET 8.0.29 X64 RyuJIT x86-64-v400measured
CompetitorBenchmarksErrorOr_Success.NET 8.0.29 X64 RyuJIT x86-64-v400measured
CompetitorBenchmarksErrorOr_SuccessValue.NET 8.0.29 X64 RyuJIT x86-64-v400measured
CompetitorEqualityBenchmarksLightResults_GetHashCode.NET 8.0.29 X64 RyuJIT x86-64-v400measured
CompetitorGenericScalingBenchmarksEricksonLopez_Int.NET 8.0.29 X64 RyuJIT x86-64-v400measured
CompetitorGenericScalingBenchmarksLightResults_Int.NET 8.0.29 X64 RyuJIT x86-64-v400measured
CompetitorInspectionBenchmarksCSharpFunctionalExtensions_IsSuccess.NET 8.0.29 X64 RyuJIT x86-64-v400measured
CompetitorInspectionBenchmarksManagedCode_IsSuccess.NET 8.0.29 X64 RyuJIT x86-64-v400measured
CompetitorInspectionBenchmarksOneOf_IsT0.NET 8.0.29 X64 RyuJIT x86-64-v400measured
CompetitorInspectionBenchmarksRemora_IsSuccess.NET 8.0.29 X64 RyuJIT x86-64-v400measured
ResultConstructionBenchmarksFailure_NonGeneric.NET 10.0.12 X64 RyuJIT x86-64-v300measured
ResultConstructionBenchmarksFailure_NonGeneric.NET 9.0.20 X64 RyuJIT x86-64-v300measured
ResultConstructionBenchmarksImplicitConversion_Value.NET 10.0.12 X64 RyuJIT x86-64-v300measured
ResultConstructionBenchmarksSuccess_NonGeneric.NET 10.0.12 X64 RyuJIT x86-64-v300measured
ResultConstructionBenchmarksSuccess_NonGeneric.NET 9.0.20 X64 RyuJIT x86-64-v300measured
CompetitorInspectionBenchmarksErrorOr_IsError.NET 8.0.29 X64 RyuJIT x86-64-v400measured
CompetitorInspectionBenchmarksLightResults_IsSuccess.NET 8.0.29 X64 RyuJIT x86-64-v400measured
ResultConstructionBenchmarksFailure_Int.NET 10.0.12 X64 RyuJIT x86-64-v300measured
ResultConstructionBenchmarksImplicitConversion_Error.NET 10.0.12 X64 RyuJIT x86-64-v300measured
CompetitorConstructionBenchmarksManagedCode_Success.NET 8.0.29 X64 RyuJIT x86-64-v40.0010measured
CompetitorConstructionBenchmarksEricksonLopez_Success.NET 8.0.29 X64 RyuJIT x86-64-v40.0020measured
ResultConstructionBenchmarksSuccess_NonGeneric.NET 8.0.31 X64 RyuJIT x86-64-v30.0020measured
CompetitorInspectionBenchmarksEricksonLopez_IsSuccess.NET 8.0.29 X64 RyuJIT x86-64-v40.0030measured
CompetitorBenchmarksLanguageExt_SuccessValue.NET 8.0.29 X64 RyuJIT x86-64-v40.0060measured

15. Historial de Versiones y Estado NuGet vs Repositorio#

Desfase de versiones detectado: la última versión publicada en NuGet.org es v3.0.0, mientras el HEAD del repositorio local está en v3.2.0.

VersiónOrigenFecha de PublicaciónResumen
v3.0.0 ↗nuget2026-09-20Published EricksonLopez.Result 3.0.0 to NuGet.org.
v3.0.0 ↗github2026-09-20Ecosystem Packages in this release | Package | Version | |---------|---------| | `EricksonLopez.Result` | `3.0.0` | | `EricksonLopez.Result.Generic` | `3.0.0` | | `EricksonLopez.Result.Maybe` | `3.0.0` | | `EricksonLopez.Result.OpenApi` | `3.0.0` | | `EricksonLopez.Result.AspNetCore` | `3.0.0` | | `EricksonLopez.Result.OpenTelemetry` | `3.0.0` | | `EricksonLopez.Result.Serialization` | `3.0.0` ...
v2.0.0 ↗nuget2026-08-24Published EricksonLopez.Result 2.0.0 to NuGet.org.
v2.0.0 ↗github2026-08-24Ecosystem Packages in this release | Package | Version | |---------|---------| | `EricksonLopez.Result` | `2.0.0` | | `EricksonLopez.Result.Generic` | `2.0.0` | | `EricksonLopez.Result.Maybe` | `2.0.0` | | `EricksonLopez.Result.OpenApi` | `2.0.0` | | `EricksonLopez.Result.AspNetCore` | `2.0.0` | | `EricksonLopez.Result.OpenTelemetry` | `2.0.0` | | `EricksonLopez.Result.Serialization` | `2.0.0` ...
v1.0.0 ↗github2026-08-01Ecosystem Packages in this release | Package | Version | |---------|---------| | `EricksonLopez.Result` | `1.0.0` | | `EricksonLopez.Result.AspNetCore` | `1.0.0` | | `EricksonLopez.Result.OpenTelemetry` | `1.0.0` | | `EricksonLopez.Result.Serialization` | `1.0.0` | | `EricksonLopez.Result.Serialization.Generators` | `1.0.0` | | `EricksonLopez.Result.FluentValidation` | `1.0.0` | | `EricksonLope...
v1.0.0 ↗nuget2026-08-01Published EricksonLopez.Result 1.0.0 to NuGet.org.

Librerías en el mismo nivel, capa arquitectónica o vinculadas directamente mediante aristas de dependencia.

17. Documentación, API Reference y Enlaces del Portal#

Las páginas conceptuales por librería en Starlight se completan en M4; las páginas de API Reference en M3.2.

18. Repositorio Fuente, Licencia y Contribución#

Publicado bajo Licencia MIT. Todos los ensamblados cumplen los invariantes de compilación EricksonLopez.*: importaciones explícitas, firma fuerte (`EricksonLopez.snk`) y metadatos de autor en ASCII (`Erickson Lopez`).

19. Resolución de Problemas, Riesgos y Migración#

  • Los paquetes núcleo de Result tienen IsAotCompatible=true; adaptadores heredados como MediatR, FluentValidation y Newtonsoft.Json están marcados como Incompatible.
  • Desfase de versiones detectado: la última versión publicada en NuGet.org es v3.0.0, mientras el HEAD del repositorio local está en v3.2.0.

20. Evidencia de Calidad y Verificación#

Firma Fuerte (`EricksonLopez.snk`)
EricksonLopez.snk
`ImplicitUsings=disable`
disable
Extracción de Documentación XML
Verificado (20 namespaces, 83 tipos, 878 miembros)
Atributos MSBuild AOT / Trimming
12 Full / 0 Partial / 5 Incompatible / 3 N/A
Artefactos BenchmarkDotNet
425 total (422 measured, 3 na_error)

Límites Explícitos de Verificación y Alcance

  • Todas las mediciones verificadas provienen estrictamente de `BenchmarkDotNet.Artifacts` ejecutados sobre .NET RyuJIT (existen 0 ejecuciones NativeAOT en esta instantánea).

Buscar en el Ecosistema EricksonLopez.*

Escribe el nombre de una librería, ID de paquete NuGet, tipo .NET o concepto arquitectónico para buscar en el portal.