Base interface for serializable MindFusion.Diagramming objects.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
SyntaxC#
Copy Code
|
|---|
public interface IPersists |
Visual Basic
Copy Code
|
|---|
Public Interface IPersists |
RemarksSerializable MindFusion.Diagramming classes implement explicitly this interface to hide it from the public. Explicit implementation however has the restrictions that the implemented methods are private and non-polymorphic. To avoid these limitations each implementing class provides another set of methods corresponding to the IPersists methods, which are declared as internal and retain polymorphism.
ExampleThe following sample class illustrates this technique:
C#
Copy Code
|
|---|
class PersistingItem : IPersists |
Inheritors
See Also