public ScriptWindow WithScript(IAsyncScript script) { _script = script; lblScriptName.Text = ScriptManager.Instance.GetName(script); propGrid.SelectedObject = _script; return this; }
public ScriptWindow WithScript(IAsyncScript script) { _script = script; lblScriptName.Text = ScriptManager.Instance.GetName(script); propGrid.SelectedObject = _script; return(this); }
public bool TryGetNewScript(string name, out IAsyncScript script) { Type type; script = null; if (_scripts.TryGetValue(name, out type)) { script = FastObjectFactory.CreateObject<IAsyncScript>(type); return true; } return false; }
public bool TryGetNewScript(string name, out IAsyncScript script) { Type type; script = null; if (_scripts.TryGetValue(name, out type)) { script = FastObjectFactory.CreateObject <IAsyncScript>(type); return(true); } return(false); }
public string GetName(IAsyncScript script) { return(GetName(script.GetType())); }
public string GetName(IAsyncScript script) { return GetName(script.GetType()); }