本文整理汇总了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;
}
示例2: DiscountRulesHasAllProductsController
public DiscountRulesHasAllProductsController(IDiscountService discountService,
ISettingService settingService, IPermissionService permissionService)
{
this._discountService = discountService;
this._settingService = settingService;
this._permissionService = permissionService;
}
示例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;
}
示例4: CategoryController
public CategoryController(ICategoryService categoryService,
IUserProvider userProvider,
IPermissionService permissionService)
: base(userProvider, permissionService) {
this.categoryService = categoryService;
}
示例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;
}
示例6: ScheduleTaskController
public ScheduleTaskController(IScheduleTaskService scheduleTaskService, IPermissionService permissionService, IDateTimeHelper dateTimeHelper)
{
this._scheduleTaskService = scheduleTaskService;
this._permissionService = permissionService;
this._dateTimeHelper = dateTimeHelper;
T = NullLocalizer.Instance;
}
示例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;
}
示例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;
}
示例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;
}
示例10: PermissionController
public PermissionController(
IDepartmentService _departmentService
, IPermissionService _permissionService)
{
permissionService = _permissionService;
departmentService = _departmentService;
}
示例11: CommonController
public CommonController(IUserService userService, IPermissionService permissionService,
IWorkContext workContextService)
{
this._userService = userService;
this._permissionService = permissionService;
this._workContextService = workContextService;
}
示例12: MyBlobsController
public MyBlobsController(IPermissionService permissionService, IBlobService blobService, IBlobSetService blobSetService, IEventService eventService)
{
this.permissionService = permissionService;
this.blobService = blobService;
this.blobSetService = blobSetService;
this.eventService = eventService;
}
示例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;
}
示例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;
}
示例15: RoleService
public RoleService(IMVCForumContext context, ICategoryPermissionForRoleService categoryPermissionForRoleService, IPermissionService permissionService, IGlobalPermissionForRoleService globalPermissionForRoleService)
{
_categoryPermissionForRoleService = categoryPermissionForRoleService;
_permissionService = permissionService;
_globalPermissionForRoleService = globalPermissionForRoleService;
_context = context as MVCForumContext;
}