sharee.bike-App/TINKLib/View/MasterDetail/EmptyNavigationMasterDetail.cs
2021-06-26 20:57:55 +02:00

19 lines
568 B
C#

#if USEMASTERDETAIL || 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