예제 #1
0
        public ISiloService Get(Type type)
        {
            ISiloService siloService = null;

            if (type != null)
            {
                var key = Utility.GetIdentity(type);

                this._dictionary.TryGetValue(key, out siloService);
            }

            return(siloService);
        }
예제 #2
0
 public SiloController(ISiloService siloService)
 {
     _siloService = siloService;
 }