public UpdateBus ( string key, object value ) : void | ||
key | string | |
value | object | |
return | void |
public void UpdateBus(string key, object value)
{
if (!this.Bus.ContainsKey(key))
{
this.Bus.Add(key, value);
}
else
{
this.Bus[key] = value;
}
}