last ...
This commit is contained in:
@@ -1,60 +1,10 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using xDataService.Interfaces;
|
||||
using System.Collections.Generic;
|
||||
using xContentService.Models.Dtos;
|
||||
using xContentService.Models.Entities;
|
||||
|
||||
namespace xContentService.Interfaces.Dtos
|
||||
{
|
||||
public interface IXContentRepositoryService : IXBaseRepositoryService<XContent, XContentDto, Guid>
|
||||
{
|
||||
//
|
||||
#region Enrichers ...
|
||||
/// <summary>
|
||||
/// Enrich Specified Item ...
|
||||
/// </summary>
|
||||
/// <param name="source"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
Task<XContentDto> Enrich(
|
||||
XContent source,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// Enrich Specified Item ...
|
||||
/// </summary>
|
||||
/// <param name="source"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
Task<XContentDto> Enrich(
|
||||
XContentDto source,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// Enrich Specified Items ...
|
||||
/// </summary>
|
||||
/// <param name="sources"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
Task<IEnumerable<XContentDto>> EnrichRange(
|
||||
IEnumerable<XContent> sources,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
|
||||
/// <summary>
|
||||
/// Enrich Specified Items ...
|
||||
/// </summary>
|
||||
/// <param name="sources"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
Task<IEnumerable<XContentDto>> EnrichRange(
|
||||
IEnumerable<XContentDto> sources,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
#endregion
|
||||
}
|
||||
{ }
|
||||
}
|
||||
@@ -26,6 +26,21 @@ namespace xContentService.Interfaces
|
||||
string connectionId = null,
|
||||
string language = null,
|
||||
CancellationToken cancellationToken = default
|
||||
);
|
||||
);
|
||||
|
||||
// /// <summary>
|
||||
// /// Create Content Used Locales for Creating Posts ...
|
||||
// /// </summary>
|
||||
// /// <param name="item"></param>
|
||||
// /// <param name="userInfo"></param>
|
||||
// /// <param name="connectionId"></param>
|
||||
// /// <param name="cancellationToken"></param>
|
||||
// /// <returns></returns>
|
||||
// public Task<XContentDto> Create(
|
||||
// XContentDto item,
|
||||
// XUserClaimsInfoDto userInfo = null,
|
||||
// string connectionId = null,
|
||||
// CancellationToken cancellationToken = default
|
||||
// );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user