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.
CslaSecurityConfiguration.cs
Go to the documentation of this file.
1
//-----------------------------------------------------------------------
2
// <copyright file="CslaSecurityConfiguration.cs" company="Marimer LLC">
3
// Copyright (c) Marimer LLC. All rights reserved.
4
// Website: https://cslanet.com
5
// </copyright>
6
// <summary>Use this type to configure the settings for security</summary>
7
//-----------------------------------------------------------------------
8
namespace
Csla.Configuration
9
{
13
public
static
class
CslaSecurityConfigurationExtension
14
{
18
public
static
CslaSecurityConfiguration Security(
this
ICslaConfiguration config)
19
{
20
return
new
CslaSecurityConfiguration();
21
}
22
}
23
27
public
class
CslaSecurityConfiguration
28
{
33
public
CslaSecurityConfiguration
PrincipalCacheMaxCacheSize
(
int
size)
34
{
35
ConfigurationManager.AppSettings[
"CslaPrincipalCacheSize"
] = size.ToString();
36
return
this
;
37
}
38
}
39
}
Csla.Configuration.CslaSecurityConfiguration
Use this type to configure the settings for security.
Definition:
CslaSecurityConfiguration.cs:28
Csla.Configuration.CslaSecurityConfiguration.PrincipalCacheMaxCacheSize
CslaSecurityConfiguration PrincipalCacheMaxCacheSize(int size)
Sets the max size of the PrincipalCache cache.
Definition:
CslaSecurityConfiguration.cs:33
Csla.Configuration
Definition:
Csla.Blazor.WebAssembly/ConfigurationExtensions.cs:15
Generated by
1.9.2