コード例 #1
0
 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 }
         });
     }
 }
コード例 #2
0
 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}
         });
     }
 }
コード例 #3
0
 public void SetOutputData(Dictionary <string, object> data)
 {
     OutputData = new QuackTaskDataWrapper(data);
 }