예제 #1
0
        public void InitializeHandlers(ILoaderConfigHandler configHandler, IStatusHandler statusHandler)
        {
            _guid = Guid.NewGuid().ToString();

            //Note: This implementation form is sub-optimal in terms of performance.  Perhaps it is better to find another way to to this
            string dllName = this.GetType().Assembly.GetName().Name; //System.Reflection.Assembly.GetExecutingAssembly().FullName;

            string typeName = this.GetType().Name;
            _config = configHandler.GetLoaderConfig(dllName, typeName);
            _statusHandler = statusHandler;
        }