本文整理汇总了C#中IShapeFactory类的典型用法代码示例。如果您正苦于以下问题:C# IShapeFactory类的具体用法?C# IShapeFactory怎么用?C# IShapeFactory使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IShapeFactory类属于命名空间,在下文中一共展示了IShapeFactory类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: AdminUserController
public AdminUserController(
IRepository<RoleRecord> roleRepository,
IOrderService orderService,
ICampaignService campaignService,
IRepository<CurrencyRecord> currencyRepository,
IMembershipService membershipService,
ShellSettings shellSettings,
IOrchardServices services,
IUserService userService,
ISiteService siteService,
IShapeFactory shapeFactory)
{
_roleRepository = roleRepository;
_orderService = orderService;
_campaignService = campaignService;
_currencyRepository = currencyRepository;
_membershipService = membershipService;
_shellSettings = shellSettings;
Services = services;
_siteService = siteService;
_userService = userService;
T = NullLocalizer.Instance;
Shape = shapeFactory;
}
开发者ID:omidam81,项目名称:Ver1.0,代码行数:25,代码来源:AdminUserController.cs
示例2: AdminController
public AdminController(IOrchardServices services, IShapeFactory shapeFactory) {
Services = services;
T = NullLocalizer.Instance;
Logger = NullLogger.Instance;
Shape = shapeFactory;
}
开发者ID:akhurst,项目名称:ricealumni,代码行数:7,代码来源:AdminController.cs
示例3: ContentTypesFilterForms
public ContentTypesFilterForms(
IShapeFactory shapeFactory,
IContentDefinitionManager contentDefinitionManager) {
_contentDefinitionManager = contentDefinitionManager;
Shape = shapeFactory;
T = NullLocalizer.Instance;
}
开发者ID:anycall,项目名称:Orchard,代码行数:7,代码来源:ContentTypesFilter.cs
示例4: ComparisonService
public ComparisonService(IRectangleIntersectionService rectangleIntersectionService, IAdjacencyService adjacencyService, IDependencyResolver resolver, IShapeFactory shapeFactory)
{
_rectangleIntersectionService = rectangleIntersectionService;
_adjacencyService = adjacencyService;
_resolver = resolver;
_shapeFactory = shapeFactory;
}
开发者ID:JasonvanBrackel,项目名称:Rectangles,代码行数:7,代码来源:ComparisonService.cs
示例5: UserTaskForms
public UserTaskForms(
IShapeFactory shapeFactory,
IRoleService roleService) {
_roleService = roleService;
Shape = shapeFactory;
T = NullLocalizer.Instance;
}
开发者ID:jdages,项目名称:AndrewsHouse,代码行数:7,代码来源:UserTaskForms.cs
示例6: SceneNodeFactory
public SceneNodeFactory(IShapeFactory shapeFactory, IResourceManager resourceManager)
{
if (shapeFactory == null) throw new ArgumentNullException("shapeFactory");
if (resourceManager == null) throw new ArgumentNullException("resourceManager");
_shapeFactory = shapeFactory;
_resourceManager = resourceManager;
}
开发者ID:dgopena,项目名称:Starter3D.Base,代码行数:7,代码来源:SceneNodeFactory.cs
示例7: TermsFilterForms
public TermsFilterForms(
IShapeFactory shapeFactory,
ITaxonomyService taxonomyService) {
_taxonomyService = taxonomyService;
Shape = shapeFactory;
T = NullLocalizer.Instance;
}
开发者ID:Higea,项目名称:Orchard,代码行数:7,代码来源:TermsFilterForms.cs
示例8: BuildShapeContext
protected BuildShapeContext(IShape shape, IContent content, string groupId, IShapeFactory shapeFactory) {
Shape = shape;
ContentItem = content.ContentItem;
New = shapeFactory;
GroupId = groupId;
FindPlacement = (partType, differentiator, defaultLocation) => new PlacementInfo {Location = defaultLocation, Source = String.Empty};
}
开发者ID:juaqaai,项目名称:CompanyGroup,代码行数:7,代码来源:BuildShapeContext.cs
示例9: WikiPageController
public WikiPageController(IOrchardServices orchardServices,
IRepository<WikiPageAttachmentRecord> repoWikiAttachment,
ITagService tagService,
IAuthorizationService authorizationService,
INotifier notifier,
ISiteService siteService,
ISearchService searchService,
IShapeFactory shapeFactory,
IWikiPageService wikiPageService,
IMediaService mediaService
){
_orchardServices = orchardServices;
_repoWikiAttachment = repoWikiAttachment;
_tagService = tagService;
_authorizationService = authorizationService;
_notifier = notifier;
_searchService = searchService;
_siteService = siteService;
_wikiPageService = wikiPageService;
_mediaService = mediaService;
Logger = NullLogger.Instance;
Shape = shapeFactory;
}
开发者ID:kevinthant,项目名称:wiki,代码行数:25,代码来源:WikiPageController.cs
示例10: AdminController
public AdminController(
IAuthorizationService authorizationService,
ITypeFeatureProvider typeFeatureProvider,
ISession session,
IStringLocalizer<AdminController> stringLocalizer,
IHtmlLocalizer<AdminController> htmlLocalizer,
ISiteService siteService,
IShapeFactory shapeFactory,
RoleManager<Role> roleManager,
IRoleProvider roleProvider,
INotifier notifier,
IEnumerable<IPermissionProvider> permissionProviders
)
{
TH = htmlLocalizer;
_notifier = notifier;
_roleProvider = roleProvider;
_typeFeatureProvider = typeFeatureProvider;
_permissionProviders = permissionProviders;
_roleManager = roleManager;
_shapeFactory = shapeFactory;
_siteService = siteService;
T = stringLocalizer;
_authorizationService = authorizationService;
_session = session;
}
开发者ID:jchenga,项目名称:Orchard2,代码行数:26,代码来源:AdminController.cs
示例11: PublishedController
public PublishedController(IOrchardServices services, IShapeFactory shapeFactory, IContentManager cms)
{
Services = services;
_cms = cms;
T = NullLocalizer.Instance;
Logger = NullLogger.Instance;
}
开发者ID:andrewmyhre,项目名称:Orchard.SimplePreview,代码行数:7,代码来源:PublishedController.cs
示例12: UpdateEditorContext
public UpdateEditorContext(IShape model, IContent content, IUpdateModel updater, string groupInfoId, IShapeFactory shapeFactory, ShapeTable shapeTable, string path)
: base(model, content, groupInfoId, shapeFactory) {
ShapeTable = shapeTable;
Updater = updater;
Path = path;
}
开发者ID:anycall,项目名称:Orchard,代码行数:7,代码来源:UpdateEditorContext.cs
示例13: ContentTypesFilterForms
public ContentTypesFilterForms(IShapeFactory shapeFactory, IIndexProvider indexProvider)
{
_shapeFactory = shapeFactory;
_indexProvider = indexProvider;
T = NullLocalizer.Instance;
}
开发者ID:Lombiq,项目名称:Helpful-Extensions,代码行数:7,代码来源:SearchFilter.cs
示例14: BackendController
public BackendController(IOrchardServices orchardServices, IShapeFactory shapeFactory,
IAuthenticationService authenticationService, IFlashochistService flashochistService) {
_orchardServices = orchardServices;
_shapeFactory = shapeFactory;
_authenticationService = authenticationService;
_flashochistService = flashochistService;
}
开发者ID:ryankeeter,项目名称:Flashochist.Web,代码行数:7,代码来源:BackendController.cs
示例15: PlacementService
public PlacementService(
IContentManager contentManager,
ISiteThemeService siteThemeService,
IExtensionManager extensionManager,
IShapeFactory shapeFactory,
IShapeTableLocator shapeTableLocator,
RequestContext requestContext,
IEnumerable<IContentPartDriver> contentPartDrivers,
IEnumerable<IContentFieldDriver> contentFieldDrivers,
IVirtualPathProvider virtualPathProvider,
IWorkContextAccessor workContextAccessor
)
{
_contentManager = contentManager;
_siteThemeService = siteThemeService;
_extensionManager = extensionManager;
_shapeFactory = shapeFactory;
_shapeTableLocator = shapeTableLocator;
_requestContext = requestContext;
_contentPartDrivers = contentPartDrivers;
_contentFieldDrivers = contentFieldDrivers;
_virtualPathProvider = virtualPathProvider;
_workContextAccessor = workContextAccessor;
Logger = NullLogger.Instance;
}
开发者ID:wezmag,项目名称:Coevery,代码行数:26,代码来源:PlacementService.cs
示例16: DefaultPropertyFormater
public DefaultPropertyFormater(
IShapeFactory shapeFactory,
IEnumerable<IPropertyEditor> propertyEditors) {
_shapeFactory = shapeFactory;
_propertyEditors = propertyEditors;
}
开发者ID:anycall,项目名称:Orchard,代码行数:7,代码来源:DefaultPropertyFormater.cs
示例17: ReportPostAdminController
public ReportPostAdminController(
IOrchardServices orchardServices,
IForumService forumService,
IThreadService threadService,
IPostService postService,
ISiteService siteService,
IShapeFactory shapeFactory,
IAuthorizationService authorizationService,
IAuthenticationService authenticationService,
ISubscriptionService subscriptionService,
IReportPostService reportPostService,
ICountersService countersService
)
{
_orchardServices = orchardServices;
_forumService = forumService;
_threadService = threadService;
_postService = postService;
_siteService = siteService;
_subscriptionService = subscriptionService;
_authorizationService = authorizationService;
_authenticationService = authenticationService;
_reportPostService = reportPostService;
_countersService = countersService;
T = NullLocalizer.Instance;
Shape = shapeFactory;
}
开发者ID:jon123,项目名称:NGM.Forum,代码行数:27,代码来源:ReportPostAdminController.cs
示例18: AdminController
public AdminController(
IContentManager contentManager,
IContentItemDisplayManager contentItemDisplayManager,
IContentDefinitionManager contentDefinitionManager,
ISiteService siteService,
INotifier notifier,
ISession session,
IShapeFactory shapeFactory,
ILogger<AdminController> logger,
IHtmlLocalizer<AdminController> localizer,
IAuthorizationService authorizationService,
IEnumerable<IContentAdminFilter> contentAdminFilters
)
{
_contentAdminFilters = contentAdminFilters;
_authorizationService = authorizationService;
_notifier = notifier;
_contentItemDisplayManager = contentItemDisplayManager;
_session = session;
_siteService = siteService;
_contentManager = contentManager;
_contentDefinitionManager = contentDefinitionManager;
T = localizer;
New = shapeFactory;
Logger = logger;
}
开发者ID:geertdoornbos,项目名称:Orchard2,代码行数:27,代码来源:AdminController.cs
示例19: CheckoutController
public CheckoutController(IWebStoreServices webStoreServices, IOrchardServices orchardServices, IShapeFactory shapeFactory)
{
this._localizer = NullLocalizer.Instance;
this._webStoreServices = webStoreServices;
this._orchardServices = orchardServices;
this._shapeFactory = shapeFactory;
}
开发者ID:mattlucas,项目名称:BuckeyeIndustries,代码行数:7,代码来源:CheckoutController.cs
示例20: ProfilerFilter
public ProfilerFilter(WorkContext workContext, IAuthorizer authorizer, IShapeFactory shapeFactory, IProfilerService profiler)
{
this.workContext = workContext;
this.shapeFactory = shapeFactory;
this.authorizer = authorizer;
this.profiler = profiler;
}
开发者ID:bigfont,项目名称:CertifiedOverheadCrane,代码行数:7,代码来源:ProfilerFilter.cs
注:本文中的IShapeFactory类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论