EricksonLopez.Result
dotnet-result · Manejo de Errores
En esta página (20 secciones)
1. Identidad, Nivel y Perfil de Madurez#
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<PackageReference Include="EricksonLopez.Result" Version="3.0.0" /><PackageVersion Include="EricksonLopez.Result" Version="3.0.0" />4. Métricas Verificadas del Ecosistema#
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 Paquete | Estado | NuGet / Local | TFMs | Estado AOT | Descargas | Descripción |
|---|---|---|---|---|---|---|
| EricksonLopez.ResultPrincipal | Publicado | v3.0.0 / v3.2.0 | netstandard2.0, net8.0, net9.0, net10.0 | AOT: Completo | 17,193 | An ultra-high performance, struct-based, enterprise-grade Result pattern implementation for modern .NET. |
| EricksonLopez.Result.FluentValidation | Publicado | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Completo | 1,374 | FluentValidation integration for EricksonLopez.Result. Converts FluentValidation.ValidationResult to Result failures with structured error metadata. |
| EricksonLopez.Result.Testing | Publicado | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Completo | 601 | Testing assertions and helper utilities for EricksonLopez.Result. |
| EricksonLopez.Result.Testing.XUnit | Publicado | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Incompatible | 600 | xUnit-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.OpenTelemetry | Publicado | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Completo | 473 | OpenTelemetry ActivitySource tracing and Metrics integration for EricksonLopez.Result. |
| EricksonLopez.Result.Serialization | Publicado | v3.0.0 / v3.2.0 | netstandard2.0, net8.0, net9.0, net10.0 | AOT: Incompatible | 473 | System.Text.Json serialization support and JsonConverters for EricksonLopez.Result. |
| EricksonLopez.Result.AspNetCore | Publicado | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Completo | 471 | ASP.NET Core integration for EricksonLopez.Result providing ProblemDetails RFC 9457 formatting and Minimal API endpoint filters. |
| EricksonLopez.Result.MediatR | Publicado | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Incompatible | 451 | [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.NUnit | Publicado | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Incompatible | 451 | NUnit-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.OpenApi | Publicado | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Completo | 308 | OpenAPI / Swagger schema generators and response transformers for EricksonLopez.Result and RFC 9457 ProblemDetails. |
| EricksonLopez.Result.Generic | Publicado | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Completo | 275 | Strongly-typed Result<TValue, TError> with compile-time error types for strict domain model pipelines in modern .NET. |
| EricksonLopez.Result.Maybe | Publicado | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Completo | 269 | High-performance struct-based Maybe<T> option type for DDD repositories and query layers with seamless EricksonLopez.Result interop. |
| EricksonLopez.Result.EntityFrameworkCore | Publicado | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Completo | 153 | Entity Framework Core integration for EricksonLopez.Result. Converts DbContext and IQueryable operations to Result with structured error taxonomy mapping. |
| EricksonLopez.Result.Grpc | Publicado | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Completo | 151 | gRPC 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.MassTransit | Publicado | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Incompatible | 148 | MassTransit pipeline integration for EricksonLopez.Result. Translates domain Result failures into structured message bus faults. |
| EricksonLopez.Result.Dapr | Publicado | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Completo | 145 | Dapr integration for EricksonLopez.Result. Bridges Dapr state store optimistic concurrency and Pub/Sub TopicEventResponse with Result envelopes and ErrorRetryability. |
| EricksonLopez.Result.Polly | Publicado | v3.0.0 / v3.2.0 | net8.0, net9.0, net10.0 | AOT: Completo | 138 | Polly v8 resilience pipeline integration for EricksonLopez.Result. Bridges ResiliencePipeline with ErrorRetryability for exception-free, zero-allocation retries and circuit breakers. |
| EricksonLopez.Result.AnalyzersAnalizador / Generador | Publicado | v3.0.0 / v3.2.0 | netstandard2.0 | AOT: N/A (Analizador/Legado) | 469 | Roslyn 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 / Generador | Publicado | v3.0.0 / v3.2.0 | netstandard2.0 | AOT: N/A (Analizador/Legado) | 435 | Roslyn source generator for AOT-compatible Result<T> JSON serialization. Eliminates reflection-based MakeGenericType/Activator.CreateInstance usage. |
| EricksonLopez.Result.DomainErrors.GeneratorsAnalizador / Generador | Publicado | v3.0.0 / v3.2.0 | netstandard2.0 | AOT: N/A (Analizador/Legado) | 142 | Roslyn 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#
Renderizando diagrama…
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
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ón | Librería | Nivel | Tipos de Relación |
|---|---|---|---|
| Aguas abajo | EricksonLopez.Specification | L1 | Adaptador, Paquete NuGet |
| Aguas abajo | EricksonLopez.ValueObjects | L1 | Tiempo de compilación, Paquete NuGet |
| Aguas abajo | EricksonLopez.Caching | L2 | Adaptador, Tiempo de compilación, Paquete NuGet |
| Aguas abajo | EricksonLopez.Concurrency | L2 | Adaptador, Paquete NuGet |
| Aguas abajo | EricksonLopez.DistributedLock | L2 | Tiempo de compilación, Paquete NuGet |
| Aguas abajo | EricksonLopez.Idempotency | L2 | Adaptador, Paquete NuGet |
| Aguas abajo | EricksonLopez.Mapper | L2 | Adaptador, Paquete NuGet |
| Aguas abajo | EricksonLopez.Mediator | L2 | Adaptador, Paquete NuGet |
| Aguas abajo | EricksonLopez.MultiTenancy | L2 | Tiempo de compilación, Paquete NuGet |
| Aguas abajo | EricksonLopez.Observability | L2 | Tiempo de compilación |
| Aguas abajo | EricksonLopez.Pagination | L2 | Adaptador, Paquete NuGet |
| Aguas abajo | EricksonLopez.RateLimiting | L2 | Tiempo de compilación, Paquete NuGet |
| Aguas abajo | EricksonLopez.Resilience | L2 | Adaptador, Paquete NuGet |
| Aguas abajo | EricksonLopez.Transaction | L2 | Adaptador, Paquete NuGet |
| Aguas abajo | EricksonLopez.Messaging | L3 | Tiempo de compilación, Paquete NuGet |
| Aguas abajo | EricksonLopez.Outbox | L3 | Adaptador, Paquete NuGet |
| Aguas abajo | EricksonLopez.Printing | L3 | Tiempo de compilación, Paquete NuGet |
| Aguas abajo | EricksonLopez.Security | L3 | Adaptador, Tiempo de compilación, Paquete NuGet |
| Aguas abajo | EricksonLopez.SqlBuilder | L3 | Tiempo de compilación, Paquete NuGet |
| Aguas abajo | EricksonLopez.Webhooks | L3 | Tiempo de compilación, Paquete NuGet |
| Aguas abajo | EricksonLopez.Xml | L3 | Tiempo 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_result10. 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 Paquete | IsAotCompatible | EnableTrimAnalyzer | Estado AOT Verificado | Target Frameworks |
|---|---|---|---|---|
| EricksonLopez.Result | true | true | Full | netstandard2.0, net8.0, net9.0, net10.0 |
| EricksonLopez.Result.FluentValidation | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.Testing | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.Testing.XUnit | false | true | Incompatible | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.OpenTelemetry | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.Serialization | false | false | Incompatible | netstandard2.0, net8.0, net9.0, net10.0 |
| EricksonLopez.Result.AspNetCore | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.MediatR | false | false | Incompatible | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.Testing.NUnit | false | true | Incompatible | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.OpenApi | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.Generic | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.Maybe | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.EntityFrameworkCore | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.Grpc | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.MassTransit | false | true | Incompatible | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.Dapr | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.Polly | true | true | Full | net8.0, net9.0, net10.0 |
| EricksonLopez.Result.Analyzers | null | null | NotApplicable | netstandard2.0 |
| EricksonLopez.Result.Serialization.Generators | null | null | NotApplicable | netstandard2.0 |
| EricksonLopez.Result.DomainErrors.Generators | null | null | NotApplicable | netstandard2.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
- EricksonLopez.Caching→ EricksonLopez.Result
- EricksonLopez.Concurrency.Result (EricksonLopez.Concurrency)→ EricksonLopez.Result
- EricksonLopez.Idempotency.Result (EricksonLopez.Idempotency)→ EricksonLopez.Result
- EricksonLopez.Mapper.Result (EricksonLopez.Mapper)→ EricksonLopez.Result
- EricksonLopez.Mediator.Caching (EricksonLopez.Mediator)→ EricksonLopez.Result
- EricksonLopez.Mediator.FluentValidation (EricksonLopez.Mediator)→ EricksonLopez.Result.FluentValidation
- EricksonLopez.Mediator.OpenTelemetry (EricksonLopez.Mediator)→ EricksonLopez.Result
- EricksonLopez.Mediator.Result (EricksonLopez.Mediator)→ EricksonLopez.Result
- EricksonLopez.Outbox→ EricksonLopez.Result
- EricksonLopez.Pagination.Result (EricksonLopez.Pagination)→ EricksonLopez.Result
- EricksonLopez.Resilience→ EricksonLopez.Result
- EricksonLopez.Security.Mediator (EricksonLopez.Security)→ EricksonLopez.Result
- EricksonLopez.Specification.Result (EricksonLopez.Specification)→ EricksonLopez.Result
- EricksonLopez.Transaction.Mediator (EricksonLopez.Transaction)→ EricksonLopez.Result
- EricksonLopez.Transaction.Result (EricksonLopez.Transaction)→ EricksonLopez.Result
Dependencias NuGet Externas Verificadas (19)
13. Resumen de Configuración y Registro en DI#
Puntos de Entrada DI y Configuración Verificados
Result.MapErrorTransforms 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.MapErrorTransforms 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).
| Suite | Método | Runtime | Media (ns) | Asignado (B) | Estado |
|---|---|---|---|---|---|
| CompetitorBenchmarks | EricksonLopez_Success | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorBenchmarks | EricksonLopez_SuccessValue | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorBenchmarks | ErrorOr_Success | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorBenchmarks | ErrorOr_SuccessValue | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorEqualityBenchmarks | LightResults_GetHashCode | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorGenericScalingBenchmarks | EricksonLopez_Int | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorGenericScalingBenchmarks | LightResults_Int | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorInspectionBenchmarks | CSharpFunctionalExtensions_IsSuccess | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorInspectionBenchmarks | ManagedCode_IsSuccess | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorInspectionBenchmarks | OneOf_IsT0 | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorInspectionBenchmarks | Remora_IsSuccess | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| ResultConstructionBenchmarks | Failure_NonGeneric | .NET 10.0.12 X64 RyuJIT x86-64-v3 | 0 | 0 | measured |
| ResultConstructionBenchmarks | Failure_NonGeneric | .NET 9.0.20 X64 RyuJIT x86-64-v3 | 0 | 0 | measured |
| ResultConstructionBenchmarks | ImplicitConversion_Value | .NET 10.0.12 X64 RyuJIT x86-64-v3 | 0 | 0 | measured |
| ResultConstructionBenchmarks | Success_NonGeneric | .NET 10.0.12 X64 RyuJIT x86-64-v3 | 0 | 0 | measured |
| ResultConstructionBenchmarks | Success_NonGeneric | .NET 9.0.20 X64 RyuJIT x86-64-v3 | 0 | 0 | measured |
| CompetitorInspectionBenchmarks | ErrorOr_IsError | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| CompetitorInspectionBenchmarks | LightResults_IsSuccess | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0 | 0 | measured |
| ResultConstructionBenchmarks | Failure_Int | .NET 10.0.12 X64 RyuJIT x86-64-v3 | 0 | 0 | measured |
| ResultConstructionBenchmarks | ImplicitConversion_Error | .NET 10.0.12 X64 RyuJIT x86-64-v3 | 0 | 0 | measured |
| CompetitorConstructionBenchmarks | ManagedCode_Success | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0.001 | 0 | measured |
| CompetitorConstructionBenchmarks | EricksonLopez_Success | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0.002 | 0 | measured |
| ResultConstructionBenchmarks | Success_NonGeneric | .NET 8.0.31 X64 RyuJIT x86-64-v3 | 0.002 | 0 | measured |
| CompetitorInspectionBenchmarks | EricksonLopez_IsSuccess | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0.003 | 0 | measured |
| CompetitorBenchmarks | LanguageExt_SuccessValue | .NET 8.0.29 X64 RyuJIT x86-64-v4 | 0.006 | 0 | measured |
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ón | Origen | Fecha de Publicación | Resumen |
|---|---|---|---|
| v3.0.0 ↗ | nuget | 2026-09-20 | Published EricksonLopez.Result 3.0.0 to NuGet.org. |
| v3.0.0 ↗ | github | 2026-09-20 | Ecosystem 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 ↗ | nuget | 2026-08-24 | Published EricksonLopez.Result 2.0.0 to NuGet.org. |
| v2.0.0 ↗ | github | 2026-08-24 | Ecosystem 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 ↗ | github | 2026-08-01 | Ecosystem 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 ↗ | nuget | 2026-08-01 | Published EricksonLopez.Result 1.0.0 to NuGet.org. |
16. Librerías Complementarias y Relacionadas#
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#
Documentación Conceptual (Starlight) →
Referencia de API XML Extraída →
20 namespaces · 83 tipos · 878 miembros
Mapa de Dependencias del Ecosistema →
Centro de Aprendizaje y Manual →
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).