GetEntityTypes() static private method

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