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


C# IPermissionService类代码示例

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


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

示例1: CommonController

 public CommonController(IGeolocationService geolocationservice, IPermissionService permissionService, SiteSettings siteSettings, IWorkContext workContext)
 {
     _geolocationService = geolocationservice;
     _permissionService = permissionService;
     _siteSettings = siteSettings;
     _workContext = workContext;
 }
开发者ID:revolutionaryarts,项目名称:wewillgather,代码行数:7,代码来源:CommonController.cs

示例2: DiscountRulesHasAllProductsController

 public DiscountRulesHasAllProductsController(IDiscountService discountService,
     ISettingService settingService, IPermissionService permissionService)
 {
     this._discountService = discountService;
     this._settingService = settingService;
     this._permissionService = permissionService;
 }
开发者ID:nguyentu1982,项目名称:quancu,代码行数:7,代码来源:DiscountRulesHasAllProductsController.cs

示例3: ShippingController

 public ShippingController(IShippingService shippingService, 
     ShippingSettings shippingSettings,
     ISettingService settingService,
     IAddressService addressService,
     ICountryService countryService,
     IStateProvinceService stateProvinceService,
     ILocalizationService localizationService, 
     IPermissionService permissionService,
      ILocalizedEntityService localizedEntityService,
     ILanguageService languageService,
     IPluginFinder pluginFinder,
     IWebHelper webHelper)
 {
     this._shippingService = shippingService;
     this._shippingSettings = shippingSettings;
     this._settingService = settingService;
     this._addressService = addressService;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._localizedEntityService = localizedEntityService;
     this._languageService = languageService;
     this._pluginFinder = pluginFinder;
     this._webHelper = webHelper;
 }
开发者ID:RickRosser,项目名称:SF011515,代码行数:26,代码来源:ShippingController.cs

示例4: CategoryController

		public CategoryController(ICategoryService categoryService,
									IUserProvider userProvider,
									IPermissionService permissionService)
			: base(userProvider, permissionService) {

			this.categoryService = categoryService;
		}
开发者ID:razzles67,项目名称:NForum,代码行数:7,代码来源:CategoryController.cs

示例5: MiscFacebookShopController

 public MiscFacebookShopController(IAclService aclService,
     ICacheManager cacheManager,
     CatalogSettings catalogSettings,
     ICategoryService categoryService,
     ICurrencyService currencyService,
     ILocalizationService localizationService,
     IPermissionService permissionService,
     IPictureService pictureService,
     IPriceCalculationService priceCalculationService,
     IPriceFormatter priceFormatter,
     IProductService productService,
     IStoreContext storeContext,
     IStoreMappingService storeMappingService,
     ITaxService taxService,
     IWorkContext workContext)
 {
     this._aclService = aclService;
     this._cacheManager = cacheManager;
     this._catalogSettings = catalogSettings;
     this._categoryService = categoryService;
     this._currencyService = currencyService;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._pictureService = pictureService;
     this._priceCalculationService = priceCalculationService;
     this._priceFormatter = priceFormatter;
     this._productService = productService;
     this._storeContext = storeContext;
     this._storeMappingService = storeMappingService;
     this._taxService = taxService;
     this._workContext = workContext;
 }
开发者ID:haithemChkel,项目名称:nopCommerce_33,代码行数:32,代码来源:MiscFacebookShopController.cs

示例6: ScheduleTaskController

 public ScheduleTaskController(IScheduleTaskService scheduleTaskService, IPermissionService permissionService, IDateTimeHelper dateTimeHelper)
 {
     this._scheduleTaskService = scheduleTaskService;
     this._permissionService = permissionService;
     this._dateTimeHelper = dateTimeHelper;
     T = NullLocalizer.Instance;
 }
开发者ID:omidghorbani,项目名称:SmartStoreNET,代码行数:7,代码来源:ScheduleTaskController.cs

示例7: SettingController

 public SettingController(ISettingService settingService,
     ICountryService countryService, IStateProvinceService stateProvinceService,
     IAddressService addressService, ITaxCategoryService taxCategoryService,
     ICurrencyService currencyService, IPictureService pictureService, 
     ILocalizationService localizationService, IDateTimeHelper dateTimeHelper,
     IOrderService orderService, IEncryptionService encryptionService,
     IThemeProvider themeProvider, ICustomerService customerService, 
     ICustomerActivityService customerActivityService, IPermissionService permissionService,
     IWebHelper webHelper, IFulltextService fulltextService, 
     IMaintenanceService maintenanceService, IStoreService storeService,
     IWorkContext workContext, IGenericAttributeService genericAttributeService)
 {
     this._settingService = settingService;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._addressService = addressService;
     this._taxCategoryService = taxCategoryService;
     this._currencyService = currencyService;
     this._pictureService = pictureService;
     this._localizationService = localizationService;
     this._dateTimeHelper = dateTimeHelper;
     this._orderService = orderService;
     this._encryptionService = encryptionService;
     this._themeProvider = themeProvider;
     this._customerService = customerService;
     this._customerActivityService = customerActivityService;
     this._permissionService = permissionService;
     this._webHelper = webHelper;
     this._fulltextService = fulltextService;
     this._maintenanceService = maintenanceService;
     this._storeService = storeService;
     this._workContext = workContext;
     this._genericAttributeService = genericAttributeService;
 }
开发者ID:haithemChkel,项目名称:nopCommerce_33,代码行数:34,代码来源:SettingController.cs

