Changeset 6363
- Timestamp:
- 06/06/11 10:52:38 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/TypeSelector.cs
-
Property
svn:mergeinfo
set to
(toggle deleted branches)
/branches/GP.Grammar.Editor/HeuristicLab.Core.Views/3.3/TypeSelector.cs merged eligible /branches/CloningRefactoring/HeuristicLab.Core.Views/3.3/TypeSelector.cs 4656-4721 /branches/DataAnalysis Refactoring/HeuristicLab.Core.Views/3.3/TypeSelector.cs 5471-5808 /branches/DataAnalysis SolutionEnsembles/HeuristicLab.Core.Views/3.3/TypeSelector.cs 5815-6180 /branches/DataAnalysis/HeuristicLab.Core.Views/3.3/TypeSelector.cs 4458-4459,4462,4464 /branches/GP.Symbols (TimeLag, Diff, Integral)/HeuristicLab.Core.Views/3.3/TypeSelector.cs 5060 /branches/NET40/sources/HeuristicLab.Core.Views/3.3/TypeSelector.cs 5138-5162 /branches/ParallelEngine/HeuristicLab.Core.Views/3.3/TypeSelector.cs 5175-5192 /branches/SuccessProgressAnalysis/HeuristicLab.Core.Views/3.3/TypeSelector.cs 5370-5682 /branches/VNS/HeuristicLab.Core.Views/3.3/TypeSelector.cs 5594-5752 /branches/histogram/HeuristicLab.Core.Views/3.3/TypeSelector.cs 5959-6341
r6019 r6363 86 86 87 87 public virtual void Configure(Type baseType, bool showNotInstantiableTypes, bool showGenericTypes) { 88 Configure(new List<Type>() { baseType }, showNotInstantiableTypes, showGenericTypes, true); 88 Configure(baseType, showNotInstantiableTypes, showGenericTypes, (t) => { return true; }); 89 } 90 91 public virtual void Configure(Type baseType, bool showNotInstantiableTypes, bool showGenericTypes, Func<Type, bool> typeCondition) { 92 Configure(new List<Type>() { baseType }, showNotInstantiableTypes, showGenericTypes, true, typeCondition); 89 93 } 90 94 91 95 public virtual void Configure(IEnumerable<Type> baseTypes, bool showNotInstantiableTypes, bool showGenericTypes, bool assignableToAllTypes) { 96 Configure(baseTypes, showNotInstantiableTypes, showGenericTypes, assignableToAllTypes, (t) => { return true; }); 97 } 98 99 public virtual void Configure(IEnumerable<Type> baseTypes, bool showNotInstantiableTypes, bool showGenericTypes, bool assignableToAllTypes, Func<Type, bool> typeCondition) { 92 100 if (baseTypes == null) throw new ArgumentNullException(); 93 101 if (InvokeRequired) 94 Invoke(new Action<IEnumerable<Type>, bool, bool, bool >(Configure), baseTypes, showNotInstantiableTypes, showGenericTypes, assignableToAllTypes);102 Invoke(new Action<IEnumerable<Type>, bool, bool, bool, Func<Type, bool>>(Configure), baseTypes, showNotInstantiableTypes, showGenericTypes, assignableToAllTypes, typeCondition); 95 103 else { 96 104 this.baseTypes = baseTypes; … … 120 128 121 129 var types = from t in ApplicationManager.Manager.GetTypes(BaseTypes, plugin, !ShowNotInstantiableTypes, assignableToAllTypes) 130 where typeCondition(t) 122 131 orderby t.Name ascending 123 132 select t; -
Property
svn:mergeinfo
set to
(toggle deleted branches)
Note: See TracChangeset
for help on using the changeset viewer.