WorkflowDesignerLoader WorkflowDesignerLoader WorkflowDesignerLoader WorkflowDesignerLoader Class

Definition

Warning

This API is now obsolete.

Provides common designer loader functionality that can be used to implement custom workflow designer loaders.

public ref class WorkflowDesignerLoader abstract : System::ComponentModel::Design::Serialization::BasicDesignerLoader
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public abstract class WorkflowDesignerLoader : System.ComponentModel.Design.Serialization.BasicDesignerLoader
type WorkflowDesignerLoader = class
    inherit BasicDesignerLoader
Public MustInherit Class WorkflowDesignerLoader
Inherits BasicDesignerLoader
Inheritance
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

Designer loader classes are used to load the designer and save any changes to the state of the designer when the user so instructs. The WorkflowDesignerLoader class can be implemented to support custom loading of a workflow designer and workflow designer components. A workflow designer loader is also responsible for writing changes to an open document back to the storage the loader used when loading the document after the Flush method is called.

Notes to Inheritors

When you inherit from WorkflowDesignerLoader, you must override the following members: FileName, ForceReload(), GetFileReader(String) and GetFileWriter(String).

Constructors

WorkflowDesignerLoader() WorkflowDesignerLoader() WorkflowDesignerLoader() WorkflowDesignerLoader()

When implemented in a derived class, initializes a new instance of the WorkflowDesignerLoader class.

Properties

FileName FileName FileName FileName

When overridden in a derived class, gets the file name of the designer to load.

InDebugMode InDebugMode InDebugMode InDebugMode

Gets a value that indicates whether the workflow should be loaded in debug mode.

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)
TargetFrameworkTypeDescriptionProvider TargetFrameworkTypeDescriptionProvider TargetFrameworkTypeDescriptionProvider TargetFrameworkTypeDescriptionProvider

Gets the TypeDescriptor metadata of the target .NET Framework.

Methods

AddActivityToDesigner(Activity) AddActivityToDesigner(Activity) AddActivityToDesigner(Activity) AddActivityToDesigner(Activity)

Adds an activity to the designer host after it has been added to the parent activities collection.

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

Starts the loading process.

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

Releases all resources used by the WorkflowDesignerLoader.

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()

Writes pending changes to the location that the designer was loaded from.

ForceReload() ForceReload() ForceReload() ForceReload()

When overridden in a derived class, causes WorkflowDesignerLoader to reload the designer.

GetFileReader(String) GetFileReader(String) GetFileReader(String) GetFileReader(String)

When overridden in a derived class, retrieves an object that WorkflowDesignerLoader uses to read from the specified file.

GetFileWriter(String) GetFileWriter(String) GetFileWriter(String) GetFileWriter(String)

When overridden in a derived class, gets an object that the WorkflowDesignerLoader uses to write to the specified file.

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 the WorkflowDesignerLoader with any services required by the designer loader host.

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

Indicates whether the designer should be reloaded.

(Inherited from BasicDesignerLoader)
LoadDesignerLayout(XmlReader, IList) LoadDesignerLayout(XmlReader, IList) LoadDesignerLayout(XmlReader, IList) LoadDesignerLayout(XmlReader, IList)

Applies the serialized layout to the root designer in the current designer host.

LoadDesignerLayoutFromResource(Type, String, IList) LoadDesignerLayoutFromResource(Type, String, IList) LoadDesignerLayoutFromResource(Type, String, IList) LoadDesignerLayoutFromResource(Type, String, IList)

Retrieves the specified resource and calls the LoadDesignerLayout(XmlReader, IList) method that applies the serialized layout to the root designer in the current designer host.

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.

(Inherited from BasicDesignerLoader)
OnBeginUnload() OnBeginUnload() OnBeginUnload() OnBeginUnload()

Notifies the designer loader that unloading is about to begin.

(Inherited from BasicDesignerLoader)
OnEndLoad(Boolean, ICollection) OnEndLoad(Boolean, ICollection) OnEndLoad(Boolean, ICollection) OnEndLoad(Boolean, ICollection)

Called when loading of the designer is completed.

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

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

(Inherited from BasicDesignerLoader)
PerformFlush(IDesignerSerializationManager) PerformFlush(IDesignerSerializationManager) PerformFlush(IDesignerSerializationManager) PerformFlush(IDesignerSerializationManager)

Writes cached changes to the location that the designer was loaded from.

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

Loads the designer from a design document.

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

Queues a reload of the designer.

(Inherited from BasicDesignerLoader)
RemoveActivityFromDesigner(Activity) RemoveActivityFromDesigner(Activity) RemoveActivityFromDesigner(Activity) RemoveActivityFromDesigner(Activity)

Removes an activity from the designer host after it has been added to the parent activities collection.

ReportFlushErrors(ICollection) ReportFlushErrors(ICollection) ReportFlushErrors(ICollection) ReportFlushErrors(ICollection)

Reports errors that occurred while flushing changes.

(Inherited from BasicDesignerLoader)
SaveDesignerLayout(XmlWriter, ActivityDesigner, IList) SaveDesignerLayout(XmlWriter, ActivityDesigner, IList) SaveDesignerLayout(XmlWriter, ActivityDesigner, IList) SaveDesignerLayout(XmlWriter, ActivityDesigner, IList)

Serializes the designer layout.

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)

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)

Applies to