Exemplo n.º 1
0
 /// <summary>
 /// Constructs a new <see cref="MobileAppContentFileCommitRequestBuilder"/>.
 /// </summary>
 /// <param name="requestUrl">The URL for the request.</param>
 /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
 /// <param name="fileEncryptionInfo">A fileEncryptionInfo parameter for the OData method call.</param>
 public MobileAppContentFileCommitRequestBuilder(
     string requestUrl,
     IBaseClient client,
     FileEncryptionInfo fileEncryptionInfo)
     : base(requestUrl, client)
 {
     this.SetParameter("fileEncryptionInfo", fileEncryptionInfo, true);
 }
 /// <summary>
 /// Gets the request builder for MobileAppContentFileCommit.
 /// </summary>
 /// <returns>The <see cref="IMobileAppContentFileCommitRequestBuilder"/>.</returns>
 public IMobileAppContentFileCommitRequestBuilder Commit(
     FileEncryptionInfo fileEncryptionInfo = null)
 {
     return(new MobileAppContentFileCommitRequestBuilder(
                this.AppendSegmentToRequestUrl("microsoft.graph.commit"),
                this.Client,
                fileEncryptionInfo));
 }