2022-06-06 23:10:30 -05:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2022-06-12 23:26:39 -05:00
|
|
|
#if NET40_OR_GREATER || NET6_0_OR_GREATER
|
|
|
|
|
using DataMappingModelsList = System.Collections.ObjectModel.ObservableCollection<Microsoft.Iris.Debug.DataMappingModel>;
|
|
|
|
|
#else
|
|
|
|
|
using DataMappingModelsList = System.Collections.Generic.List<Microsoft.Iris.Debug.DataMappingModel>;
|
|
|
|
|
#endif
|
|
|
|
|
|
2022-06-06 23:10:30 -05:00
|
|
|
namespace Microsoft.Iris.Debug
|
|
|
|
|
{
|
|
|
|
|
public class DebugSettings
|
|
|
|
|
{
|
|
|
|
|
public bool UseDecompiler { get; set; } = false;
|
|
|
|
|
public bool OpenDebugPipe { get; set; } = false;
|
|
|
|
|
public List<System.Xml.XmlDocument> DecompileResults { get; } = new List<System.Xml.XmlDocument>();
|
|
|
|
|
public TraceSettings TraceSettings { get; } = TraceSettings.Current;
|
2022-06-07 14:30:29 -05:00
|
|
|
|
2022-06-12 21:21:29 -05:00
|
|
|
public bool GenerateDataMappingModels { get; set; } = true;
|
2022-06-12 23:26:39 -05:00
|
|
|
public DataMappingModelsList DataMappingModels { get; } = new DataMappingModelsList();
|
2022-06-12 21:21:29 -05:00
|
|
|
|
2022-06-07 14:30:29 -05:00
|
|
|
public Bridge Bridge { get; } =
|
2022-06-09 19:04:59 -05:00
|
|
|
#if OPENZUNE
|
2022-06-07 14:30:29 -05:00
|
|
|
new(OwlCore.Remoting.RemotingMode.Host);
|
|
|
|
|
#else
|
|
|
|
|
new();
|
|
|
|
|
#endif
|
2022-06-06 23:10:30 -05:00
|
|
|
}
|
2022-06-12 23:26:39 -05:00
|
|
|
|
|
|
|
|
public class DataMappingModel
|
|
|
|
|
{
|
|
|
|
|
internal DataMappingModel(string provider, string type, string generatedCode)
|
|
|
|
|
{
|
|
|
|
|
Provider = provider;
|
|
|
|
|
Type = type;
|
|
|
|
|
GeneratedCode = generatedCode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string Provider { get; internal set; }
|
|
|
|
|
public string Type { get; internal set; }
|
|
|
|
|
public string GeneratedCode { get; internal set; }
|
|
|
|
|
}
|
2022-06-06 23:10:30 -05:00
|
|
|
}
|