Skip to content

Commit 4d22427

Browse files
committed
refactor(IAssistant): Removed unused Assistant interface
1 parent f66a823 commit 4d22427

File tree

3 files changed

+18
-134
lines changed

3 files changed

+18
-134
lines changed

Scripts/Services/Assistant/v1/Assistant.cs

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
namespace IBM.Watson.DeveloperCloud.Services.Assistant.v1
2828
{
29-
public class Assistant : IWatsonService, IAssistant
29+
public class Assistant : IWatsonService
3030
{
3131
private const string ServiceId = "Assistantv1";
3232
private fsSerializer _serializer = new fsSerializer();
@@ -68,6 +68,23 @@ public string VersionDate
6868
set { _versionDate = value; }
6969
}
7070

71+
#region Callback delegates
72+
/// <summary>
73+
/// Success callback delegate.
74+
/// </summary>
75+
/// <typeparam name="T">Type of the returned object.</typeparam>
76+
/// <param name="response">The returned object.</param>
77+
/// <param name="customData">user defined custom data including raw json.</param>
78+
public delegate void SuccessCallback<T>(T response, Dictionary<string, object> customData);
79+
80+
/// <summary>
81+
/// Fail callback delegate.
82+
/// </summary>
83+
/// <param name="error">The error object.</param>
84+
/// <param name="customData">User defined custom data</param>
85+
public delegate void FailCallback(RESTConnector.Error error, Dictionary<string, object> customData);
86+
#endregion
87+
7188
/// <summary>
7289
/// Assistant constructor.
7390
/// </summary>

Scripts/Services/Assistant/v1/IAssistant.cs

Lines changed: 0 additions & 120 deletions
This file was deleted.

Scripts/Services/Assistant/v1/IAssistant.cs.meta

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)