Base interface for serializable MindFusion.Diagramming objects.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C#
![]() |
---|
public interface IPersists |
Visual Basic
![]() |
---|
Public Interface IPersists |
Serializable 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.
The following sample class illustrates this technique:
C#
![]() |
---|
class PersistingItem : IPersists |