UriJsonSource Members
Associates a JsonDataSource object with JSON data retrieved from a web service endpoint or a text file.Constructors
| Name | Description |
|---|---|
| UriJsonSource() | Initializes a new instance of the UriJsonSource class with default parameters. |
| UriJsonSource(Uri) | Initializes the UriJsonSource class’s instance and sets its Uri property to the passed value. |
Fields
| Name | Description |
|---|---|
| XML_RootElement static | For internal use. Inherited from JsonSourceBase. |
| XML_Uri | For internal use. |
Properties
| Name | Description |
|---|---|
| AuthenticationInfo | Specifies the Basic authentication parameters that the associated web service endpoint requests. |
| HeaderParameters | Provides access to a collection of parameters that the UriJsonSource includes in requests to a JSON endpoint as custom HTTP headers. |
| PathParameters | Provides access to a collection of parameters that the UriJsonSource adds to a JSON endpoint’s URI as path elements. |
| QueryParameters | Provides access to a collection of parameters that the UriJsonSource passes to a JSON endpoint as HTTP request parameters. |
| RootElement | Obsolete. Gets or sets the name of the root element in the associated data source. Inherited from JsonSourceBase. |
| Uri | Gets or sets the System.Uri object that points to a URI or text file with JSON data. |
Methods
| Name | Description |
|---|---|
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
| Equals(Object) | Checks whether the current UriJsonSource instance is equal to the specified object. |
| GetHashCode() | For internal use. |
| GetJsonString() | Returns JSON data retrieved from the location that the Uri property specifies. |
| GetJsonString(IEnumerable<IParameter>) | |
| GetJsonStringAsync(IEnumerable<IParameter>, CancellationToken) | |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| ToString() | Returns a string that represents the current object. Inherited from Object. |
See Also