CSLA.NET
5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Windows.Shared/ConfigurationExtensions.cs
Go to the documentation of this file.
1
//-----------------------------------------------------------------------
2
// <copyright file="WebConfiguration.cs" company="Marimer LLC">
3
// Copyright (c) Marimer LLC. All rights reserved.
4
// Website: https://cslanet.com
5
// </copyright>
6
// <summary>Implement extension methods for .NET Core configuration</summary>
7
//-----------------------------------------------------------------------
8
using
System;
9
using
Microsoft.Extensions.Hosting;
10
11
namespace
Csla.Configuration
12
{
16
public
static
class
WindowsConfigurationExtensions
17
{
22
public
static
IHostBuilder UseCsla(
this
IHostBuilder builder)
23
{
24
UseCsla(builder,
null
);
25
return
builder;
26
}
27
33
public
static
IHostBuilder UseCsla(
34
this
IHostBuilder builder, Action<CslaConfiguration> config)
35
{
36
CslaConfiguration.Configure().
37
ContextManager(typeof(
Csla
.
Windows
.
ApplicationContextManager
));
38
config?.Invoke(CslaConfiguration.Configure());
39
return
builder;
40
}
41
}
42
}
Csla.Windows.ApplicationContextManager
ApplicationContextManager for Windows Forms applications
Definition:
Csla.Windows.Shared/ApplicationContextManager.cs:19
Csla.Configuration
Definition:
Csla.Blazor.WebAssembly/ConfigurationExtensions.cs:15
Csla.Windows
Definition:
Csla.Windows.Shared/ApplicationContextManager.cs:14
Csla
Definition:
Csla.AspNetCore.Shared/ApplicationContextManager.cs:16
Generated by
1.9.2