C# Class HereSay.Parts.AddablePart

Base class for a part that can render its self. IAddablePart
Inheritance: HereSay.Parts.Part, IAddablePart
Show file Open project: jamestharpe/HereSay

Public Methods

Method Description
AddTo ( Control container ) : Control

Adds the instance to the specified container.

Protected Methods

Method Description
CreateViewControl ( ) : Control

Override to create the control which renders the current Part.

Method Details

AddTo() public method

Adds the instance to the specified container.
public AddTo ( Control container ) : Control
container System.Web.UI.Control Specifies the container to which the instance should be added.
return System.Web.UI.Control

CreateViewControl() protected abstract method

Override to create the control which renders the current Part.
protected abstract CreateViewControl ( ) : Control
return System.Web.UI.Control