ExcludedContentManagerAll Method |
Namespace: Law.EdaIntegration.NearDuplicate
public IEnumerable<ExcludedContentItem> All()
using Law.EdaIntegration; using Law.EdaIntegration.Case; using Law.EdaIntegration.NearDuplicate; class Sample { public static void Main() { string connectionString = @"Data Source=localhost;Initial Catalog=EDA_Management;Integrated Security=False;User ID=myUserId;Password=myPassword"; EdaIntegration edaIntegration = new EdaIntegration(); edaIntegration.InitializeEnvironment(connectionString); Case edaCase = edaIntegration.Cases.OpenCaseByName("Case 1"); foreach (ExcludedContentItem excludedItem in edaCase.NearDuplicates.Properties.ExcludedContent.All()) { Console.WriteLine("Id: " + excludedItem.Id); Console.WriteLine("Phrase: " + excludedItem.Phrase); Console.WriteLine("DateModified: " + excludedItem.DateModified); Console.WriteLine(); } } } /* This example produces the following results: Id: 1 Phrase: Some text A DateModified: 8/26/2014 9:40:35 AM Id: 2 Phrase: Some text B DateModified: 8/26/2014 9:40:35 AM */