using System.Diagnostics.CodeAnalysis; using InABox.Core; namespace InABox.Wpf; public interface IMasterDetailControl { TMaster? Master { get; set; } } public interface IMasterDetailControl : IMasterDetailControl { // If Master == null, then Master Detail is not active, // and we should return .All() or .None() depending on circumstances // If Master != null, we need to filter by Master.ID (usually?) Filter MasterDetailFilter { get; } }