Class BaseRequestBuilder
The base request builder class.
Inheritance
System.Object
BaseRequestBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.Graph
Assembly: Microsoft.Graph.CoreSDK.dll
Syntax
public class BaseRequestBuilder
Constructors
View SourceBaseRequestBuilder(String, IBaseClient)
Initializes a new instance of the BaseRequestBuilder class.
Declaration
public BaseRequestBuilder(string requestUrl, IBaseClient client)
Parameters
Type | Name | Description |
---|---|---|
System.String | requestUrl | The URL for the built request. |
IBaseClient | client | The IBaseClient for handling requests. |
Properties
View SourceClient
Gets the IBaseClient for handling requests.
Declaration
public IBaseClient Client { get; }
Property Value
Type | Description |
---|---|
IBaseClient | The client associated with this builder. |
RequestUrl
Gets the URL for the built request, without query string.
Declaration
public string RequestUrl { get; }
Property Value
Type | Description |
---|---|
System.String | The request url route associated with this builder. |
Methods
View SourceAppendSegmentToRequestUrl(String)
Gets a URL that is the request builder's request URL with the segment appended.
Declaration
public string AppendSegmentToRequestUrl(string urlSegment)
Parameters
Type | Name | Description |
---|---|---|
System.String | urlSegment | The segment to append to the request URL. |
Returns
Type | Description |
---|---|
System.String | A URL that is the request builder's request URL with the segment appended. |