Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
		/// <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 );
		}