Version 3.0.375

This commit is contained in:
Anja 2023-11-06 12:23:09 +01:00
parent 2c790239cb
commit ca080c87c0
194 changed files with 10092 additions and 10464 deletions

View file

@ -51,19 +51,12 @@ namespace TINK.View
/// <returns>T</returns>
Task<string> DisplayActionSheet(string title, string cancel, string destruction, params string[] buttons);
#if USEFLYOUT
/// <summary> Shows a page.</summary>
/// <param name="type">Type of page to show.</param>
/// <param name="title">Title of page to show.</param>
void ShowPage(ViewTypes type, string title = null);
#else
/// <summary> Shows a page.</summary>
/// <param name="route">Route of the page to show.</param>
#if USCSHARP9
public Task ShowPage(string route);
#else
Task ShowPage(string route);
#endif
#endif
/// <summary> Pushes a page onto the stack. </summary>

View file

@ -1,18 +0,0 @@
#if USEFLYOUT
using Serilog;
using System;
namespace TINK.View.MasterDetail
{
public class EmptyNavigationMasterDetail : INavigationMasterDetail
{
public bool IsGestureEnabled { set => Log.ForContext<EmptyNavigationMasterDetail>().Error($"Unexpected call of {nameof(IsGestureEnabled)} detected."); }
public void ShowPage(Type p_oTypeOfPage, string p_strTitle = null)
{
Log.ForContext<EmptyNavigationMasterDetail>().Error($"Unexpected call of {nameof(ShowPage)} detected.");
}
}
}
#endif

View file

@ -1,17 +0,0 @@
#if USEFLYOUT
using TINK.View.MasterDetail;
namespace TINK.View
{
/// <summary>
/// Interface to provide navigation functionality to detail page.
/// </summary>
public interface IDetailPage
{
/// <summary>
/// Delegate to perform navigation.
/// </summary>
INavigationMasterDetail NavigationMasterDetail { set; }
}
}
#endif

View file

@ -1,20 +0,0 @@
#if USEFLYOUT
using System;
namespace TINK.View.MasterDetail
{
public interface INavigationMasterDetail
{
/// <summary>
/// Creates and a page an shows it.
/// </summary>
/// <param name="p_oTypeOfPage">Type of page to show.</param>
void ShowPage(Type p_oTypeOfPage, string p_strTitle = null);
/// <summary>
/// Set a value indicating whether master deatail navigation menu is available or not.
/// </summary>
bool IsGestureEnabled { set; }
}
}
#endif