added sort and search interactivity
This commit is contained in:
@ -24,6 +24,9 @@ namespace DeskHubSharp
|
||||
set { _toEmail = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Constructor for the Email class
|
||||
/// </summary>
|
||||
public Email()
|
||||
{
|
||||
|
||||
|
@ -6,6 +6,9 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace DeskHubSharp
|
||||
{
|
||||
/// <summary>
|
||||
/// Class from a JSON to a C# converter
|
||||
/// </summary>
|
||||
public class License
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -6,8 +6,9 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace DeskHubSharp
|
||||
{
|
||||
// TODO: The Owner class is called by code behind, fix it
|
||||
|
||||
/// <summary>
|
||||
/// Class from a JSON to a C# converter
|
||||
/// </summary>
|
||||
public class Owner
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -10,10 +10,19 @@ namespace DeskHubSharp
|
||||
// TODO: The RequestList class is called from code behind, fix it
|
||||
public class RequestList
|
||||
{
|
||||
/// <summary>
|
||||
/// Stores everything in User, typically from the request
|
||||
/// </summary>
|
||||
public static User userDetail { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Stores everything sent in Branch, typically from request
|
||||
/// </summary>
|
||||
public static ObservableCollection<Branch> branchDetail { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Stores everything sent in RepoDetail, typically from request
|
||||
/// </summary>
|
||||
public static ObservableCollection<RepoDetail> repoDetail { get; set; }
|
||||
}
|
||||
}
|
||||
|
19
DeskHubSharp/Models/Sort.cs
Normal file
19
DeskHubSharp/Models/Sort.cs
Normal file
@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DeskHubSharp
|
||||
{
|
||||
public static class Sort
|
||||
{
|
||||
public enum SortBox
|
||||
{
|
||||
Alphabettically,
|
||||
MostStars,
|
||||
MostForks,
|
||||
MostWatchers
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user