public static object ServiceAddCallback(ICoreBaseObject _instance, Dictionary <string, object> parameters) { string group = (String)parameters [CoreCallback.GROUP]; IExecutable callback = (IExecutable)parameters [CoreCallback.CALLBACK]; CoreBaseClassFactory.AddCallback(_instance, group, callback); return(null); }
public static object ServiceAddCallbacks(ICoreBaseObject _instance, Dictionary <string, object> parameters) { string group = (string)parameters ["group"]; List <IExecutable> callbacks = (List <IExecutable>)parameters ["callbacks"]; foreach (IExecutable callback in callbacks) { CoreBaseClassFactory.AddCallback(_instance, group, callback); } return(null); }
public void Log(object message) { CoreBaseClassFactory.Log(this, message); }
public CoreCallback CreateCallBack(string group) { return(CoreBaseClassFactory.CreateCallBack(this, group)); }
public object ServiceAddCallbacks(Dictionary <string, object> parameters) { CoreBaseClassFactory.ServiceAddCallbacks(this, parameters); return(null); }
public CoreBaseClass() { this._Callbacks = new Dictionary <string, List <IExecutable> > (); this._Name = this.GenerateName(); CoreBaseClassFactory.Construct(this); }