C# Class Net.DDP.Server.ReactiveDocumentHelper

Datei anzeigen Open project: jamie-tigereye/DDPServer.Net

Public Methods

Method Description
ToReactiveDocument ( this document ) : ReactiveDocument

Attempts to convert any document inheriting from the IDocument interface to a reactive document without passing an id as a parameter

ToReactiveDocument ( this document, string id ) : ReactiveDocument

Attempts to convert any object to a reactive document. An id for the document must be passed as a parameter

Method Details

ToReactiveDocument() public static method

Attempts to convert any document inheriting from the IDocument interface to a reactive document without passing an id as a parameter
public static ToReactiveDocument ( this document ) : ReactiveDocument
document this
return ReactiveDocument

ToReactiveDocument() public static method

Attempts to convert any object to a reactive document. An id for the document must be passed as a parameter
public static ToReactiveDocument ( this document, string id ) : ReactiveDocument
document this
id string
return ReactiveDocument