ข้ามไปยังเนื้อหา

Interface IKnowledgeCatalog

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Retrieval.Services
Assembly: Cephalon.Retrieval.dll

Exposes the merged set of knowledge collections available to the active retrieval runtime.

public interface IKnowledgeCatalog

Gets the effective collection set after host options and module contributors have both been applied.

IReadOnlyList<KnowledgeCollectionDescriptor> Collections { get; }

IReadOnlyList<KnowledgeCollectionDescriptor>

TryGet(string, out KnowledgeCollectionDescriptor)

Section titled “ TryGet(string, out KnowledgeCollectionDescriptor)”

Attempts to resolve a knowledge collection descriptor by identifier.

bool TryGet(string collectionId, out KnowledgeCollectionDescriptor collection)

collectionId string

The collection identifier to resolve.

collection KnowledgeCollectionDescriptor

When this method returns, contains the resolved collection if found.

bool

true when the collection exists; otherwise false.