public ISiloService Get(Type type) { ISiloService siloService = null; if (type != null) { var key = Utility.GetIdentity(type); this._dictionary.TryGetValue(key, out siloService); } return(siloService); }
public SiloController(ISiloService siloService) { _siloService = siloService; }