Removed T property that was hiding T from base.

This commit is contained in:
Sipke Schoorstra
2015-02-27 22:39:22 +01:00
parent 7eb8ba993a
commit 3fd51616ae

View File

@@ -2,14 +2,10 @@ using System;
using Orchard.DynamicForms.Services;
using Orchard.DynamicForms.Services.Models;
using Orchard.Fields.Fields;
using Orchard.Localization;
namespace Orchard.DynamicForms.Bindings {
public class BooleanFieldBindings : Component, IBindingProvider {
public BooleanFieldBindings() {
T = NullLocalizer.Instance;
}
public void Describe(BindingDescribeContext context) {
context.For<BooleanField>()
.Binding("Value", (contentItem, field, s) => field.Value = IsTrueish(s));