This commit is contained in:
2026-04-17 14:55:32 -04:00
commit bc3ac1d4c9
18017 changed files with 4371742 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 612 B

View File

@@ -0,0 +1,64 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DTS.Common
{
/// <summary>
/// The object definition which is adding to the Main Region.
/// </summary>
public class ViewDefinition
{
/// <summary>
/// Gets the region name in which a view is displayed.
/// </summary>
public string RegionName { get; private set; }
/// <summary>
/// Gets the type the View's interface.
/// </summary>
public Type ViewInterfaceType { get; private set; }
/// <summary>
/// Gets the type the View.
/// </summary>
// public Type ViewType { get; private set; }
/// <summary>
/// Gets the type of the viewmodel's interface.
/// </summary>
public Type ViewModelInterfaceType { get; private set; }
/// <summary>
/// Gets the type of the viewmodel.
/// </summary>
/// <param name="regionName">Region name</param>
/// <param name="viewInterfaceType">Type of the View's interface to be registered.</param>
/// <param name="viewModelInterfaceType">Type of the View Model to be registered.</param>
public ViewDefinition(string regionName, Type viewInterfaceType, Type viewModelInterfaceType)
{
RegionName = regionName;
ViewInterfaceType = viewInterfaceType;
ViewModelInterfaceType = viewModelInterfaceType;
}
///// <summary>
///// Creates a new instance of the object.
///// Creates a new instance of the object.
///// </summary>
///// <param name="viewInterfaceType">Type of the View's interface to be registered.</param>
///// <param name="viewType">Type of the View to be registered.</param>
///// <param name="viewModelInterfaceType">Type of the viewmodel's interface to be registered.</param>
///// <param name="viewModelType">Type of the viewmodel to be registered.</param>
////public ViewDefinition(Type viewInterfaceType, Type viewType, Type viewModelInterfaceType, Type viewModelType)
//{
// ViewInterfaceType = viewInterfaceType;
// ViewType = viewType;
// ViewModelInterfaceType = viewModelInterfaceType;
// ViewModelType = viewModelType;
//}
private ViewDefinition() { }
}
}

View File

@@ -0,0 +1,30 @@
using Prism.Events;
namespace DTS.Common.Events
{
/// <summary>
/// Event to inform app that it should mark itself busy or available
/// </summary>
/// <remarks>
///
/// </remarks>
public class ListViewStatusEvent : PubSubEvent<ListViewStatusArg> { }
public class ListViewStatusArg
{
public enum ListViewStatus
{
Unloaded,
ScrollToBottom
}
public ListViewStatus Status { get; }
public string Id { get; }
public ListViewStatusArg(ListViewStatus status, string id)
{
Status = status;
Id = id;
}
}
}

View File

@@ -0,0 +1,8 @@
namespace DTS.Common.Interface.CustomChannels
{
public interface ICustomChannelModel
{
string Name { get; }
bool Included { get; set; }
}
}