Class ResponseBase<TResult>
Base class for reponses containing a return value
Inheritance
System.Object
ResponseBase<TResult>
Implements
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: SoundpadConnector.Response
Assembly: SoundpadConnector.dll
Syntax
public abstract class ResponseBase<TResult> : IResponse
Type Parameters
Name | Description |
---|---|
TResult |
Properties
| Improve this Doc View SourceErrorMessage
Error message
Declaration
public string ErrorMessage { get; set; }
Property Value
Type | Description |
---|---|
System. |
IsSuccessful
Indicates if the request was successful
Declaration
public bool IsSuccessful { get; set; }
Property Value
Type | Description |
---|---|
System. |
Value
Response value
Declaration
public TResult Value { get; set; }
Property Value
Type | Description |
---|---|
TResult |
Methods
| Improve this Doc View SourceParse(String)
Parses Soundpad's text response
Declaration
public abstract void Parse(string response)
Parameters
Type | Name | Description |
---|---|---|
System. |
response |