CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
SecurityOptions.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="SecurityOptions.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//-----------------------------------------------------------------------
8namespace Csla.Configuration
9{
13 public class SecurityOptions
14 {
20 {
21 Security.PrincipalCache.MaxCacheSize = size;
22 return this;
23 }
24 }
25}
Use this type to configure the settings for security.
SecurityOptions PrincipalCacheMaxCacheSize(int size)
Sets the max size of the PrincipalCache cache.