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); }
public void NotifyPopylatorDispose() { m_populator = null; }