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

            _resources = new ResourceTargetItems((ResourcesElement)target1.Resources);
            _subjects  = new SubjectTargetItems((SubjectsElement)target1.Subjects);
            _actions   = new ActionTargetItems((ActionsElement)target1.Actions);
        }