GetEntityTypes() static private method

static private GetEntityTypes ( Assembly @assembly, string @namespace = null ) : IEnumerable
@assembly System.Reflection.Assembly
@namespace string
return IEnumerable
コード例 #1
0
 internal JsonModelTypeProvider(Assembly @assembly, string @namespace, JsonEntityContext entityContext)
     : base(@namespace, JsonModel.GetEntityTypes(@assembly, @namespace), null, true)
 {
     EntityContext = entityContext;
 }
コード例 #2
0
 internal JsonModelTypeProvider(Assembly @assembly, JsonEntityContext entityContext)
     : base(null, JsonModel.GetEntityTypes(@assembly), null, true)
 {
     EntityContext = entityContext;
 }