Пример #1
0
 /// <summary>
 /// Creates a IExpressionCollection, with the items contained in a IReadWriteExpressionCollection
 /// </summary>
 /// <param name="items"></param>
 public ExpressionCollection(ExpressionReadWriteCollection items)
 {
     if (items == null) throw new ArgumentNullException("items");
     foreach (IExpression item in items)
     {
         List.Add(item);
     }
 }
Пример #2
0
 /// <summary>
 /// Creates a IExpressionCollection, with the items contained in a IReadWriteExpressionCollection
 /// </summary>
 /// <param name="items"></param>
 public ExpressionCollection(ExpressionReadWriteCollection items)
 {
     if (items == null)
     {
         throw new ArgumentNullException("items");
     }
     foreach (IExpression item in items)
     {
         List.Add(item);
     }
 }
		/// <summary>
		/// Creates a ConditionElement with the given parameters
		/// </summary>
		/// <param name="functionId"></param>
		/// <param name="arguments"></param>
		/// <param name="schemaVersion"></param>
		public ConditionElementReadWrite(string functionId, ExpressionReadWriteCollection arguments, XacmlVersion schemaVersion)
			: base( functionId, arguments, schemaVersion )
		{
		}
Пример #4
0
 /// <summary>
 /// Creates a ConditionElement with the given parameters
 /// </summary>
 /// <param name="functionId"></param>
 /// <param name="arguments"></param>
 /// <param name="schemaVersion"></param>
 public ConditionElementReadWrite(string functionId, ExpressionReadWriteCollection arguments, XacmlVersion schemaVersion)
     : base(functionId, arguments, schemaVersion)
 {
 }
Пример #5
0
 /// <summary>
 /// Creates a ConditionElement with the given parameters
 /// </summary>
 /// <param name="functionId"></param>
 /// <param name="arguments"></param>
 /// <param name="schemaVersion"></param>
 protected ApplyBaseReadWrite(string functionId, ExpressionReadWriteCollection arguments, XacmlVersion schemaVersion)
     : base(XacmlSchema.Policy, schemaVersion)
 {
     _functionId = functionId;
     _arguments = arguments;
 }
Пример #6
0
 /// <summary>
 /// Creates a ConditionElement with the given parameters
 /// </summary>
 /// <param name="functionId"></param>
 /// <param name="arguments"></param>
 /// <param name="schemaVersion"></param>
 protected ApplyBaseReadWrite(string functionId, ExpressionReadWriteCollection arguments, XacmlVersion schemaVersion)
     : base(XacmlSchema.Policy, schemaVersion)
 {
     _functionId = functionId;
     _arguments  = arguments;
 }