C# Class PhotoSharingApp.AppService.Shared.Models.DocumentDB.ReportDocument

The report json document.
Inheritance: BaseDocument
Afficher le fichier Open project: Microsoft/Appsample-Photosharing

Méthodes publiques

Méthode Description
CreateFromContract ( ReportContract contract ) : ReportDocument

Creates a ReportDocument from a ReportContract.

ToContract ( string contentId, ContentType contentType ) : ReportContract

Creates a ReportContract from this document.

Method Details

CreateFromContract() public static méthode

Creates a ReportDocument from a ReportContract.
public static CreateFromContract ( ReportContract contract ) : ReportDocument
contract PhotoSharingApp.Portable.DataContracts.ReportContract
Résultat ReportDocument

ToContract() public méthode

Creates a ReportContract from this document.
public ToContract ( string contentId, ContentType contentType ) : ReportContract
contentId string The id of the content this report is for.
contentType ContentType The content type this report is for.
Résultat PhotoSharingApp.Portable.DataContracts.ReportContract