public void SetItem(object v) { if (v is SC.IDictionary) { Item = new QuackTaskDataWrapper((SC.IDictionary)v); } else if (v is Dictionary <string, object> ) { Item = new QuackTaskDataWrapper((Dictionary <string, object>)v); } else { Item = new QuackTaskDataWrapper(new Dictionary <string, object> { { "Value", v } }); } }
public void SetItem(object v) { if (v is SC.IDictionary) { Item = new QuackTaskDataWrapper((SC.IDictionary)v); } else if (v is Dictionary<string, object>) { Item = new QuackTaskDataWrapper((Dictionary<string, object>)v); } else { Item = new QuackTaskDataWrapper(new Dictionary<string, object> { {"Value", v} }); } }
public void SetOutputData(Dictionary <string, object> data) { OutputData = new QuackTaskDataWrapper(data); }