コード例 #1
0
 public void Apply(ITypeFieldConventionContext context)
 {
     context.SetSource(typeof(AutoSource <>).MakeGenericType(context.Member.FieldInfo.FieldType));
 }
コード例 #2
0
 public void Apply(ITypeFieldConventionContext context)
 {
     context.SetSource <TestDataSource>();
 }
コード例 #3
0
 public void Apply(ITypeFieldConventionContext context)
 {
     context.SetSource(typeof (AutoSource<>).MakeGenericType(context.Member.FieldInfo.FieldType));
 }
コード例 #4
0
 public void Apply(ITypeFieldConventionContext context)
 {
     context.SetSource<TestDataSource>();
 }