2020-01-06 04:49:11 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using ReactiveUI;
|
|
|
|
|
using Splat;
|
|
|
|
|
|
|
|
|
|
namespace Wabbajack
|
|
|
|
|
{
|
|
|
|
|
public static class ConverterRegistration
|
|
|
|
|
{
|
|
|
|
|
public static void Register()
|
|
|
|
|
{
|
|
|
|
|
Locator.CurrentMutable.RegisterConstant(
|
|
|
|
|
new CommandConverter(),
|
|
|
|
|
typeof(IBindingTypeConverter)
|
|
|
|
|
);
|
|
|
|
|
Locator.CurrentMutable.RegisterConstant(
|
|
|
|
|
new IntDownCastConverter(),
|
|
|
|
|
typeof(IBindingTypeConverter)
|
|
|
|
|
);
|
2020-02-08 04:35:08 +00:00
|
|
|
|
Locator.CurrentMutable.RegisterConstant(
|
|
|
|
|
new PercentToDoubleConverter(),
|
|
|
|
|
typeof(IBindingTypeConverter)
|
|
|
|
|
);
|
2020-03-31 22:05:36 +00:00
|
|
|
|
Locator.CurrentMutable.RegisterConstant(
|
2020-04-01 20:25:22 +00:00
|
|
|
|
new AbsolutePathToStringConverter(),
|
2020-03-31 22:05:36 +00:00
|
|
|
|
typeof(IBindingTypeConverter));
|
2020-01-06 04:49:11 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|