本文整理汇总了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;
}
示例2: AdminController
public AdminController(IOrchardServices services, IShapeFactory shapeFactory) {
Services = services;
T = NullLocalizer.Instance;
Logger = NullLogger.Instance;
Shape = shapeFactory;
}
示例3: ContentTypesFilterForms
public ContentTypesFilterForms(
IShapeFactory shapeFactory,
IContentDefinitionManager contentDefinitionManager) {
_contentDefinitionManager = contentDefinitionManager;
Shape = shapeFactory;
T = NullLocalizer.Instance;
}
示例4: ComparisonService
public ComparisonService(IRectangleIntersectionService rectangleIntersectionService, IAdjacencyService adjacencyService, IDependencyResolver resolver, IShapeFactory shapeFactory)
{
_rectangleIntersectionService = rectangleIntersectionService;
_adjacencyService = adjacencyService;
_resolver = resolver;
_shapeFactory = shapeFactory;
}
示例5: UserTaskForms
public UserTaskForms(
IShapeFactory shapeFactory,
IRoleService roleService) {
_roleService = roleService;
Shape = shapeFactory;
T = NullLocalizer.Instance;
}
示例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;
}
示例7: TermsFilterForms
public TermsFilterForms(
IShapeFactory shapeFactory,
ITaxonomyService taxonomyService) {
_taxonomyService = taxonomyService;
Shape = shapeFactory;
T = NullLocalizer.Instance;
}
示例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};
}
示例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;
}
示例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;
}
示例11: PublishedController
public PublishedController(IOrchardServices services, IShapeFactory shapeFactory, IContentManager cms)
{
Services = services;
_cms = cms;
T = NullLocalizer.Instance;
Logger = NullLogger.Instance;
}
示例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;
}
示例13: ContentTypesFilterForms
public ContentTypesFilterForms(IShapeFactory shapeFactory, IIndexProvider indexProvider)
{
_shapeFactory = shapeFactory;
_indexProvider = indexProvider;
T = NullLocalizer.Instance;
}
示例14: BackendController
public BackendController(IOrchardServices orchardServices, IShapeFactory shapeFactory,
IAuthenticationService authenticationService, IFlashochistService flashochistService) {
_orchardServices = orchardServices;
_shapeFactory = shapeFactory;
_authenticationService = authenticationService;
_flashochistService = flashochistService;
}
示例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;
}