Class AgentType
The type description containing structure-related information
used to infer the schema, assign values to properties or resolve
dependencies. This type-description belongs to the IEntity.
Inheritance
System.Object
AgentType
Implements
IEquatable<TypeElement>
Inherited Members
Namespace: Mars.Interfaces.Model
Assembly: Mars.Interfaces.dll
Syntax
public class AgentType : EntityType, IEquatable<TypeElement>
Constructors
AgentType(Type)
Declaration
public AgentType(Type metaType)
Parameters
Type | Name | Description |
---|---|---|
Type | metaType |
Properties
ActiveConstructor
Gets the active or default constructor.
Active constructors are declared by the ActiveConstructor
annotation and have to be
public
to that the entry point can be found via reflection.
Declaration
public override ConstructorType ActiveConstructor { get; }
Property Value
Type | Description |
---|---|
ConstructorType |
Overrides
LayerReference
Declaration
public LayerType LayerReference { get; set; }
Property Value
Type | Description |
---|---|
LayerType |
Mapping
The concrete mapping for this type
with all inputs to create instances
Declaration
public AgentMapping Mapping { get; set; }
Property Value
Type | Description |
---|---|
AgentMapping |
TypeMapping
The mapping entry point for this type with all parameter inputs.
Declaration
public override TypeMapping TypeMapping { get; }
Property Value
Type | Description |
---|---|
TypeMapping |
Overrides
Implements
IEquatable<>