Uređivanje

Dijeli putem


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
MemberCodeDomSerializer

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

Initializes a new instance of the MemberCodeDomSerializer class.

Methods

DeserializeExpression(IDesignerSerializationManager, String, CodeExpression)

Deserializes the given expression into an in-memory object.

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

Returns an instance of the given type.

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

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

(Inherited from CodeDomSerializerBase)
DeserializeStatement(IDesignerSerializationManager, CodeStatement)

Deserializes a statement by interpreting and executing a CodeDOM statement.

(Inherited from CodeDomSerializerBase)
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)
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, Boolean)

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

(Inherited from CodeDomSerializerBase)
IsSerialized(IDesignerSerializationManager, Object)

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

(Inherited from CodeDomSerializerBase)
MemberwiseClone()

Creates a shallow copy of the current Object.

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

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

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 the specified events into the given statement collection.

(Inherited from CodeDomSerializerBase)
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[])

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

(Inherited from CodeDomSerializerBase)
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 CodeDomSerializerBase)
SerializeResourceInvariant(IDesignerSerializationManager, String, Object)

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

(Inherited from CodeDomSerializerBase)
SerializeToExpression(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)
SerializeToResourceExpression(IDesignerSerializationManager, Object)

Serializes the given object into an expression.

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

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

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

Associates an object with an expression.

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

Determines if the given member should be serialized.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also