Exemplo n.º 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;
		}
Exemplo n.º 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);
 }
Exemplo n.º 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);
 }
		/// <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;
		}
Exemplo n.º 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);
 }
		/// <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;
		}
		/// <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;
		}
Exemplo n.º 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);
 }