CodeReferencesWindow

StockSharp.Xaml.Code

The window for editing the list of references to the .NET assemblies.

Inherits: ThemedWindow

Implements: IAsyncPersistable, IComponentConnector

Constructors

CodeReferencesWindow
public CodeReferencesWindow()
codeReferencesWindow = CodeReferencesWindow()

Initializes a new instance of the CodeReferencesWindow.

Properties

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

References.

Methods

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

Returns: Task

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

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

Returns: Task

Fields

AddNuGetCommand
public static readonly RoutedCommand AddNuGetCommand
value = CodeReferencesWindow.AddNuGetCommand

The command for adding NuGet references.

AddProjectCommand
public static readonly RoutedCommand AddProjectCommand
value = CodeReferencesWindow.AddProjectCommand

The command for adding project references.

AddReferenceCommand
public static readonly RoutedCommand AddReferenceCommand
value = CodeReferencesWindow.AddReferenceCommand

The command for adding assembly references.

OkCommand
public static readonly RoutedCommand OkCommand
value = CodeReferencesWindow.OkCommand

The command for the applying changes.

RemoveCommand
public static readonly RoutedCommand RemoveCommand
value = CodeReferencesWindow.RemoveCommand

The command for the removing references.