示例8: ShippingByWeightController

 public ShippingByWeightController(IShippingService shippingService,
     IStoreService storeService,
     ICountryService countryService,
     IStateProvinceService stateProvinceService,
     ShippingByWeightSettings shippingByWeightSettings,
     IShippingByWeightService shippingByWeightService,
     ISettingService settingService,
     ILocalizationService localizationService,
     IPermissionService permissionService,
     ICurrencyService currencyService,
     CurrencySettings currencySettings,
     IMeasureService measureService,
     MeasureSettings measureSettings)
 {
     this._shippingService = shippingService;
     this._storeService = storeService;
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._shippingByWeightSettings = shippingByWeightSettings;
     this._shippingByWeightService = shippingByWeightService;
     this._settingService = settingService;
     this._localizationService = localizationService;
     this._permissionService = permissionService;
     this._currencyService = currencyService;
     this._currencySettings = currencySettings;
     this._measureService = measureService;
     this._measureSettings = measureSettings;
 }
开发者ID:RobinHoody,项目名称:nopCommerce,代码行数:28,代码来源:ShippingByWeightController.cs

示例9: CustomerRoleController

        public CustomerRoleController(ICustomerService customerService,
            ILocalizationService localizationService, 
            ICustomerActivityService customerActivityService,
            IPermissionService permissionService,
            IProductService productService,
            ICategoryService categoryService,
            IManufacturerService manufacturerService,
            IStoreService storeService,
            IVendorService vendorService,
            IWorkContext workContext,
            ILanguageService languageService,
            ILocalizedEntityService localizedEntityService,
            ICacheManager cacheManager)
		{
            this._customerService = customerService;
            this._localizationService = localizationService;
            this._customerActivityService = customerActivityService;
            this._permissionService = permissionService;
            this._productService = productService;
            this._categoryService = categoryService;
            this._manufacturerService = manufacturerService;
            this._storeService = storeService;
            this._vendorService = vendorService;
            this._workContext = workContext;
            this._languageService = languageService;
            this._localizedEntityService = localizedEntityService;
            this._cacheManager = cacheManager;
        }
开发者ID:cesaremarasco,项目名称:CelCommerce,代码行数:28,代码来源:CustomerRoleController.cs

示例10: PermissionController

 public PermissionController(
       IDepartmentService _departmentService
     , IPermissionService _permissionService)
 {
     permissionService = _permissionService;
     departmentService = _departmentService;
 }
开发者ID:navy235,项目名称:adzhi,代码行数:7,代码来源:PermissionController.cs

示例11: CommonController

 public CommonController(IUserService userService, IPermissionService permissionService,
     IWorkContext workContextService)
 {
     this._userService = userService;
     this._permissionService = permissionService;
     this._workContextService = workContextService;
 }
开发者ID:jonathanpeng,项目名称:NextCMS,代码行数:7,代码来源:CommonController.cs

示例12: MyBlobsController

 public MyBlobsController(IPermissionService permissionService, IBlobService blobService, IBlobSetService blobSetService, IEventService eventService)
 {
     this.permissionService = permissionService;
     this.blobService = blobService;
     this.blobSetService = blobSetService;
     this.eventService = eventService;
 }
开发者ID:ShuHuiC,项目名称:BlobShare,代码行数:7,代码来源:MyBlobsController.cs

示例13: VendorController

 public VendorController(ICustomerService customerService, 
     ILocalizationService localizationService,
     IVendorService vendorService, 
     IPermissionService permissionService,
     IUrlRecordService urlRecordService,
     ILanguageService languageService,
     ILocalizedEntityService localizedEntityService,
     VendorSettings vendorSettings,
     IPictureService pictureService,
     IProductService productService,
     IWorkContext workContext,
     IGenericAttributeService genericAttributeService,
     IWorkflowMessageService workflowMessageService)
 {
     this._customerService = customerService;
     this._localizationService = localizationService;
     this._vendorService = vendorService;
     this._permissionService = permissionService;
     this._urlRecordService = urlRecordService;
     this._languageService = languageService;
     this._localizedEntityService = localizedEntityService;
     this._vendorSettings = vendorSettings;
     this._pictureService = pictureService;
     this._productService = productService;
     this._workContext = workContext;
     this._workflowMessageService = workflowMessageService;
     this._genericAttributeService = genericAttributeService;
 }
开发者ID:slcoder,项目名称:AntiquesWeb,代码行数:28,代码来源:VendorController.cs

示例14: CountryController

 public CountryController(ICountryService countryService,
     IStateProvinceService stateProvinceService,
     ICityService cityService,
     IZipcodeService zipcodeService,
     ILocalizationService localizationService,
     IAddressService addressService,
     IPermissionService permissionService,
     ILocalizedEntityService localizedEntityService,
     ILanguageService languageService,
     IStoreService storeService,
     IStoreMappingService storeMappingService,
     IExportManager exportManager,
     IImportManager importManager)
 {
     this._countryService = countryService;
     this._stateProvinceService = stateProvinceService;
     this._cityService = cityService;
     this._zipcodeService = zipcodeService;
     this._localizationService = localizationService;
     this._addressService = addressService;
     this._permissionService = permissionService;
     this._localizedEntityService = localizedEntityService;
     this._languageService = languageService;
     this._storeService = storeService;
     this._storeMappingService = storeMappingService;
     this._exportManager = exportManager;
     this._importManager = importManager;
 }
开发者ID:LaOrigin,项目名称:Leorigin,代码行数:28,代码来源:CountryController.cs

示例15: RoleService

 public RoleService(IMVCForumContext context, ICategoryPermissionForRoleService categoryPermissionForRoleService, IPermissionService permissionService, IGlobalPermissionForRoleService globalPermissionForRoleService)
 {
     _categoryPermissionForRoleService = categoryPermissionForRoleService;
     _permissionService = permissionService;
     _globalPermissionForRoleService = globalPermissionForRoleService;
     _context = context as MVCForumContext;
 }
开发者ID:ivanchen52,项目名称:mvcforum,代码行数:7,代码来源:RoleService.cs


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