C# Class SobekCM.Core.UI_Configuration.Viewers.ItemWriterConfig

Show file Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Private Properties

Property Type Description
set_default void

Public Methods

Method Description
Add_Viewer ( ItemSubViewerConfig NewViewer ) : void

Add a new item viewer for the writer to use

If a viewer config already exists for the viewer type or viewer code, this will replace the existing one

Clear ( ) : void

Clears all the previously loaded information, such as the default values

This clears all the item viewer information, clears the assembly, and sets the class to the default item html subwriter class.

ItemWriterConfig ( ) : System

Constructor for a new instance of the ItemWriterConfig class

SetMainMenu ( string Class, string Assembly ) : void

Sets the main menu provider for this item writer

Private Methods

Method Description
set_default ( ) : void

Method Details

Add_Viewer() public method

Add a new item viewer for the writer to use
If a viewer config already exists for the viewer type or viewer code, this will replace the existing one
public Add_Viewer ( ItemSubViewerConfig NewViewer ) : void
NewViewer ItemSubViewerConfig New viewer to add
return void

Clear() public method

Clears all the previously loaded information, such as the default values
This clears all the item viewer information, clears the assembly, and sets the class to the default item html subwriter class.
public Clear ( ) : void
return void

ItemWriterConfig() public method

Constructor for a new instance of the ItemWriterConfig class
public ItemWriterConfig ( ) : System
return System

SetMainMenu() public method

Sets the main menu provider for this item writer
public SetMainMenu ( string Class, string Assembly ) : void
Class string Fully qualified (including namespace) name of the class used to display the item main menu
Assembly string Name of the assembly within which this class resides, unless this /// is one of the default class/assembly included in the core code
return void