Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/15/15 20:27:59 (10 years ago)
Author:
mkommend
Message:

#2294: Implemented type discovery within certain assemblies in ApplicationManagers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Interfaces/IApplicationManager.cs

    r11171 r11771  
    2222using System;
    2323using System.Collections.Generic;
     24using System.Reflection;
    2425
    2526namespace HeuristicLab.PluginInfrastructure {
     
    7071
    7172    /// <summary>
    72     /// Discovers all types implementing or inheriting <paramref name="type"/> (directly and indirectly) that are declaed in any assembly of <paramref name="plugin"/>.
     73    /// Discovers all types implementing or inheriting <paramref name="type"/> (directly and indirectly) that are declared in any assembly of <paramref name="plugin"/>.
    7374    /// </summary>
    7475    /// <param name="type">The type to discover.</param>
     
    7980
    8081    /// <summary>
    81     /// Discovers all types implementing or inheriting all or any type in <paramref name="types"/> (directly and indirectly) that are declaed in any assembly of <paramref name="plugin"/>.
     82    /// Discovers all types implementing or inheriting all or any type in <paramref name="types"/> (directly and indirectly) that are declared in any assembly of <paramref name="plugin"/>.
    8283    /// </summary>
    8384    /// <param name="types">The types to discover.</param>
     
    8788    /// <returns>An enumerable of discovered types.</returns>
    8889    IEnumerable<Type> GetTypes(IEnumerable<Type> types, IPluginDescription plugin, bool onlyInstantiable = true, bool includeGenericTypeDefinitions = false, bool assignableToAllTypes = true);
     90
     91
     92    /// <summary>
     93    /// Discovers all types implementing or inheriting <paramref name="type"/> (directly and indirectly) that are declared in the<paramref name="assembly"/>.
     94    /// </summary>
     95    /// <param name="type">The type to discover.</param>
     96    /// <param name="assembly">The declaring assembly.</param>
     97    /// <param name="onlyInstantiable">Return only types that are instantiable (instance, abstract... are not returned)</param>
     98    /// <returns>An enumerable of discovered types.</returns>
     99    IEnumerable<Type> GetTypes(Type type, Assembly assembly, bool onlyInstantiable = true, bool includeGenericTypeDefinitions = false);
     100
     101    /// <summary>
     102    /// Discovers all types implementing or inheriting all or any type in <paramref name="types"/> (directly and indirectly) that are declaed in any assembly of <paramref name="plugin"/>.
     103    /// </summary>
     104    /// <param name="types">The types to discover.</param>
     105    /// <param name="assembly">The declaring assembly.</param>
     106    /// <param name="onlyInstantiable">Return only types that are instantiable (instance, abstract... are not returned)</param>
     107    /// /// <param name="assignableToAllTypes">Specifies if discovered types must implement or inherit all given <paramref name="types"/>.</param>
     108    /// <returns>An enumerable of discovered types.</returns>
     109    IEnumerable<Type> GetTypes(IEnumerable<Type> types, Assembly assembly, bool onlyInstantiable = true, bool includeGenericTypeDefinitions = false, bool assignableToAllTypes = true);
    89110
    90111    /// <summary>
Note: See TracChangeset for help on using the changeset viewer.