Show / Hide Table of Contents

Class ResponseBase<TResult>

Base class for reponses containing a return value

Inheritance
System.Object
ResponseBase<TResult>
BooleanResponse
NumberResponse
PlayStatusResponse
SoundlistResponse
TextResponse
Implements
IResponse
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 Source

ErrorMessage

Error message

Declaration
public string ErrorMessage { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IsSuccessful

Indicates if the request was successful

Declaration
public bool IsSuccessful { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Value

Response value

Declaration
public TResult Value { get; set; }
Property Value
Type Description
TResult

Methods

| Improve this Doc View Source

Parse(String)

Parses Soundpad's text response

Declaration
public abstract void Parse(string response)
Parameters
Type Name Description
System.String response

Implements

IResponse
  • Improve this Doc
  • View Source
Back to top Generated by DocFX