C# (CSharp) System.ComponentModel.Design.Serialization MemberRelationshipService - 5 examples found. These are the top rated real world C# (CSharp) examples of System.ComponentModel.Design.Serialization.MemberRelationshipService extracted from open source projects. You can rate examples to help us improve the quality of examples.
Related
Related in langs
A member relationship service is used by a serializer to announce that one property is related to a property on another object. Consider a code based serialization scheme where code is of the following form: object1.Property1 = object2.Property2 Upon interpretation of this code, Property1 on object1 will be set to the return value of object2.Property2. But the relationship between these two objects is lost. Serialization schemes that wish to maintain this relationship may install a MemberRelationshipService into the serialization manager. When an object is deserialized this serivce will be notified of these relationships. It is up to the service to act on these notifications if it wishes. During serialization, the service is also consulted. If a relationship exists the same relationship is maintained by the serializer.