Table of Contents

Interface IDef

Namespace
Tripous
Assembly
Tripous.dll

Base interface for all descriptors

public interface IDef
Extension Methods

Properties

Name

The descriptor name.

string Name { get; set; }

Property Value

string

Tag

A user-defined value associated with this descriptor.

[JsonIgnore]
object Tag { get; }

Property Value

object

Title

The descriptor title.

[JsonIgnore]
string Title { get; }

Property Value

string

TitleKey

The descriptor resource title key, e.g. "Module"

string TitleKey { get; set; }

Property Value

string

Methods

Assign(IDef)

Assigns property values from a source instance.

void Assign(IDef Source)

Parameters

Source IDef

CheckDescriptor()

Throws an exception if this descriptor is not fully defined

void CheckDescriptor()

Clear()

Clears the property values of this instance.

void Clear()

Clone()

Returns a clone of this instance.

IDef Clone()

Returns

IDef

UpdateReferences()

Updates references such as when an instance has references to other instances, e.g. tables of a module definition.

void UpdateReferences()