Creates a new AlmanacController.

Namespace: Keystone.Almanac
Assembly: Keystone.Almanac (in Keystone.Almanac.dll)

public static AlmanacController CreateWith( 
PersistenceStrategy catchAllPersistenceStrategy
string applicationName
bool isEntryWritingActive = true 
)
This language is not supported or no code example is available.

Parameters

catchAllPersistenceStrategy

Type: PersistenceStrategy

The persistence strategy that will receive writing requests for all entry types.

applicationName

Type: string

The name the invoking application wants to be known as for during writing operations.

isEntryWritingActive

Type: bool

Optional argument that defines whether all entry writing is on.

Defaults to true.

Return Value

A new AlmanacController instance.
Exception type Condition

ArgumentException

If a null reference (Nothing in Visual Basic) value is given for the catchAllPersistenceStrategy argument.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono