Path: redb/redb.PropsEditor/Extensions/ServiceCollectionExtensions.cs
Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb
Page: https://redbase.app/src/dev-2026-12-06/redb/redb.PropsEditor/Extensions/ServiceCollectionExtensions.cs
----
using Microsoft.Extensions.DependencyInjection;
using redb.PropsEditor.Services;
namespace redb.PropsEditor.Extensions;
///
/// Extension methods for registering redb.PropsEditor services.
///
public static class ServiceCollectionExtensions
{
///
/// Adds redb.PropsEditor services to the service collection.
///
///
/// builder.Services.AddRedbPropsEditor();
///
public static IServiceCollection AddRedbPropsEditor(this IServiceCollection services)
{
services.AddScoped();
return services;
}
}