Class PagingSupportingSecurityEntityProvider
Baseclass for SecurityEntityProvider that has some support to handled paged results.
Inheritance
System.Object
    PagingSupportingSecurityEntityProvider
      
      
  Namespace: EPiServer.Security
Assembly: EPiServer.dll
Version: 7.19.2Syntax
public abstract class PagingSupportingSecurityEntityProvider : SecurityEntityProviderConstructors
PagingSupportingSecurityEntityProvider()
Declaration
protected PagingSupportingSecurityEntityProvider()Properties
WildCardSymbol
The wildcard symbol to surround values with. Default value is '%'.
Declaration
public virtual string WildCardSymbol { get; }Property Value
| Type | Description | 
|---|---|
| System.String | 
Methods
GetPagedResult(IEnumerable<String>, Int32, Int32, out Int32)
Retrieves correct values from fetchedValues according to paging parameters.
Declaration
protected virtual IEnumerable<string> GetPagedResult(IEnumerable<string> fetchedValues, int startIndex, int maxCount, out int totalCount)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Collections.Generic.IEnumerable<System.String> | fetchedValues | The unpaged result | 
| System.Int32 | startIndex | start index | 
| System.Int32 | maxCount | max number to retrieve | 
| System.Int32 | totalCount | total number of entries. | 
Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.IEnumerable<System.String> | Paged result. | 
SurroundWithWildcard(String)
Surrounds specified value with WildCardSymbol
Declaration
protected virtual string SurroundWithWildcard(string value)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | value | The value to surround. | 
Returns
| Type | Description | 
|---|---|
| System.String | The value surrounded with WildCardSymbol | 
