Table of Contents

Class FeatureFile

Namespace
The.Model
Assembly
Instagile.Model.dll
public class FeatureFile : VersionedObject, IFeature
Inheritance
FeatureFile
Implements
Inherited Members
Extension Methods

Constructors

FeatureFile()

public FeatureFile()

FeatureFile(IFeature?)

public FeatureFile(IFeature? feature = null)

Parameters

feature IFeature

Fields

FileExtension

public const string FileExtension = "theFeature"

Field Value

string

Properties

AddEvents

public SerialisableEventCollection AddEvents { get; set; }

Property Value

SerialisableEventCollection

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; set; }

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; set; }

Property Value

TypeName?

CurrentVersion

public int CurrentVersion { get; set; }

Property Value

int

Dependencies

public IEnumerable<string> Dependencies { get; set; }

Property Value

IEnumerable<string>

DisplayName

public string DisplayName { get; set; }

Property Value

string

EditorDoc

public string EditorDoc { get; set; }

Property Value

string

FirstVersionTables

public IEnumerable<Guid> FirstVersionTables { get; set; }

Property Value

IEnumerable<Guid>

Name

public string Name { get; set; }

Property Value

string

Relationships

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

Property Value

IReadOnlyDictionary<Guid, Relationship>

ScreenBehaviourProvider

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

public TypeName? ScreenBehaviourProvider { get; set; }

Property Value

TypeName?

SerialisedCalculationMethods

public SerialisableCalculationMethodCollection? SerialisedCalculationMethods { get; set; }

Property Value

SerialisableCalculationMethodCollection

SerialisedCalculationProvider

public string? SerialisedCalculationProvider { get; set; }

Property Value

string

SerialisedDependencies

public SerialisableDependencyCollection? SerialisedDependencies { get; set; }

Property Value

SerialisableDependencyCollection

SerialisedFirstVersionTables

public SerialisableTableIDCollection? SerialisedFirstVersionTables { get; set; }

Property Value

SerialisableTableIDCollection

SerialisedRelationships

public SerialisableRelationshipCollection? SerialisedRelationships { get; set; }

Property Value

SerialisableRelationshipCollection

SerialisedScreenBehaviourProvider

public string? SerialisedScreenBehaviourProvider { get; set; }

Property Value

string

SerialisedTables

public SerialisableTableCollection? SerialisedTables { get; set; }

Property Value

SerialisableTableCollection

Tables

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

Property Value

IReadOnlyDictionary<Guid, Table>

Upgrade

public SerialisableUpgradeEventsCollection? Upgrade { get; set; }

Property Value

SerialisableUpgradeEventsCollection

Methods

AfterLoad()

public override void AfterLoad()