Skip to main content

DocumentManagerServiceExtensions Members

Provides extension methods for IDocumentManagerService implementation to create and control a service’s documents.

Methods

Name Description
CreateDocument(IDocumentManagerService, Object) static Static extension method that creates and returns a IDocument descendant with the specified View Model.
CreateDocument(IDocumentManagerService, String, Object, Object, Boolean) static Obsolete. Static extension method that creates and returns a IDocument descendant with the specified parameters.
CreateDocument(IDocumentManagerService, String, Object, Object) static Static extension method that creates and returns a IDocument descendant with the specified parameters.
CreateDocument(IDocumentManagerService, String, Object) static Static extension method that creates and returns a IDocument descendant with the specified parameters.
CreateDocumentIfNotExistsAndShow(IDocumentManagerService, ref IDocument, String, Object, Object, Object) static Static extension method that creates and displays a new document if a document with the specified parameters does not exist. Otherwise, the document with the specified parameters will be shown.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FindDocument(IDocumentManagerService, Object, Object) static Static extension method that finds and returns a document with the specified parameters.
FindDocument(IDocumentManagerService, Object) static Static extension method that finds and returns a document with the specified parameters.
FindDocumentById(IDocumentManagerService, Object) static Static extension method that retrieves the document by the specified identifier.
FindDocumentByIdOrCreate(IDocumentManagerService, Object, Func<IDocumentManagerService, IDocument>) static Static extension method that retrieves the document by the specified identifier. If a document with such an identifier does not exist, it will be created.
GetDocumentsByParentViewModel(IDocumentManagerService, Object) static Static extension method that returns a collection of documents whose Parent View Model (ISupportParentViewModel) is equal to the specified View Model.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also