//----------------------------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- namespace System.IdentityModel.Protocols.WSTrust { using System.Collections.Generic; /// /// Defines the auth:AdditionalContext element. /// public class AdditionalContext { List _contextItems = new List(); /// /// Initializes an instance of /// public AdditionalContext() { } /// /// Initializes an instance of /// /// Collection of ContextItems /// Input argument 'items' is null. public AdditionalContext( IEnumerable items ) { if ( items == null ) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull( "items" ); } foreach ( ContextItem item in items ) { _contextItems.Add( item ); } } /// /// Gets the Collection of items. /// public IList Items { get { return _contextItems; } } } }