Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SPFeatureService" /> class.
 /// </summary>
 /// <param name="featureDataService">The feature data service.</param>
 /// <param name="roleFeatureDataService">The role feature data service.</param>
 /// <param name="roleDataService">The role data service.</param>
 public SPFeatureService(
     ISPFeatureDataService featureDataService,
     ISPRoleFeatureDataService roleFeatureDataService,
     ISPRoleDataService roleDataService)
 {
     this.featureDataService     = featureDataService;
     this.roleFeatureDataService = roleFeatureDataService;
     this.roleDataService        = roleDataService;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SPRoleService"/> class.
 /// </summary>
 /// <param name="roleDataService">The role data service.</param>
 /// <param name="userDataService">The user data service.</param>
 /// <param name="roleFeatureDataService">The role feature data service.</param>
 public SPRoleService(ISPRoleDataService roleDataService, ISPUserDataService userDataService, ISPRoleFeatureDataService roleFeatureDataService)
 {
     this.sproleDataService        = roleDataService;
     this.spuserDataService        = userDataService;
     this.sproleFeatureDataService = roleFeatureDataService;
 }