Beispiel #1
0
            public IValuePopulator <TType> Populate(StepBro.Core.Logging.ILogger logger)
            {
                if (m_populator != null)
                {
                    throw new General.OperationNotAllowedException("The soft-enum is already being populated.");
                }

                m_populator = new ValuePopulator(this, logger);
                m_type.NotifyPopulatorCreated();
                return(m_populator);
            }
Beispiel #2
0
 public void NotifyPopylatorDispose()
 {
     m_populator = null;
 }