Esempio n. 1
0
 /// <summary>
 /// Create a new <see cref="PolicyCreationRequest"/> from an existing <see cref="PolicyCreationRequest"/>
 /// </summary>
 /// <param name="pcr">The <see cref="PolicyCreationRequest"/> to clone</param>
 protected PolicyCreationRequest(PolicyCreationRequest pcr)
 {
     Subjects    = pcr.Subjects;
     Actions     = pcr.Actions;
     Resources   = pcr.Resources;
     Effect      = pcr.Effect;
     Description = pcr.Description;
     Conditions  = pcr.Conditions;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of a <see cref="Policy"/>
 /// </summary>
 public Policy(PolicyCreationRequest pcr) : base(pcr)
 {
     Id = string.Empty;
 }