public void Apply(ITypeFieldConventionContext context) { context.SetSource(typeof(AutoSource <>).MakeGenericType(context.Member.FieldInfo.FieldType)); }
public void Apply(ITypeFieldConventionContext context) { context.SetSource <TestDataSource>(); }
public void Apply(ITypeFieldConventionContext context) { context.SetSource(typeof (AutoSource<>).MakeGenericType(context.Member.FieldInfo.FieldType)); }
public void Apply(ITypeFieldConventionContext context) { context.SetSource<TestDataSource>(); }