CodeDomDesignerLoader CodeDomDesignerLoader CodeDomDesignerLoader CodeDomDesignerLoader Class

Definition

Provides the base class for implementing a CodeDOM-based designer loader.

public ref class CodeDomDesignerLoader abstract : System::ComponentModel::Design::Serialization::BasicDesignerLoader, System::ComponentModel::Design::Serialization::IDesignerSerializationService, System::ComponentModel::Design::Serialization::INameCreationService
[System.Security.SecurityCritical]
public abstract class CodeDomDesignerLoader : System.ComponentModel.Design.Serialization.BasicDesignerLoader, System.ComponentModel.Design.Serialization.IDesignerSerializationService, System.ComponentModel.Design.Serialization.INameCreationService
type CodeDomDesignerLoader = class
    inherit BasicDesignerLoader
    interface INameCreationService
    interface IDesignerSerializationService
Public MustInherit Class CodeDomDesignerLoader
Inherits BasicDesignerLoader
Implements IDesignerSerializationService, INameCreationService
Inheritance
Attributes
Implements

Remarks

CodeDomDesignerLoader is an abstract class that provides a full designer loader based on the Code Document Object Model (CodeDOM). You provide the CodeDOM parser and generator, and a type resolution service.

Constructors

CodeDomDesignerLoader() CodeDomDesignerLoader() CodeDomDesignerLoader() CodeDomDesignerLoader()

Initializes a new instance of the CodeDomDesignerLoader class.

Properties

CodeDomProvider CodeDomProvider CodeDomProvider CodeDomProvider

Gets the CodeDomProvider this designer loader will use.

LoaderHost LoaderHost LoaderHost LoaderHost

Gets the loader host.

(Inherited from BasicDesignerLoader)
Loading Loading Loading Loading

Gets a value indicating whether the designer loader is loading the design surface.

(Inherited from BasicDesignerLoader)
Modified Modified Modified Modified

Gets or sets a value indicating whether the designer has been modified.

(Inherited from BasicDesignerLoader)
PropertyProvider PropertyProvider PropertyProvider PropertyProvider

Gets or sets the property provider for the serialization manager being used by the loader.

(Inherited from BasicDesignerLoader)
ReloadPending ReloadPending ReloadPending ReloadPending

Gets a value indicating whether a reload has been queued.

(Inherited from BasicDesignerLoader)
TypeResolutionService TypeResolutionService TypeResolutionService TypeResolutionService

Gets the type resolution service to be used with this designer loader.

Methods

BeginLoad(IDesignerLoaderHost) BeginLoad(IDesignerLoaderHost) BeginLoad(IDesignerLoaderHost) BeginLoad(IDesignerLoaderHost)

Starts the loading process.

(Inherited from BasicDesignerLoader)
Dispose() Dispose() Dispose() Dispose()

Releases the resources used by the CodeDomDesignerLoader class.

EnableComponentNotification(Boolean) EnableComponentNotification(Boolean) EnableComponentNotification(Boolean) EnableComponentNotification(Boolean)

Enables or disables component notification with the DesignerLoader.

(Inherited from BasicDesignerLoader)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Flush() Flush() Flush() Flush()

Flushes pending changes to the designer loader.

(Inherited from BasicDesignerLoader)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetService(Type) GetService(Type) GetService(Type) GetService(Type)

Gets the requested service.

(Inherited from BasicDesignerLoader)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize() Initialize() Initialize() Initialize()

Initializes services.

IsReloadNeeded() IsReloadNeeded() IsReloadNeeded() IsReloadNeeded()

Returns a value indicating whether a reload is required.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnBeginLoad() OnBeginLoad() OnBeginLoad() OnBeginLoad()

Notifies the designer loader that loading is about to begin.

OnBeginUnload() OnBeginUnload() OnBeginUnload() OnBeginUnload()

Notifies the designer loader that unloading is about to begin.

OnComponentRename(Object, String, String) OnComponentRename(Object, String, String) OnComponentRename(Object, String, String) OnComponentRename(Object, String, String)

Raises the ComponentRename event.

