C# 클래스 PhotoSharingApp.AppService.Shared.Models.DocumentDB.ReportDocument

The report json document.
상속: BaseDocument
파일 보기 프로젝트 열기: Microsoft/Appsample-Photosharing

공개 메소드들

메소드 설명
CreateFromContract ( ReportContract contract ) : ReportDocument

Creates a ReportDocument from a ReportContract.

ToContract ( string contentId, ContentType contentType ) : ReportContract

Creates a ReportContract from this document.

메소드 상세

CreateFromContract() 공개 정적인 메소드

Creates a ReportDocument from a ReportContract.
public static CreateFromContract ( ReportContract contract ) : ReportDocument
contract PhotoSharingApp.Portable.DataContracts.ReportContract
리턴 ReportDocument

ToContract() 공개 메소드

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.
리턴 PhotoSharingApp.Portable.DataContracts.ReportContract