MemberCodeDomSerializer MemberCodeDomSerializer MemberCodeDomSerializer MemberCodeDomSerializer Class

Definition

Provides the base class for serializing a reflection primitive within the object graph.

public ref class MemberCodeDomSerializer abstract : System::ComponentModel::Design::Serialization::CodeDomSerializerBase
public abstract class MemberCodeDomSerializer : System.ComponentModel.Design.Serialization.CodeDomSerializerBase
type MemberCodeDomSerializer = class
    inherit CodeDomSerializerBase
Public MustInherit Class MemberCodeDomSerializer
Inherits CodeDomSerializerBase
Inheritance
MemberCodeDomSerializerMemberCodeDomSerializerMemberCodeDomSerializerMemberCodeDomSerializer

Remarks

The MemberCodeDomSerializer class is a "meta" serializer; that is, is a serializer that does not serialize part of the object graph, but instead serializes a reflection primitive within the object graph. For example, a MemberCodeDomSerializer would be associated with a PropertyDescriptor in order for it to serialize a property. MemberCodeDomSerializer objects enable constructs, such as properties and events, to be logical, rather than requiring them to have a physical backing in code.

Unlike CodeDomSerializer classes, MemberCodeDomSerializer objects must be able to deserialize.

Constructors

MemberCodeDomSerializer() MemberCodeDomSerializer() MemberCodeDomSerializer() MemberCodeDomSerializer()

Initializes a new instance of the MemberCodeDomSerializer class.

Methods

DeserializeExpression(IDesignerSerializationManager, String, CodeExpression) DeserializeExpression(IDesignerSerializationManager, String, CodeExpression) DeserializeExpression(IDesignerSerializationManager, String, CodeExpression) DeserializeExpression(IDesignerSerializationManager, String, CodeExpression)

Deserializes the given expression into an in-memory object.

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

Returns an instance of the given type.

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

Deserializes properties on the given object from the invariant culture's resource bundle.

(Inherited from CodeDomSerializerBase)
DeserializeStatement(IDesignerSerializationManager, CodeStatement) DeserializeStatement(IDesignerSerializationManager, CodeStatement) DeserializeStatement(IDesignerSerializationManager, CodeStatement) DeserializeStatement(IDesignerSerializationManager, CodeStatement)

Deserializes a statement by interpreting and executing a CodeDOM statement.

(Inherited from CodeDomSerializerBase)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetExpression(IDesignerSerializationManager, Object) GetExpression(IDesignerSerializationManager, Object) GetExpression(IDesignerSerializationManager, Object) GetExpression(IDesignerSerializationManager, Object)

Returns an expression for the given object.

(Inherited from CodeDomSerializerBase)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetSerializer(IDesignerSerializationManager, Object) GetSerializer(IDesignerSerializationManager, Object) GetSerializer(IDesignerSerializationManager, Object) GetSerializer(IDesignerSerializationManager, Object)

Locates a serializer for the given object value.

(Inherited from CodeDomSerializerBase)
GetSerializer(IDesignerSerializationManager, Type) GetSerializer(IDesignerSerializationManager, Type) GetSerializer(IDesignerSerializationManager, Type) GetSerializer(IDesignerSerializationManager, Type)

Locates a serializer for the given type.

(Inherited from CodeDomSerializerBase)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetUniqueName(IDesignerSerializationManager, Object) GetUniqueName(IDesignerSerializationManager, Object) GetUniqueName(IDesignerSerializationManager, Object) GetUniqueName(IDesignerSerializationManager, Object)

Returns a unique name for the given object.

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

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

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

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

(Inherited from CodeDomSerializerBase)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Serialize(IDesignerSerializationManager, Object, MemberDescriptor, CodeStatementCollection) Serialize(IDesignerSerializationManager, Object, MemberDescriptor, CodeStatementCollection) Serialize(IDesignerSerializationManager, Object, MemberDescriptor, CodeStatementCollection) Serialize(IDesignerSerializationManager, Object, MemberDescriptor, CodeStatementCollection)

Serializes the given member descriptor on the given value to a statement collection.

SerializeCreationExpression(IDesignerSerializationManager, Object, Boolean) SerializeCreationExpression(IDesignerSerializationManager, Object, Boolean) SerializeCreationExpression(IDesignerSerializationManager, Object, Boolean) SerializeCreationExpression(IDesignerSerializationManager, Object, Boolean)

Returns an expression representing the creation of the given object.

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

Serializes the given event into the given statement collection.

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

Serializes the specified events into the given statement collection.

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

Serializes the properties on the given object into the given statement collection.

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

Serializes the properties on the given object into the invariant culture's resource bundle.

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

Serializes a property on the given object.

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

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

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

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

(Inherited from CodeDomSerializerBase)
SerializeToExpression(IDesignerSerializationManager, Object) SerializeToExpression(IDesignerSerializationManager, Object) SerializeToExpression(IDesignerSerializationManager, Object) SerializeToExpression(IDesignerSerializationManager, Object)

Serializes the given object into an expression.

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

Serializes the given object into an expression.

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

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

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

Associates an object with an expression.

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

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

(Inherited from CodeDomSerializerBase)
ShouldSerialize(IDesignerSerializationManager, Object, MemberDescriptor) ShouldSerialize(IDesignerSerializationManager, Object, MemberDescriptor) ShouldSerialize(IDesignerSerializationManager, Object, MemberDescriptor) ShouldSerialize(IDesignerSerializationManager, Object, MemberDescriptor)

Determines if the given member should be serialized.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also