예제 #1
0
파일: Store.cs 프로젝트: jhorback/Harbor
 public override void SetAddPageTypeFilter(AddPageTypeFilterContext context)
 {
     context.IsPrimary(true)
         .SuggestPageType<ProductListing>()
         .ExcludePageType<Store>()
         .ExcludePageType<Catalog>();
 }
예제 #2
0
파일: Artwork.cs 프로젝트: jhorback/Harbor
 public override void SetAddPageTypeFilter(AddPageTypeFilterContext context)
 {
     context.IsPrimary(false);
 }
예제 #3
0
파일: PageType.cs 프로젝트: jhorback/Harbor
 /// <summary>
 /// Sets various options used when adding this page type.
 /// </summary>
 /// <param name="context"></param>
 public abstract void SetAddPageTypeFilter(AddPageTypeFilterContext context);