Ejemplo n.º 1
0
        public void Dispose()
        {
            var containerType     = this.container?.GetType();
            var resolveMethodInfo = containerType?.GetMethod("Dispose");

            resolveMethodInfo?.Invoke(this.container, null);
            this.container     = null;
            this.Configuration = null;
        }
Ejemplo n.º 2
0
 public void Init(object container)
 {
     this.container     = container;
     this.Configuration = new ConfigurationReflector(this.container);
 }