2021-06-26 20:57:55 +02:00
|
|
|
|
#if USEMASTERDETAIL || USEFLYOUT
|
|
|
|
|
using Serilog;
|
2021-05-13 20:03:07 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace TINK.View.MasterDetail
|
|
|
|
|
{
|
2021-06-26 20:57:55 +02:00
|
|
|
|
|
2021-05-13 20:03:07 +02:00
|
|
|
|
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.");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-06-26 20:57:55 +02:00
|
|
|
|
#endif
|