Пример #1
0
 /// <summary>
 /// List of entities. Returns an instance which allows operations on list of entities (filtering, sorting, etc.)
 /// and retrieving of data by calling <see cref="BaseList{TList,TClient,TGetModel,TFilter,TSort}.Get()"/>.
 /// </summary>
 /// <param name="entityId">Entity Id.</param>
 /// <param name="entityType">Entity type.</param>
 /// <returns>Instance of descendant of <see cref="BaseList{TList,TClient,TGetModel,TFilter,TSort}"/>.</returns>
 public LogEntityList List(int entityId, LogEntityType entityType)
 {
     return(new LogEntityList(this, entityId, entityType));
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LogEntityList"/> class.
 /// </summary>
 /// <param name="client">Log client.</param>
 /// <param name="entityId">Entity Id.</param>
 /// <param name="entityType">Entity type.</param>
 public LogEntityList(LogClient client, int entityId, LogEntityType entityType)
     : base(client)
 {
     ListName = $"{entityId}/{entityType}";
 }