Uredi

Deli z drugimi prek


ActivityCodeDomSerializer Class

Definition

Caution

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

Represents a class that provides the CodeDOM serialization services to an activity at design time.

public ref class ActivityCodeDomSerializer : System::Workflow::ComponentModel::Serialization::DependencyObjectCodeDomSerializer
public class ActivityCodeDomSerializer : System.Workflow.ComponentModel.Serialization.DependencyObjectCodeDomSerializer
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ActivityCodeDomSerializer : System.Workflow.ComponentModel.Serialization.DependencyObjectCodeDomSerializer
type ActivityCodeDomSerializer = class
    inherit DependencyObjectCodeDomSerializer
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityCodeDomSerializer = class
    inherit DependencyObjectCodeDomSerializer
Public Class ActivityCodeDomSerializer
Inherits DependencyObjectCodeDomSerializer
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.

ActivityCodeDomSerializer controls the generation of component initialization code for the Activity class at design time.

Constructors

ActivityCodeDomSerializer()

Initializes a new instance of the ActivityCodeDomSerializer class.

Fields

MarkupFileNameProperty

The name of the markup file to write to.

Methods

Deserialize(IDesignerSerializationManager, Object)

Deserializes the specified serialized CodeDOM object into an object.

(Inherited from CodeDomSerializer)
DeserializeExpression(IDesignerSerializationManager, String, CodeExpression)

Deserializes the specified expression.

(Inherited from CodeDomSerializer)
DeserializeInstance(IDesignerSerializationManager, Type, Object[], String, Boolean)

Returns an instance of the given type.

(Inherited from CodeDomSerializerBase)
DeserializePropertiesFromResources(IDesignerSerializationManager, Object, Attribute[])

Deserializes the properties of the specified object that match the specified filter, if a filter was specified.

(Inherited from CodeDomSerializer)
DeserializeStatement(IDesignerSerializationManager, CodeStatement)

Deserializes the specified statement.

(Inherited from CodeDomSerializer)
DeserializeStatementToInstance(IDesignerSerializationManager, CodeStatement)

Deserializes a single statement.

(Inherited from CodeDomSerializer)
Equals(Object)

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

(Inherited from Object)
GetExpression(IDesignerSerializationManager, Object)

Returns an expression for the given object.

(Inherited from CodeDomSerializerBase)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetSerializer(IDesignerSerializationManager, Object)

Locates a serializer for the given object value.

(Inherited from CodeDomSerializerBase)
GetSerializer(IDesignerSerializationManager, Type)

Locates a serializer for the given type.

(Inherited from CodeDomSerializerBase)
GetTargetComponentName(CodeStatement, CodeExpression, Type)

Determines which statement group the given statement should belong to.

(Inherited from CodeDomSerializer)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetUniqueName(IDesignerSerializationManager, Object)

Returns a unique name for the given object.

(Inherited from CodeDomSerializerBase)
IsSerialized(IDesignerSerializationManager, Object)

Returns a value indicating whether the given object has been serialized.

(Inherited from CodeDomSerializerBase)
IsSerialized(IDesignerSerializationManager, Object, Boolean)

Returns a value indicating whether the given object has been serialized, optionally considering preset expressions.

(Inherited from CodeDomSerializerBase)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Serialize(IDesignerSerializationManager, Object)

Serializes the specified object into a CodeDOM object.

SerializeAbsolute(IDesignerSerializationManager, Object)

Serializes the given object, accounting for default values.

(Inherited from CodeDomSerializer)
SerializeCreationExpression(IDesignerSerializationManager, Object, Boolean)

Returns an expression representing the creation of the given object.

(Inherited from CodeDomSerializerBase)
SerializeEvent(IDesignerSerializationManager, CodeStatementCollection, Object, EventDescriptor)

Serializes the given event into the given statement collection.

(Inherited from CodeDomSerializerBase)
SerializeEvents(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[])

Serializes all events of the specified object.

(Inherited from CodeDomSerializer)
SerializeMember(IDesignerSerializationManager, Object, MemberDescriptor)

Serializes the given member on the given object.

(Inherited from CodeDomSerializer)
SerializeMemberAbsolute(IDesignerSerializationManager, Object, MemberDescriptor)

Serializes the given member, accounting for default values.

(Inherited from CodeDomSerializer)
SerializeProperties(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[])

Serializes all properties for the specified object, using the specified filter.

(Inherited from CodeDomSerializer)
SerializePropertiesToResources(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[])

Serializes the specified properties to resources.

(Inherited from CodeDomSerializer)
SerializeProperty(IDesignerSerializationManager, CodeStatementCollection, Object, PropertyDescriptor)

Serializes a property on the given object.

(Inherited from CodeDomSerializerBase)
SerializeResource(IDesignerSerializationManager, String, Object)

Serializes the given object into a resource bundle using the given resource name.

(Inherited from CodeDomSerializer)
SerializeResourceInvariant(IDesignerSerializationManager, String, Object)

Serializes the given object into a resource bundle using the given resource name using invariant culture.

(Inherited from CodeDomSerializer)
SerializeToExpression(IDesignerSerializationManager, Object)

Serializes the specified value to a CodeDOM expression.

(Inherited from CodeDomSerializer)
SerializeToReferenceExpression(IDesignerSerializationManager, Object)
Obsolete.
Obsolete.

Serializes the specified value to a CodeDOM expression.

(Inherited from CodeDomSerializer)
SerializeToResourceExpression(IDesignerSerializationManager, Object)

Serializes the given object into an expression.

(Inherited from CodeDomSerializerBase)
SerializeToResourceExpression(IDesignerSerializationManager, Object, Boolean)

Serializes the given object into an expression appropriate for the invariant culture.

(Inherited from CodeDomSerializerBase)
SetExpression(IDesignerSerializationManager, Object, CodeExpression)

Associates an object with an expression.

(Inherited from CodeDomSerializerBase)
SetExpression(IDesignerSerializationManager, Object, CodeExpression, Boolean)

Associates an object with an expression, optionally specifying a preset expression.

(Inherited from CodeDomSerializerBase)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also