Table of Contents

Struct ManualCalendarEntryFeature

Namespace
The.Model.Features
Assembly
Instagile.Model.dll
public readonly struct ManualCalendarEntryFeature : IFeature
Implements
Inherited Members
Extension Methods

Fields

DISPLAY_NAME

public const string DISPLAY_NAME = "Manual Calendar Entries"

Field Value

string

ManualCalendarEntryDate

public static readonly Guid ManualCalendarEntryDate

Field Value

Guid

ManualCalendarEntryDescription

public static readonly Guid ManualCalendarEntryDescription

Field Value

Guid

ManualCalendarEntryInterface

public static readonly TypeName ManualCalendarEntryInterface

Field Value

TypeName

ManualCalendarEntryTable

public static readonly Guid ManualCalendarEntryTable

Field Value

Guid

ManualCalendarEntryTitle

public static readonly Guid ManualCalendarEntryTitle

Field Value

Guid

ManualCalendarEntryVisibleToEveryone

public static readonly Guid ManualCalendarEntryVisibleToEveryone

Field Value

Guid

Properties

CalculationMethods

Map of attribute ID (or entity ID for IEntity.Text) to a record containing the name of the method used to calculate that attribute's value and its calculation dependencies.

public IReadOnlyDictionary<Guid, string> CalculationMethods { get; }

Property Value

IReadOnlyDictionary<Guid, string>

Remarks

Features whose CalculationProvider can be loaded by the template runner can use standard CalculationDependency attributes instead of having to specify them here.

CalculationProvider

Name of a type that provides static methods to implement calculated properties.

public TypeName? CalculationProvider { get; }

Property Value

TypeName?

CurrentVersion

public int CurrentVersion { get; }

Property Value

int

Dependencies

public IEnumerable<string> Dependencies { get; }

Property Value

IEnumerable<string>

DisplayName

public string DisplayName { get; }

Property Value

string

EditorDoc

public string EditorDoc { get; }

Property Value

string

FirstVersionTables

public IEnumerable<Guid> FirstVersionTables { get; }

Property Value

IEnumerable<Guid>

Name

public string Name { get; }

Property Value

string

Relationships

public IReadOnlyDictionary<Guid, Relationship> Relationships { get; }

Property Value

IReadOnlyDictionary<Guid, Relationship>

ScreenBehaviourProvider

Name of a type that provides static methods to override WPF screen behaviour.

public TypeName? ScreenBehaviourProvider { get; }

Property Value

TypeName?

Tables

public IReadOnlyDictionary<Guid, Table> Tables { get; }

Property Value

IReadOnlyDictionary<Guid, Table>

Methods

Add(ModelSnapshot, EventFactory)

public IEnumerable<IEvent> Add(ModelSnapshot snapshot, EventFactory factory)

Parameters

snapshot ModelSnapshot
factory EventFactory

Returns

IEnumerable<IEvent>

UpgradeFrom(int, EventFactory)

public IEnumerable<IEvent> UpgradeFrom(int oldVersion, EventFactory factory)

Parameters

oldVersion int
factory EventFactory

Returns

IEnumerable<IEvent>