CodeDomDesignerLoader Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.ComponentModel.Design.Serialization
Assembly:  System.Design (in System.Design.dll)


[SecurityCriticalAttribute]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public abstract class CodeDomDesignerLoader : BasicDesignerLoader, 
	INameCreationService, IDesignerSerializationService

NameDescription
System_CAPS_protmethodCodeDomDesignerLoader()

Initializes a new instance of the CodeDomDesignerLoader class.

NameDescription
System_CAPS_protpropertyCodeDomProvider

Gets the CodeDomProvider this designer loader will use.

System_CAPS_protpropertyLoaderHost

Gets the loader host.(Inherited from BasicDesignerLoader.)

System_CAPS_pubpropertyLoading

Gets a value indicating whether the designer loader is loading the design surface.(Inherited from BasicDesignerLoader.)

System_CAPS_protpropertyModified

Gets or sets a value indicating whether the designer has been modified.(Inherited from BasicDesignerLoader.)

System_CAPS_protpropertyPropertyProvider

Gets or sets the property provider for the serialization manager being used by the loader.(Inherited from BasicDesignerLoader.)

System_CAPS_protpropertyReloadPending

Gets a value indicating whether a reload has been queued.(Inherited from BasicDesignerLoader.)

System_CAPS_protpropertyTypeResolutionService

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

NameDescription
System_CAPS_pubmethodBeginLoad(IDesignerLoaderHost)

Starts the loading process.(Inherited from BasicDesignerLoader.)

System_CAPS_pubmethodDispose()

Releases the resources used by the CodeDomDesignerLoader class.(Overrides BasicDesignerLoader.Dispose().)

System_CAPS_protmethodEnableComponentNotification(Boolean)

Enables or disables component notification with the DesignerLoader.(Inherited from BasicDesignerLoader.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFlush()

Flushes pending changes to the designer loader.(Inherited from BasicDesignerLoader.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_protmethodGetService(Type)

Gets the requested service.(Inherited from BasicDesignerLoader.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodInitialize()

Initializes services.(Overrides BasicDesignerLoader.Initialize().)

System_CAPS_protmethodIsReloadNeeded()

Returns a value indicating whether a reload is required.(Overrides BasicDesignerLoader.IsReloadNeeded().)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnBeginLoad()

Notifies the designer loader that loading is about to begin.(Overrides BasicDesignerLoader.OnBeginLoad().)

System_CAPS_protmethodOnBeginUnload()

Notifies the designer loader that unloading is about to begin.(Overrides BasicDesignerLoader.OnBeginUnload().)

System_CAPS_protmethodOnComponentRename(Object, String, String)

Raises the ComponentRename event.

System_CAPS_protmethodOnEndLoad(Boolean, ICollection)

Notifies the designer loader that loading is complete.(Overrides BasicDesignerLoader.OnEndLoad(Boolean, ICollection).)

System_CAPS_protmethodOnModifying()

Notifies the designer loader that the state of the document is about to be modified.(Inherited from BasicDesignerLoader.)

System_CAPS_protmethodParse()

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

System_CAPS_protmethodPerformFlush(IDesignerSerializationManager)

Requests serialization of the root component of the designer.(Overrides BasicDesignerLoader.PerformFlush(IDesignerSerializationManager).)

System_CAPS_protmethodPerformLoad(IDesignerSerializationManager)

Parses code from a CodeDOM provider.(Overrides BasicDesignerLoader.PerformLoad(IDesignerSerializationManager).)

System_CAPS_protmethodReload(BasicDesignerLoader.ReloadOptions)

Queues a reload of the designer.(Inherited from BasicDesignerLoader.)

System_CAPS_protmethodReportFlushErrors(ICollection)

Reports errors that occurred while flushing changes.(Inherited from BasicDesignerLoader.)

System_CAPS_protmethodSetBaseComponentClassName(String)

Sets the full class name of the base component.(Inherited from BasicDesignerLoader.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_protmethodWrite(CodeCompileUnit)

Writes compile-unit changes to persistent storage.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIDesignerLoaderService.AddLoadDependency()

Registers an external component as part of the load process managed by IDesignerLoaderService.(Inherited from BasicDesignerLoader.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDesignerLoaderService.DependentLoadComplete(Boolean, ICollection)

Signals that a dependent load has finished.(Inherited from BasicDesignerLoader.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDesignerLoaderService.Reload()

Reloads the design document.(Inherited from BasicDesignerLoader.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDesignerSerializationService.Deserialize(Object)

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDesignerSerializationService.Serialize(ICollection)

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodINameCreationService.CreateName(IContainer, Type)

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

System_CAPS_pubinterfaceSystem_CAPS_privmethodINameCreationService.IsValidName(String)

Gets a value indicating whether the specified name is valid.

System_CAPS_pubinterfaceSystem_CAPS_privmethodINameCreationService.ValidateName(String)

Gets a value indicating whether the specified name is valid.

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.

NamedPermissionSet

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

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: