Class LayerType
Implements
System.IEquatable<TypeElement>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Interfaces.Model
Assembly: Mars.Interfaces.dll
Syntax
public class LayerType : TypeElement, IEquatable<TypeElement>
Constructors
| Improve this Doc View SourceLayerType(Type)
Declaration
public LayerType(Type metaType)
Parameters
Type | Name | Description |
---|---|---|
System.Type | metaType |
Properties
| Improve this Doc View SourceActiveConstructor
The constructor which will be used to create new instances
according to the parameters its expects
Declaration
public override ConstructorType ActiveConstructor { get; }
Property Value
Type | Description |
---|---|
ConstructorType |
Overrides
| Improve this Doc View SourceAgentTypes
All the agents which lies on this layer
Declaration
public ISet<AgentType> AgentTypes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ISet<AgentType> |
IsActive
Checks whether this layer can be executed
Declaration
public bool IsActive { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsDataLayer
Checks whether this layer provides data
Declaration
public bool IsDataLayer { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsRaster
Checks whether this type is a spatial raster layer
Declaration
public bool IsRaster { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsVector
Checks whether this type is spatial vector layer
Declaration
public bool IsVector { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
LayerDependencies
Declaration
public IEnumerable<LayerType> LayerDependencies { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<LayerType> |
Mapping
The input for this layer type to create a new instance
Declaration
public LayerMapping Mapping { get; set; }
Property Value
Type | Description |
---|---|
LayerMapping |
TypeDependencies
Declaration
public List<Type> TypeDependencies { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.Type> |
TypeMapping
Declaration
public override TypeMapping TypeMapping { get; }
Property Value
Type | Description |
---|---|
TypeMapping |
Overrides
| Improve this Doc View SourceVectorFeatureType
Gets the internal vector-feature type or null if no generic type for
IVectorLayer<T> generic is defined.
Declaration
public FeatureType VectorFeatureType { get; set; }
Property Value
Type | Description |
---|---|
FeatureType |
Methods
| Improve this Doc View SourceIsLayerType(Type)
Checks whether this type is a supported layer type
Declaration
public static bool IsLayerType(Type t)
Parameters
Type | Name | Description |
---|---|---|
System.Type | t | The CLR type description. |
Returns
Type | Description |
---|---|
System.Boolean | Return true when the type implements the interface ILayer. |
Implements
System.IEquatable<T>