添加项目文件。
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Dynamic;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace KGdev.BI3D.Revit.Addin.MainWindow.External.Browser
|
||||
{
|
||||
internal class BrowserFunctions
|
||||
{
|
||||
public BrowserFunctions(Queue<string> callQueue)
|
||||
{
|
||||
this.callQueue = callQueue;
|
||||
}
|
||||
|
||||
public void Execute(ExpandoObject obj)
|
||||
{
|
||||
string text = JsonConvert.SerializeObject(obj);
|
||||
this.callQueue.Enqueue("execute:" + text);
|
||||
}
|
||||
|
||||
private Queue<string> callQueue;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user