Skip to content

Commit 4b0fcc0

Browse files
committed
readme & code formatting
1 parent 6a8ee19 commit 4b0fcc0

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public static class LookConfiguration
3131
// if not set, then all will be used by default
3232
public static string[] ExamineIndexers { get; set; }
3333

34-
// first function called before any indexers - can update indexingContext/cancel
35-
public static Func<IndexingContext> BeforeIndexing { set; }
34+
// first method called before any indexers - can update cancel
35+
public static Action<IndexingContext> BeforeIndexing { set; }
3636

3737
// creates case sensitive and case insensitive fields (not analyzed) - for use with NameQuery
3838
// if not set, then will use the IPublishedContent.Name

src/Our.Umbraco.Look/LookConfiguration.cs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,7 @@ public static class LookConfiguration
1313
/// Get or set the index names of all the Exmaine indexes to hook into.
1414
/// supplying a null or empty array means no examine indexers will be hooked into (by default if this isn't set, then all examine indexers will be hooked into)
1515
/// </summary>
16-
public static string[] ExamineIndexers
17-
{
18-
get
19-
{
20-
return LookService.GetExamineIndexers();
21-
}
22-
set
23-
{
24-
LookService.SetExamineIndexers(value);
25-
}
26-
}
16+
public static string[] ExamineIndexers { get { return LookService.GetExamineIndexers(); } set { LookService.SetExamineIndexers(value); } }
2717

2818
/// <summary>
2919
/// Set a function that will be executed as the first indexing step to determine if the item should be indexed at all.

0 commit comments

Comments
 (0)