CodeReferencesWindow

StockSharp.Xaml.Code

编辑 .NET 组件参考列表的窗口。

继承自: ThemedWindow

实现: IAsyncPersistable, IComponentConnector

构造函数

CodeReferencesWindow
public CodeReferencesWindow()
codeReferencesWindow = CodeReferencesWindow()

初始化了 & ##CodeReferencesWindow+#的新实例.

属性

References
public IList<ICodeReference> References { get; }
value = codeReferencesWindow.References

参考文献.

方法

InitializeComponent
public void InitializeComponent()
codeReferencesWindow.InitializeComponent()

InitializeComponent

LoadAsync
public Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = codeReferencesWindow.LoadAsync(storage, cancellationToken)

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

返回值: Task

SaveAsync
public Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = codeReferencesWindow.SaveAsync(storage, cancellationToken)

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

返回值: Task

字段

AddNuGetCommand
public static readonly RoutedCommand AddNuGetCommand
value = CodeReferencesWindow.AddNuGetCommand

The command for adding NuGet references.

AddProjectCommand
public static readonly RoutedCommand AddProjectCommand
value = CodeReferencesWindow.AddProjectCommand

添加项目引用的命令 。

AddReferenceCommand
public static readonly RoutedCommand AddReferenceCommand
value = CodeReferencesWindow.AddReferenceCommand

添加组装引用的命令 。

OkCommand
public static readonly RoutedCommand OkCommand
value = CodeReferencesWindow.OkCommand

应用程序更改的命令 。

RemoveCommand
public static readonly RoutedCommand RemoveCommand
value = CodeReferencesWindow.RemoveCommand

删除引用的命令 。