Edit

Share via


ActivityCodeDomSerializationManager Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Manages serialization of activities into designer-generated source code segments before compilation.

public ref class ActivityCodeDomSerializationManager : IServiceProvider, System::ComponentModel::Design::Serialization::IDesignerSerializationManager
public class ActivityCodeDomSerializationManager : IServiceProvider, System.ComponentModel.Design.Serialization.IDesignerSerializationManager
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ActivityCodeDomSerializationManager : IServiceProvider, System.ComponentModel.Design.Serialization.IDesignerSerializationManager
type ActivityCodeDomSerializationManager = class
    interface IDesignerSerializationManager
    interface IServiceProvider
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityCodeDomSerializationManager = class
    interface IDesignerSerializationManager
    interface IServiceProvider
Public Class ActivityCodeDomSerializationManager
Implements IDesignerSerializationManager, IServiceProvider
Inheritance
ActivityCodeDomSerializationManager
Attributes
Implements

Remarks

Note

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

Constructors

ActivityCodeDomSerializationManager(IDesignerSerializationManager)

Initializes a new instance of the ActivityCodeDomSerializationManager class.

Properties

Context

Gets the ContextStack associated with ActivityCodeDomSerializationManager.

Properties

Gets a PropertyDescriptorCollection that contains a read-only collection of type PropertyDescriptor.

SerializationManager

Gets the IDesignerSerializationManager associated with the ActivityCodeDomSerializationManager.

Methods

AddSerializationProvider(IDesignerSerializationProvider)

Adds the specified serialization provider to the serialization manager.

CreateInstance(Type, ICollection, String, Boolean)

Creates an instance of the specified type and adds it to a collection of named instances.

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetInstance(String)

Gets an Object of the specified name, or null if that Object does not exist.

GetName(Object)

Gets the name of the specified Object, or null if the Object has no name.

GetSerializer(Type, Type)

Gets a serializer of the requested type for the specified Object type.

GetService(Type)

Gets an Object that provides a service of the specified Type.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetType(String)

Gets a Type of the specified name.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RemoveSerializationProvider(IDesignerSerializationProvider)

Removes a custom serialization provider from the serialization manager.

ReportError(Object)

Reports an error in serialization.

SetName(Object, String)

Sets the name of the specified existing Object.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Events

ResolveName

Occurs when GetName(Object) cannot locate the specified name in the serialization manager name table.

SerializationComplete

Occurs when serialization is complete.

Extension Methods

GetKeyedService<T>(IServiceProvider, Object)

Get service of type T from the IServiceProvider.

GetKeyedServices(IServiceProvider, Type, Object)

Get an enumeration of services of type serviceType from the IServiceProvider.

GetKeyedServices<T>(IServiceProvider, Object)

Get an enumeration of services of type T from the IServiceProvider.

GetRequiredKeyedService(IServiceProvider, Type, Object)

Get service of type serviceType from the IServiceProvider.

GetRequiredKeyedService<T>(IServiceProvider, Object)

Get service of type T from the IServiceProvider.

CreateAsyncScope(IServiceProvider)

Creates a new AsyncServiceScope that can be used to resolve scoped services.

CreateScope(IServiceProvider)

Creates a new IServiceScope that can be used to resolve scoped services.

GetRequiredService(IServiceProvider, Type)

Get service of type serviceType from the IServiceProvider.

GetRequiredService<T>(IServiceProvider)

Get service of type T from the IServiceProvider.

GetService<T>(IServiceProvider)

Get service of type T from the IServiceProvider.

GetServices(IServiceProvider, Type)

Get an enumeration of services of type serviceType from the IServiceProvider.

GetServices<T>(IServiceProvider)

Get an enumeration of services of type T from the IServiceProvider.

GetFakeLogCollector(IServiceProvider)

Gets the object that collects log records sent to the fake logger.

GetFakeRedactionCollector(IServiceProvider)

Gets the fake redactor collector instance from the dependency injection container.

Applies to