This repository has been archived by the owner on Aug 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from speckleworks/Matteo/dev
Matteo/dev
- Loading branch information
Showing
14 changed files
with
287 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace SpeckleUiBase | ||
{ | ||
public interface ISelectionFilter | ||
{ | ||
string Name { get; set; } | ||
string Icon { get; set; } | ||
string Type { get; } | ||
} | ||
|
||
public class ElementsSelectionFilter : ISelectionFilter | ||
{ | ||
public string Name { get; set; } | ||
public string Icon { get; set; } | ||
public string Type { get { return typeof(ElementsSelectionFilter).ToString(); } } | ||
|
||
public List<string> Selection = new List<string>(); | ||
} | ||
|
||
public class ListSelectionFilter : ISelectionFilter | ||
{ | ||
public string Name { get; set; } | ||
public string Icon { get; set; } | ||
public string Type { get { return typeof(ListSelectionFilter).ToString(); } } | ||
|
||
public List<string> Values { get; set; } | ||
public List<string> Selection = new List<string>(); | ||
} | ||
|
||
public class PropertySelectionFilter : ISelectionFilter | ||
{ | ||
public string Name { get; set; } | ||
public string Icon { get; set; } | ||
public string Type { get { return typeof(PropertySelectionFilter).ToString(); } } | ||
|
||
public List<string> Values { get; set; } | ||
public List<string> Operators { get; set; } | ||
public string PropertyName { get; set; } | ||
public string PropertyValue { get; set; } | ||
public string PropertyOperator { get; set; } | ||
public bool HasCustomProperty { get; set; } | ||
} | ||
|
||
|
||
|
||
|
||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.