/// <summary> /// Creates a runtime evaluable target. /// </summary> /// <param name="target"></param> public Target(pol.TargetElement target) { _target = target; _resources = new ResourceTargetItems((pol.ResourcesElement)_target.Resources); _subjects = new SubjectTargetItems((pol.SubjectsElement)_target.Subjects); _actions = new ActionTargetItems((pol.ActionsElement)_target.Actions); }
/// <summary> /// Creates a runtime evaluable target. /// </summary> /// <param name="target"></param> public Target( pol.TargetElement target ) { _target = target; _resources = new ResourceTargetItems( (pol.ResourcesElement)_target.Resources ); _subjects = new SubjectTargetItems( (pol.SubjectsElement)_target.Subjects ); _actions = new ActionTargetItems( (pol.ActionsElement)_target.Actions ); }