当前位置: 首页>>代码示例>>C#>>正文


C# IShapeFactory类代码示例

本文整理汇总了C#中IShapeFactory的典型用法代码示例。如果您正苦于以下问题:C# IShapeFactory类的具体用法?C# IShapeFactory怎么用?C# IShapeFactory使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


IShapeFactory类属于命名空间,在下文中一共展示了IShapeFactory类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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


注:本文中的IShapeFactory类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。