C# Class Composite.Tools.PackageCreator.Types.BasePackItem

Represents a package creator item that has only one 'name' attribute in serialized state. Derived classes have to define a constructor from with a single string parameter.
Inheritance: IPackItem
Show file Open project: Orckestra/C1-Packages

Protected Properties

Property Type Description
_entityToken Composite.C1Console.Security.EntityToken

Public Methods

Method Description
AddToConfiguration ( System.Xml.Linq.XElement config ) : void
GetItems ( Type type, System.Xml.Linq.XElement config ) : IEnumerable
GetItems ( Type type, System.Xml.Linq.XElement config, System.Xml.Linq.XNamespace ns, System.Xml.Linq.XName itemName ) : IEnumerable
GetLabel ( ) : string
RemoveFromConfiguration ( System.Xml.Linq.XElement config ) : void

Protected Methods

Method Description
BasePackItem ( ) : System
BasePackItem ( EntityToken entityToken ) : System
BasePackItem ( System.Xml.Linq.XElement element ) : System
BasePackItem ( string name ) : System

Method Details

AddToConfiguration() public method

public AddToConfiguration ( System.Xml.Linq.XElement config ) : void
config System.Xml.Linq.XElement
return void

BasePackItem() protected method

protected BasePackItem ( ) : System
return System

BasePackItem() protected method

protected BasePackItem ( EntityToken entityToken ) : System
entityToken Composite.C1Console.Security.EntityToken
return System

BasePackItem() protected method

protected BasePackItem ( System.Xml.Linq.XElement element ) : System
element System.Xml.Linq.XElement
return System

BasePackItem() protected method

protected BasePackItem ( string name ) : System
name string
return System

GetItems() public static method

public static GetItems ( Type type, System.Xml.Linq.XElement config ) : IEnumerable
type System.Type
config System.Xml.Linq.XElement
return IEnumerable

GetItems() public static method

public static GetItems ( Type type, System.Xml.Linq.XElement config, System.Xml.Linq.XNamespace ns, System.Xml.Linq.XName itemName ) : IEnumerable
type System.Type
config System.Xml.Linq.XElement
ns System.Xml.Linq.XNamespace
itemName System.Xml.Linq.XName
return IEnumerable

GetLabel() public method

public GetLabel ( ) : string
return string

RemoveFromConfiguration() public method

public RemoveFromConfiguration ( System.Xml.Linq.XElement config ) : void
config System.Xml.Linq.XElement
return void

Property Details

_entityToken protected property

protected EntityToken,Composite.C1Console.Security _entityToken
return Composite.C1Console.Security.EntityToken