コード例 #1
0
		/// <summary>
		/// Gets the element key for a specified configuration element.
		/// </summary>
		/// <param name="element">The ConfigurationElement to return the key for.</param>
		/// <returns>An Object that acts as the key for the specified ConfigurationElement.</returns>
		protected override object GetElementKey(APGenElement element)
		{
			return ((APGenIndex)element).Name;
		}
コード例 #2
0
 /// <summary>
 /// Gets the element key for a specified configuration element.
 /// </summary>
 /// <param name="element">The ConfigurationElement to return the key for.</param>
 /// <returns>An Object that acts as the key for the specified ConfigurationElement.</returns>
 protected override object GetElementKey(APGenElement element)
 {
     return(((APGenIndex)element).Name);
 }
コード例 #3
0
 /// <summary>
 /// Gets the element key for a specified configuration element.
 /// </summary>
 /// <param name="element">The ConfigurationElement to return the key for.</param>
 /// <returns>An Object that acts as the key for the specified ConfigurationElement.</returns>
 protected override object GetElementKey(APGenElement element)
 {
     return(((KeyValueAPGenElement)element).Key);
 }
コード例 #4
0
		/// <summary>
		/// Gets the element key for a specified configuration element.
		/// </summary>
		/// <param name="element">The ConfigurationElement to return the key for.</param>
		/// <returns>An Object that acts as the key for the specified ConfigurationElement.</returns>
		protected override object GetElementKey(APGenElement element)
		{
			return ((KeyValueAPGenElement)element).Key;
		}
コード例 #5
0
 /// <summary>
 /// Gets the element key for a specified configuration element.
 /// </summary>
 /// <param name="element">The ConfigurationElement to return the key for.</param>
 /// <returns>An Object that acts as the key for the specified ConfigurationElement.</returns>
 protected override object GetElementKey(APGenElement element)
 {
     return(((APGenRelation)element).Name);
 }
コード例 #6
0
		/// <summary>
		/// Gets the element key for a specified configuration element.
		/// </summary>
		/// <param name="element">The ConfigurationElement to return the key for.</param>
		/// <returns>An Object that acts as the key for the specified ConfigurationElement.</returns>
		protected override object GetElementKey(APGenElement element)
		{
			return ((APGenEnumItem)element).Name;
		}
コード例 #7
0
		/// <summary>
		/// Gets the element key for a specified configuration element.
		/// </summary>
		/// <param name="element">The ConfigurationElement to return the key for.</param>
		/// <returns>An Object that acts as the key for the specified ConfigurationElement.</returns>
		protected override object GetElementKey(APGenElement element)
		{
			return ((APGenRelation)element).Name;
		}
コード例 #8
0
 /// <summary>
 /// Gets the element key for a specified configuration element.
 /// </summary>
 /// <param name="element">The ConfigurationElement to return the key for.</param>
 /// <returns>An Object that acts as the key for the specified ConfigurationElement.</returns>
 protected override object GetElementKey(APGenElement element)
 {
     return(((APGenNamespace)element).Import);
 }