Skip to content

Commit 8ac23e9

Browse files
committed
Comment out experimentalTypes registration and add FIXME
1 parent 84b3aac commit 8ac23e9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Rubberduck.Main/Root/RubberduckIoCInstaller.cs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,12 @@ private void RegisterConfiguration(IWindsorContainer container, Assembly[] assem
177177
.Where(t => Attribute.IsDefined(t, typeof(ExperimentalAttribute))));
178178
}
179179

180-
container.Register(Component.For(typeof(IEnumerable<Type>))
181-
.DependsOn(Dependency.OnComponent<ViewModelBase, GeneralSettingsViewModel>())
182-
.LifestyleSingleton()
183-
.Instance(experimentalTypes));
180+
// FIXME correctly register experimentalFeatureTypes.
181+
// This is probably blocked until GeneralSettingsViewModel is no more newed up in SettingsForm's code-behind
182+
//container.Register(Component.For(typeof(IEnumerable<Type>))
183+
// .DependsOn(Dependency.OnComponent<ViewModelBase, GeneralSettingsViewModel>())
184+
// .LifestyleSingleton()
185+
// .Instance(experimentalTypes));
184186

185187
container.Register(Component.For<IPersistable<SerializableProject>>()
186188
.ImplementedBy<XmlPersistableDeclarations>()

0 commit comments

Comments
 (0)