OnEndLoad(Boolean, ICollection) OnEndLoad(Boolean, ICollection) OnEndLoad(Boolean, ICollection) OnEndLoad(Boolean, ICollection)

Notifies the designer loader that loading is complete.

OnModifying() OnModifying() OnModifying() OnModifying()

Notifies the designer loader that the state of the document is about to be modified.

(Inherited from BasicDesignerLoader)
Parse() Parse() Parse() Parse()

Parses the text or other persistent storage and returns a CodeCompileUnit.

PerformFlush(IDesignerSerializationManager) PerformFlush(IDesignerSerializationManager) PerformFlush(IDesignerSerializationManager) PerformFlush(IDesignerSerializationManager)

Requests serialization of the root component of the designer.

PerformLoad(IDesignerSerializationManager) PerformLoad(IDesignerSerializationManager) PerformLoad(IDesignerSerializationManager) PerformLoad(IDesignerSerializationManager)

Parses code from a CodeDOM provider.

Reload(BasicDesignerLoader+ReloadOptions) Reload(BasicDesignerLoader+ReloadOptions) Reload(BasicDesignerLoader+ReloadOptions) Reload(BasicDesignerLoader+ReloadOptions)

Queues a reload of the designer.

(Inherited from BasicDesignerLoader)
ReportFlushErrors(ICollection) ReportFlushErrors(ICollection) ReportFlushErrors(ICollection) ReportFlushErrors(ICollection)

Reports errors that occurred while flushing changes.

(Inherited from BasicDesignerLoader)
SetBaseComponentClassName(String) SetBaseComponentClassName(String) SetBaseComponentClassName(String) SetBaseComponentClassName(String)

Sets the full class name of the base component.

(Inherited from BasicDesignerLoader)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
Write(CodeCompileUnit) Write(CodeCompileUnit) Write(CodeCompileUnit) Write(CodeCompileUnit)

Writes compile-unit changes to persistent storage.

Explicit Interface Implementations

IDesignerLoaderService.AddLoadDependency() IDesignerLoaderService.AddLoadDependency() IDesignerLoaderService.AddLoadDependency() IDesignerLoaderService.AddLoadDependency()

Registers an external component as part of the load process managed by IDesignerLoaderService.

(Inherited from BasicDesignerLoader)
IDesignerLoaderService.DependentLoadComplete(Boolean, ICollection) IDesignerLoaderService.DependentLoadComplete(Boolean, ICollection) IDesignerLoaderService.DependentLoadComplete(Boolean, ICollection) IDesignerLoaderService.DependentLoadComplete(Boolean, ICollection)

Signals that a dependent load has finished.

(Inherited from BasicDesignerLoader)
IDesignerLoaderService.Reload() IDesignerLoaderService.Reload() IDesignerLoaderService.Reload() IDesignerLoaderService.Reload()

Reloads the design document.

(Inherited from BasicDesignerLoader)
IDesignerSerializationService.Deserialize(Object) IDesignerSerializationService.Deserialize(Object) IDesignerSerializationService.Deserialize(Object) IDesignerSerializationService.Deserialize(Object)

Deserializes the specified serialization data object and returns a collection of objects represented by that data.

IDesignerSerializationService.Serialize(ICollection) IDesignerSerializationService.Serialize(ICollection) IDesignerSerializationService.Serialize(ICollection) IDesignerSerializationService.Serialize(ICollection)

Serializes the specified collection of objects and stores them in a serialization data object.

INameCreationService.CreateName(IContainer, Type) INameCreationService.CreateName(IContainer, Type) INameCreationService.CreateName(IContainer, Type) INameCreationService.CreateName(IContainer, Type)

Creates a new name that is unique to all components in the specified container.

INameCreationService.IsValidName(String) INameCreationService.IsValidName(String) INameCreationService.IsValidName(String) INameCreationService.IsValidName(String)

Gets a value indicating whether the specified name is valid.

INameCreationService.ValidateName(String) INameCreationService.ValidateName(String) INameCreationService.ValidateName(String) INameCreationService.ValidateName(String)

Gets a value indicating whether the specified name is valid.

Security

NamedPermissionSet
for full access to system resources. Demand values: LinkDemand, InheritanceDemand. Associated state:

Applies to

See also