Show / Hide Table of Contents

Class GenericStackDescription<TLayerDescription, TILayer>

Generic layer description (by its name, assembly and class name) for dynamic load.

Inheritance
System.Object
GenericStackDescription<TLayerDescription, TILayer>
CardChannelStackDescription
CardContextStackDescription
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 Source

GenericStackDescription()

Initializes a new instance.

Declaration
public GenericStackDescription()

Properties

| Improve this Doc View Source

LayerDescriptions

Declaration
public List<TLayerDescription> LayerDescriptions { get; set; }
Property Value
Type Description
System.Collections.Generic.List<TLayerDescription>

Methods

| Improve this Doc View Source

Add(TLayerDescription)

Adds a new .

Declaration
public void Add(TLayerDescription layerDesc)
Parameters
Type Name Description
TLayerDescription layerDesc
| Improve this Doc View Source

CreateInstance(TLayerDescription)

Creates a new instance of the described by this .

Declaration
public static TILayer CreateInstance(TLayerDescription layerDesc)
Parameters
Type Name Description
TLayerDescription layerDesc
Returns
Type Description
TILayer

A new instance of .

| Improve this Doc View Source

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
| Improve this Doc View Source

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

Extension Methods

JsonHelpers.WriteToJsonFile(Object, String)
JsonHelpers.WriteToJsonFile(Object, String, Boolean)
JsonHelpers.WriteToJsonString(Object)
JsonHelpers.WriteToJsonString(Object, Boolean)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX