using Serein.Library.Api; using Serein.Library.Utils; using System; using System.Threading.Tasks; namespace Serein.Library { /// /// 轻量级流程环境实现 /// public class LightweightFlowEnvironment : IFlowEnvironment { /// /// 轻量级流程环境构造函数,接受一个流程环境事件接口。 /// /// public LightweightFlowEnvironment(IFlowEnvironmentEvent lightweightFlowEnvironmentEvent) { Event = lightweightFlowEnvironmentEvent; } /// public void WriteLine(InfoType type, string message, InfoClass @class = InfoClass.Debug) { Console.WriteLine(message); } /// public ISereinIOC IOC => throw new NotImplementedException(); /// public IFlowEdit FlowEdit => throw new NotImplementedException(); /// public IFlowControl FlowControl { get; set; } /// public IFlowEnvironmentEvent Event { get; private set; } /// public string EnvName => throw new NotImplementedException(); /// public string ProjectFileLocation => throw new NotImplementedException(); /// public bool _IsGlobalInterrupt => throw new NotImplementedException(); /// public bool IsControlRemoteEnv => throw new NotImplementedException(); /// public InfoClass InfoClass { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } /// public RunState FlowState { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } /// public IFlowEnvironment CurrentEnv => throw new NotImplementedException(); /// public UIContextOperation UIContextOperation => throw new NotImplementedException(); public IFlowLibraryService FlowLibraryService => throw new NotImplementedException(); /* public Task<(bool, RemoteMsgUtil)> ConnectRemoteEnv(string addres, int port, string token) { throw new NotImplementedException(); }*/ /// public void ExitRemoteEnv() { throw new NotImplementedException(); } /// public Task GetEnvInfoAsync() { throw new NotImplementedException(); } /// public SereinProjectData GetProjectInfoAsync() { throw new NotImplementedException(); } /// public void LoadAllNativeLibraryOfRuning(string path, bool isRecurrence = true) { throw new NotImplementedException(); } /// public void LoadLibrary(string dllPath) { throw new NotImplementedException(); } /// public bool LoadNativeLibraryOfRuning(string file) { throw new NotImplementedException(); } /// public void LoadProject(string filePath) { throw new NotImplementedException(); } /// public Task LoadProjetAsync(string filePath) { throw new NotImplementedException(); } /// public Task NotificationNodeValueChangeAsync(string nodeGuid, string path, object value) { throw new NotImplementedException(); } /// public void SaveProject() { throw new NotImplementedException(); } /// public void SetUIContextOperation(UIContextOperation uiContextOperation) { throw new NotImplementedException(); } /// public Task StartRemoteServerAsync(int port = 7525) { throw new NotImplementedException(); } /// public void StopRemoteServer() { throw new NotImplementedException(); } /// public bool TryGetDelegateDetails(string assemblyName, string methodName, out DelegateDetails del) { throw new NotImplementedException(); } /// public bool TryGetMethodDetailsInfo(string assemblyName, string methodName, out MethodDetailsInfo mdInfo) { throw new NotImplementedException(); } /// public bool TryGetNodeModel(string nodeGuid, out IFlowNode nodeModel) { throw new NotImplementedException(); } /// public bool TryUnloadLibrary(string assemblyFullName) { throw new NotImplementedException(); } } }