In This Article

IModuleDefinition Interface

Provides the base requirements of a module definition.

public interface IModuleDefinition : IKeyedObject, IModuleReference, IReflectionDefinition

Properties

ExternalPublicNameReferences

The optional collection of externally referenced child packages and/or modules whose public names should be combined with the PublicNames.

IEnumerable<string>? ExternalPublicNameReferences { get; }

Property Value

IEnumerable<string>

FileLastModifiedDateTime

The last modified date/time of the module file, if known.

DateTime? FileLastModifiedDateTime { get; set; }

Property Value

DateTime?

FileSize

The size of the module file, if known.

long? FileSize { get; set; }

Property Value

long?

Functions

The collection of functions defined in the module.

IFunctionDefinitionCollection Functions { get; }

Property Value

IFunctionDefinitionCollection

Imports

The collection of imports defined in the module.

IImportDefinitionCollection Imports { get; }

Property Value

IImportDefinitionCollection

PublicNames

The optional collection of names publicly exposed by the module, which generally is specified by an all variable.

IEnumerable<string>? PublicNames { get; }

Property Value

IEnumerable<string>

Types

The collection of types defined in the module.

ITypeDefinitionCollection Types { get; }

Property Value

ITypeDefinitionCollection

Variables

The collection of variables defined in the module.

IVariableDefinitionCollection Variables { get; }

Property Value

IVariableDefinitionCollection

Inherited Members

Extension Methods