C# Class AspNetEdit.Editor.Persistence.ControlPersister

Datei anzeigen Open project: mono/aspeditor

Public Methods

Method Description
PersistControl ( Control control ) : string
PersistControl ( Control control, IDesignerHost host ) : string
PersistControl ( TextWriter sw, Control control ) : void
PersistControl ( TextWriter sw, Control control, IDesignerHost host ) : void
PersistInnerProperties ( object component, IDesignerHost host ) : string
PersistInnerProperties ( TextWriter sw, object component, IDesignerHost host ) : void

Private Methods

Method Description
ControlPersister ( ) : System
HasInnerProperties ( object component ) : bool
PersistInnerProperties ( System.Web.UI.HtmlTextWriter writer, object component, IDesignerHost host ) : void
PersistInnerProperty ( PropertyDescriptor prop, object value, System.Web.UI.HtmlTextWriter writer, IDesignerHost host, bool isDefault ) : void
PersistObject ( System.Web.UI.HtmlTextWriter writer, object control, IDesignerHost host, bool runAtServer ) : void
ProcessAttribute ( PropertyDescriptor prop, object o, System.Web.UI.HtmlTextWriter writer, string prefix ) : bool

Writes an attribute to an HtmlTextWriter if it needs serializing

ProcessEvent ( System.ComponentModel.EventDescriptor e, IComponent comp, System.Web.UI.HtmlTextWriter writer, IEventBindingService evtBind ) : void

Method Details

PersistControl() public static method

public static PersistControl ( Control control ) : string
control System.Web.UI.Control
return string

PersistControl() public static method

public static PersistControl ( Control control, IDesignerHost host ) : string
control System.Web.UI.Control
host IDesignerHost
return string

PersistControl() public static method

public static PersistControl ( TextWriter sw, Control control ) : void
sw System.IO.TextWriter
control System.Web.UI.Control
return void

PersistControl() public static method

public static PersistControl ( TextWriter sw, Control control, IDesignerHost host ) : void
sw System.IO.TextWriter
control System.Web.UI.Control
host IDesignerHost
return void

PersistInnerProperties() public static method

public static PersistInnerProperties ( object component, IDesignerHost host ) : string
component object
host IDesignerHost
return string

PersistInnerProperties() public static method

public static PersistInnerProperties ( TextWriter sw, object component, IDesignerHost host ) : void
sw System.IO.TextWriter
component object
host IDesignerHost
return void