Beispiel #1
0
		/// <summary>
		/// Create a new Response using the Result list provided.
		/// </summary>
		/// <param name="results">The list of Results that will be contained in this Response.</param>
		/// <param name="schemaVersion">The version of the schema that was used to validate.</param>
		public ResponseElement( ResultElement[] results, XacmlVersion schemaVersion )
			: base( XacmlSchema.Context, schemaVersion )
		{
			_results = new ResultCollection();
			if( results != null )
			{
				foreach( ResultElement result in results )
				{
					_results.Add( result );
				}
			}
		}
Beispiel #2
0
		/// <summary>
		/// Adds an object to the end of the CollectionBase.
		/// </summary>
		/// <param name="value">The Object to be added to the end of the CollectionBase. </param>
		/// <returns>The CollectionBase index at which the value has been added.</returns>
		public int Add( ResultElement value )  
		{
			return( List.Add( value ) );
		}
Beispiel #3
0
 /// <summary>
 /// Adds an object to the end of the CollectionBase.
 /// </summary>
 /// <param name="value">The Object to be added to the end of the CollectionBase. </param>
 /// <returns>The CollectionBase index at which the value has been added.</returns>
 public int Add(ResultElement value)
 {
     return(List.Add(value));
 }