Class GenericStackDescription<TLayerDescription, TILayer>
Generic layer description (by its name, assembly and class name) for dynamic load.
Inheritance
System.Object
    GenericStackDescription<TLayerDescription, TILayer>
      
      
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: WSCT.Stack.Generic
Assembly: WSCT.dll
Syntax
public class GenericStackDescription<TLayerDescription, TILayer>
    where TLayerDescription : GenericLayerDescription
  Type Parameters
| Name | Description | 
|---|---|
| TLayerDescription | Type of concrete layer description.  | 
      
| TILayer | Type of layer described.  | 
      
Constructors
| Improve this Doc View SourceGenericStackDescription()
Initializes a new instance.
Declaration
public GenericStackDescription()
  Properties
| Improve this Doc View SourceLayerDescriptions
Declaration
public List<TLayerDescription> LayerDescriptions { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.List<TLayerDescription> | 
Methods
| Improve this Doc View SourceAdd(TLayerDescription)
Adds a new 
Declaration
public void Add(TLayerDescription layerDesc)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TLayerDescription | layerDesc | 
CreateInstance(TLayerDescription)
Creates a new instance of the 
Declaration
public static TILayer CreateInstance(TLayerDescription layerDesc)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TLayerDescription | layerDesc | 
Returns
| Type | Description | 
|---|---|
| TILayer | A new instance of   | 
      
CreateInstance(String)
Create a new instance of TILayer named layerName.
Declaration
public TILayer CreateInstance(string layerName)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | layerName | 
Returns
| Type | Description | 
|---|---|
| TILayer | 
IsValid(String)
Checks if the layerName is defined.
Declaration
public bool IsValid(string layerName)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | layerName | 
Returns
| Type | Description | 
|---|---|
| System.Boolean |