diff --git a/Interfaces/IXTagProvider.cs b/Interfaces/IXTagProvider.cs
index 07a540f..d359e62 100644
--- a/Interfaces/IXTagProvider.cs
+++ b/Interfaces/IXTagProvider.cs
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
+using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR;
using xDataService.Configuration;
@@ -54,10 +55,12 @@ namespace xTagService.Interfaces
///
///
///
+ ///
///
Task Add(
XTagDto model,
- string connectionId = null
+ string connectionId = null,
+ CancellationToken cancellationToken = default
);
///
@@ -70,7 +73,8 @@ namespace xTagService.Interfaces
Task Update(
int id,
XTagDto model,
- string connectionId = null
+ string connectionId = null,
+ CancellationToken cancellationToken = default
);
///
@@ -81,7 +85,8 @@ namespace xTagService.Interfaces
///
Task Remove(
int id,
- string connectionId = null
+ string connectionId = null,
+ CancellationToken cancellationToken = default
);
///
@@ -89,51 +94,58 @@ namespace xTagService.Interfaces
///
///
///
- Task Get(int id);
+ Task Get(
+ int id,
+ CancellationToken cancellationToken = default
+ );
///
/// Retrieve Specified Tag by it's Label ...
///
///
///
- Task GetTag(string tag);
+ Task GetTag(
+ string tag,
+ CancellationToken cancellationToken = default
+ );
///
/// Retrieve All Items as Dto ...
///
///
- Task> GetAll();
+ Task> GetAll(
+ CancellationToken cancellationToken = default
+ );
///
/// Find Specified Item by Condition ...
///
///
///
- Task FindOne(Expression> whereClause);
+ Task FindOne(
+ Expression> whereClause,
+ CancellationToken cancellationToken = default
+ );
///
/// Find Many Items based on Conditions ...
///
///
///
- Task> FindMany(Expression> whereClause);
+ Task> FindMany(
+ Expression> whereClause,
+ CancellationToken cancellationToken = default
+ );
///
/// Query Model retrieving Dtos ...
///
///
///
- Task> Query(XQuery query);
-
- ///
- /// Query Conditional Retrieving Dtos ...
- ///
- ///
- ///
- ///
- Task> ConditionalQuery(
+ Task> Query(
XQuery query,
- Expression> whereClause
+ Expression> whereClause = null,
+ CancellationToken cancellationToken = default
);
///