net8.0-windows10.0.19041
Core library for Contoso AI Feature functionality, providing AI feature state management and ready state detection.
Published
Jan 1, 1900
128y ago
Total Downloads
0
0
Install
dotnet add package Contoso.AI.AIFeatureCore --version 0.0.1-beta
| Product | Versions |
|---|---|
| .NET |
README
Contoso.AI.AIFeatureCore
A lightweight .NET library for managing AI feature state and readiness detection.
Installation
Install via NuGet Package Manager:
dotnet add package Contoso.AI.AIFeatureCore
Or via Package Manager Console:
Install-Package Contoso.AI.AIFeatureCore
Features
- AI Feature State Management: Track the readiness state of AI features with
AIFeatureReadyStateenum - Result Handling: Robust result handling with
AIFeatureReadyResultandAIFeatureReadyResultState - Exception Management: Built-in support for extended error information
Usage
Basic Example
using Contoso.AI;
// Check if an AI feature is ready
AIFeatureReadyState state = AIFeatureReadyState.Initializing;
// Handle the result of an AI feature operation
AIFeatureReadyResult result = AIFeatureReadyResult.Success();
// Handle failure with exception details
try
{
// Your AI feature logic
}
catch (Exception ex)
{
AIFeatureReadyResult failedResult = AIFeatureReadyResult.Failed(ex);
Console.WriteLine($"AI Feature failed: {failedResult.ExtendedError?.Message}");
}
AI Feature States
The library provides three states for tracking AI feature readiness:
NotReady- Feature is not yet ready for useReady- Feature is initialized and ready to useInitializing- Feature is currently being initialized
Requirements
- .NET 8.0 or later
- Windows 10.0.19041.0 or later
License
This project is licensed under the MIT License.
Support
For issues, questions, or contributions, please open an issue in the repository.
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.This version is unlisted. Prefer a listed release unless you deliberately need this exact version for reproducibility.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.