//****************************************************************************************************** // IdentifiableItem.cs - Gbtc // // Copyright © 2012, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See // the NOTICE file distributed with this work for additional information regarding copyright ownership. // The GPA licenses this file to you under the MIT License (MIT), the "License"; you may // not use this file except in compliance with the License. You may obtain a copy of the License at: // // http://www.opensource.org/licenses/MIT // // Unless agreed to in writing, the subject software distributed under the License is distributed on an // "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. Refer to the // License for the specific language governing permissions and limitations. // // Code Modification History: // ---------------------------------------------------------------------------------------------------- // 03/12/2007 - Pinal C. Patel // Generated original version of source code. // 09/08/2008 - J. Ritchie Carroll // Converted to C#. // 11/05/2008 - Pinal C. Patel // Edited code comments. // 09/14/2009 - Stephen C. Wills // Added new header and license agreement. // 12/14/2012 - Starlynn Danyelle Gilliam // Modified Header. // //****************************************************************************************************** namespace GSF { /// /// Represents an identifiable item. /// /// Type of the identifier to be used for identification. /// Type of the item that is to be made identifiable. public class IdentifiableItem { #region [ Members ] // Fields /// /// Defines the identifier of the . /// public TId ID; /// /// Defines the buffer being made identifiable by its associated . /// public TItem Item; #endregion #region [ Constructors ] /// /// Initializes a new instance of the class. /// public IdentifiableItem() { } /// /// Initializes a new instance of the class. /// /// The identifier of the . /// The item being associated with the to make it identifiable. public IdentifiableItem(TId id, TItem item) { ID = id; Item = item; } #endregion } }