Table of Contents

Class SpecBase

Namespace
Motiv
Assembly
Motiv.dll

The generic-less base class for all specifications. It ensures that all specifications have a description and a statement, without requiring knowledge of the model type.

public abstract class SpecBase
Inheritance
SpecBase
Derived
Inherited Members
Extension Methods

Properties

Description

Gets a description of the specification. This is used for debugging/logging purposes.

public abstract ISpecDescription Description { get; }

Property Value

ISpecDescription

Expression

Gets the propositional statement.

public string Expression { get; }

Property Value

string

Name

Gets the propositional statement.

public string Name { get; }

Property Value

string

Underlying

Gets the underlying specifications that make up this composite proposition.

public abstract IEnumerable<SpecBase> Underlying { get; }

Property Value

IEnumerable<SpecBase>

Remarks

This will yield an empty collection if the specification is dynamically generated at evaluation-time.