Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ private void GetIdsForMapMemberPropertiesChangedEvent(MapMemberPropertiesChanged

public List<ISendFilter> GetSendFilters() => _sendFilters;

public List<CardSetting> GetSendSettings => [];
public List<CardSetting> GetSendSettings() => [];

[SuppressMessage(
"Maintainability",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ private void RunExpirationChecks()

public List<ISendFilter> GetSendFilters() => _sendFilters;

public List<CardSetting> GetSendSettings => [];
public List<CardSetting> GetSendSettings() => [];

public Task Send(string modelCardId)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@ ILogger<RhinoSendBinding> logger

private void SubscribeToRhinoEvents()
{
RhinoDoc.LayerTableEvent += (_, _) =>
{
Commands.RefreshSendFilters();
};

Command.BeginCommand += (_, e) =>
{
if (e.CommandEnglishName == "BlockEdit")
Expand Down Expand Up @@ -150,7 +145,7 @@ private void SubscribeToRhinoEvents()

public List<ISendFilter> GetSendFilters() => _sendFilters;

public List<CardSetting> GetSendSettings => [];
public List<CardSetting> GetSendSettings() => [];

public async Task Send(string modelCardId)
{
Expand Down
3 changes: 3 additions & 0 deletions DUI3/Speckle.Connectors.DUI/Bindings/ISendBinding.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
using Speckle.Connectors.DUI.Models.Card.SendFilter;
using Speckle.Connectors.DUI.Settings;

namespace Speckle.Connectors.DUI.Bindings;

public interface ISendBinding : IBinding
{
public List<ISendFilter> GetSendFilters();

public List<CardSetting> GetSendSettings();

/// <summary>
/// Instructs the host app to start sending this model.
/// </summary>
Expand Down
Loading