예제 #1
0
 public ExampleDataSeederService([Import] Func<DomainModelContext> createContext, [ImportMany] IEnumerable<IInitialSeed> initialSeeds)
 {
     m_InitialSeeds = initialSeeds;
       m_Context = createContext();
 }
예제 #2
0
 public SurveyParserService([Import] Func<DomainModelContext> createContext)
 {
     m_CreateContext = createContext;
       m_Context = m_CreateContext();
 }