Core abstractions for CShells. Contains interfaces and models for building shell features without dependencies on the full CShells framework. Reference this package in your feature libraries.
$ dotnet add package CShells.AbstractionsCore abstractions and interfaces for building shell features without dependencies on the full CShells framework.
This package contains the fundamental interfaces and models needed to build CShells features. By referencing only this package in your feature libraries, you avoid pulling in the entire CShells runtime and its dependencies.
IShellFeature - Base interface for defining features that register servicesShellSettings - Configuration model for shell settingsdotnet add package CShells.Abstractions
using CShells.Features;
using Microsoft.Extensions.DependencyInjection;
[ShellFeature("MyFeature")]
public class MyFeature : IShellFeature
{
public void ConfigureServices(IServiceCollection services)
{
services.AddSingleton<IMyService, MyService>();
}
}