forked from reactiveui/ReactiveUI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRegistrations.cs
More file actions
24 lines (23 loc) · 1.2 KB
/
Registrations.cs
File metadata and controls
24 lines (23 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ReactiveUI
{
public class Registrations : IWantsToRegisterStuff
{
public void Register(Action<Func<object>, Type> registerFunction)
{
registerFunction(() => new INPCObservableForProperty(), typeof(ICreatesObservableForProperty));
registerFunction(() => new IROObservableForProperty(), typeof(ICreatesObservableForProperty));
registerFunction(() => new POCOObservableForProperty(), typeof(ICreatesObservableForProperty));
registerFunction(() => new EqualityTypeConverter(), typeof(IBindingTypeConverter));
registerFunction(() => new StringConverter(), typeof(IBindingTypeConverter));
registerFunction(() => new DefaultViewLocator(), typeof(IViewLocator));
registerFunction(() => new CanActivateViewFetcher(), typeof(IActivationForViewFetcher));
registerFunction(() => new CreatesCommandBindingViaEvent(), typeof(ICreatesCommandBinding));
registerFunction(() => new CreatesCommandBindingViaCommandParameter(), typeof(ICreatesCommandBinding));
}
}
}