The Portrate Interview Engine

DPLCampaignSection Members

DPLCampaignSection overview

Public Instance Constructors

DPLCampaignSection ConstructorInitializes a new instance of the DPLCampaignSection class.

Public Instance Properties

CampaignElements (inherited from DPLCampaignElementContainer) Returns the campaign elements in this campaign.
Children (inherited from AbstractCampaignElement) Returns a collection of IGraphElement children
DisplayRule (inherited from AbstractCampaignElement) Sets the displayable rule for this section.
FirstChild (inherited from AbstractCampaignElement) Returns the first child of this element, or NULL if there is no child.
IndexKey (inherited from AbstractCampaignElement) Gets/sets the index key for this element.
Next (inherited from AbstractCampaignElement) Returns the next sibling for this element
Parent (inherited from AbstractCampaignElement) Returns the parent graph element for this element
Previous (inherited from AbstractCampaignElement) Returns the previous sibling for this element
SourceFile (inherited from AbstractCampaignElement) Get/set the source file for this element.

Public Instance Methods

AddChild (inherited from AbstractCampaignElement) Adds a child graph element to this element.
ClearCampaignElements (inherited from DPLCampaignElementContainer) Removes all campaign elements in this container
Configure (inherited from DPLCampaignElementContainer) Reads the XML configuration elements for this campaign. This method will read 'section' and 'formRef' elements from the configuration. Each of the configuration elements must have an 'index' attribute that is used to determine their sequence index in the campaign. The 'formRef' element must reference its form by its 'name' attribute.
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetCampaignElement (inherited from DPLCampaignElementContainer)Overloaded. Locates the current campaign element for the given index. Typically the campaign element returned will be a form ref. The index takes the form "1.2.3.4" where each '.' represents a nested "level" in the element hierarchy.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
HasCampaignElement (inherited from DPLCampaignElementContainer) Returns true if the container has the campaign element at the given index, and false if not. This should be used to determine when to move onto the next "super-container" of elements.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
InitVariables (inherited from AbstractCampaignElement) Initializes the user varaibles for the given context.
IsDisplayable (inherited from AbstractCampaignElement) Returns TRUE if this element is displayable in the current context, and FALSE if not.
NextCampaignElement (inherited from DPLCampaignElementContainer)Overloaded. Returns the next logical element in this campaign relative to the given index. The index takes the form "1.2.3.4" where each '.' in the index is a level in the 'nested' hierarchy of elements. Typically the returned element will be a form reference that can be used to get the actual IFormModel to be displayed next.
RemoveCampaignElement (inherited from DPLCampaignElementContainer) Removes the campaign element at the given index.
SetCampaignElement (inherited from DPLCampaignElementContainer)Overloaded. Adds the given element to this container, adding new instances of the DPLCampaignSection when no container is found at a specific level. If a non-container exists at one of the higher level indices, then an exception is thrown.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

DPLCampaignSection Class | Portrate.Interview.Model Namespace