mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-31 18:56:28 +01:00
Expression bodied members used and spelling corrected.
This commit is contained in:
parent
7bb4b24034
commit
874166f26f
10 changed files with 25 additions and 46 deletions
|
@ -36,14 +36,14 @@ namespace TINK.View.Account
|
||||||
BindingContext = m_oViewModel;
|
BindingContext = m_oViewModel;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary> Displays altert message. </summary>
|
/// <summary> Displays alert message. </summary>
|
||||||
/// <param name="title">Title of message.</param>
|
/// <param name="title">Title of message.</param>
|
||||||
/// <param name="message">Message to display.</param>
|
/// <param name="message">Message to display.</param>
|
||||||
/// <param name="cancel">Type of buttons.</param>
|
/// <param name="cancel">Type of buttons.</param>
|
||||||
public new async Task DisplayAlert(string title, string message, string cancel)
|
public new async Task DisplayAlert(string title, string message, string cancel)
|
||||||
=> await App.Current.MainPage.DisplayAlert(title, message, cancel);
|
=> await App.Current.MainPage.DisplayAlert(title, message, cancel);
|
||||||
|
|
||||||
/// <summary> Displays altert message.</summary>
|
/// <summary> Displays alert message.</summary>
|
||||||
/// <param name="title">Title of message.</param>
|
/// <param name="title">Title of message.</param>
|
||||||
/// <param name="message">Message to display.</param>
|
/// <param name="message">Message to display.</param>
|
||||||
/// <param name="details">Detailed error description.</param>
|
/// <param name="details">Detailed error description.</param>
|
||||||
|
|
|
@ -139,16 +139,14 @@ using TINK.View.MasterDetail;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary> Displays altert message.</summary>
|
/// <summary> Displays alert message.</summary>
|
||||||
/// <param name="title">Title of message.</param>
|
/// <param name="title">Title of message.</param>
|
||||||
/// <param name="message">Message to display.</param>
|
/// <param name="message">Message to display.</param>
|
||||||
/// <param name="cancel">Type of buttons.</param>
|
/// <param name="cancel">Type of buttons.</param>
|
||||||
public new async Task DisplayAlert(string title, string message, string cancel)
|
public new async Task DisplayAlert(string title, string message, string cancel)
|
||||||
{
|
=> await App.Current.MainPage.DisplayAlert(title, message, cancel);
|
||||||
await App.Current.MainPage.DisplayAlert(title, message, cancel);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary> Displays altert message.</summary>
|
/// <summary> Displays alert message.</summary>
|
||||||
/// <param name="title">Title of message.</param>
|
/// <param name="title">Title of message.</param>
|
||||||
/// <param name="message">Message to display.</param>
|
/// <param name="message">Message to display.</param>
|
||||||
/// <param name="details">Detailed error description.</param>
|
/// <param name="details">Detailed error description.</param>
|
||||||
|
|
|
@ -22,7 +22,7 @@ namespace TINK.View.Contact
|
||||||
this);
|
this);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary> Displays altert message.</summary>
|
/// <summary> Displays alert message.</summary>
|
||||||
/// <param name="title">Title of message.</param>
|
/// <param name="title">Title of message.</param>
|
||||||
/// <param name="message">Message to display.</param>
|
/// <param name="message">Message to display.</param>
|
||||||
/// <param name="details">Detailed error description.</param>
|
/// <param name="details">Detailed error description.</param>
|
||||||
|
|
|
@ -27,17 +27,15 @@ namespace TINK.View.Info.BikeInfo
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Displays altert message.
|
/// Displays alert message.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="p_strTitle">Title of message.</param>
|
/// <param name="p_strTitle">Title of message.</param>
|
||||||
/// <param name="p_strMessage">Message to display.</param>
|
/// <param name="p_strMessage">Message to display.</param>
|
||||||
/// <param name="p_strCancel">Type of buttons.</param>
|
/// <param name="p_strCancel">Type of buttons.</param>
|
||||||
public new async Task DisplayAlert(string p_strTitle, string p_strMessage, string p_strCancel)
|
public new async Task DisplayAlert(string p_strTitle, string p_strMessage, string p_strCancel)
|
||||||
{
|
=> await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strCancel);
|
||||||
await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strCancel);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary> Displays altert message.</summary>
|
/// <summary> Displays alert message.</summary>
|
||||||
/// <param name="title">Title of message.</param>
|
/// <param name="title">Title of message.</param>
|
||||||
/// <param name="message">Message to display.</param>
|
/// <param name="message">Message to display.</param>
|
||||||
/// <param name="details">Detailed error description.</param>
|
/// <param name="details">Detailed error description.</param>
|
||||||
|
|
|
@ -35,17 +35,15 @@ namespace TINK.View.Login
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Displays altert message.
|
/// Displays alert message.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="p_strTitle">Title of message.</param>
|
/// <param name="p_strTitle">Title of message.</param>
|
||||||
/// <param name="p_strMessage">Message to display.</param>
|
/// <param name="p_strMessage">Message to display.</param>
|
||||||
/// <param name="p_strCancel">Type of buttons.</param>
|
/// <param name="p_strCancel">Type of buttons.</param>
|
||||||
public new async Task DisplayAlert(string p_strTitle, string p_strMessage, string p_strCancel)
|
public new async Task DisplayAlert(string p_strTitle, string p_strMessage, string p_strCancel)
|
||||||
{
|
=> await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strCancel);
|
||||||
await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strCancel);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary> Displays altert message.</summary>
|
/// <summary> Displays alert message.</summary>
|
||||||
/// <param name="title">Title of message.</param>
|
/// <param name="title">Title of message.</param>
|
||||||
/// <param name="message">Message to display.</param>
|
/// <param name="message">Message to display.</param>
|
||||||
/// <param name="details">Detailed error description.</param>
|
/// <param name="details">Detailed error description.</param>
|
||||||
|
|
|
@ -31,17 +31,15 @@ namespace TINK.View.Map
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Displays altert message.
|
/// Displays alert message.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="p_strTitle">Title of message.</param>
|
/// <param name="p_strTitle">Title of message.</param>
|
||||||
/// <param name="p_strMessage">Message to display.</param>
|
/// <param name="p_strMessage">Message to display.</param>
|
||||||
/// <param name="p_strCancel">Type of buttons.</param>
|
/// <param name="p_strCancel">Type of buttons.</param>
|
||||||
public new async Task DisplayAlert(string p_strTitle, string p_strMessage, string p_strCancel)
|
public new async Task DisplayAlert(string p_strTitle, string p_strMessage, string p_strCancel)
|
||||||
{
|
=> await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strCancel);
|
||||||
await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strCancel);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary> Displays altert message.</summary>
|
/// <summary> Displays alert message.</summary>
|
||||||
/// <param name="title">Title of message.</param>
|
/// <param name="title">Title of message.</param>
|
||||||
/// <param name="message">Message to display.</param>
|
/// <param name="message">Message to display.</param>
|
||||||
/// <param name="details">Detailed error description.</param>
|
/// <param name="details">Detailed error description.</param>
|
||||||
|
|
|
@ -97,17 +97,15 @@ namespace TINK.View.MyBikes
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Displays altert message.
|
/// Displays alert message.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="p_strTitle">Title of message.</param>
|
/// <param name="p_strTitle">Title of message.</param>
|
||||||
/// <param name="p_strMessage">Message to display.</param>
|
/// <param name="p_strMessage">Message to display.</param>
|
||||||
/// <param name="p_strCancel">Type of buttons.</param>
|
/// <param name="p_strCancel">Type of buttons.</param>
|
||||||
public new async Task DisplayAlert(string p_strTitle, string p_strMessage, string p_strCancel)
|
public new async Task DisplayAlert(string p_strTitle, string p_strMessage, string p_strCancel)
|
||||||
{
|
=> await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strCancel);
|
||||||
await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strCancel);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary> Displays altert message.</summary>
|
/// <summary> Displays alert message.</summary>
|
||||||
/// <param name="title">Title of message.</param>
|
/// <param name="title">Title of message.</param>
|
||||||
/// <param name="message">Message to display.</param>
|
/// <param name="message">Message to display.</param>
|
||||||
/// <param name="details">Detailed error description.</param>
|
/// <param name="details">Detailed error description.</param>
|
||||||
|
@ -138,9 +136,7 @@ namespace TINK.View.MyBikes
|
||||||
/// <param name="p_strCancel">Text of button.</param>
|
/// <param name="p_strCancel">Text of button.</param>
|
||||||
/// <returns>True if user pressed accept.</returns>
|
/// <returns>True if user pressed accept.</returns>
|
||||||
public new async Task<bool> DisplayAlert(string p_strTitle, string p_strMessage, string p_strAccept, string p_strCancel)
|
public new async Task<bool> DisplayAlert(string p_strTitle, string p_strMessage, string p_strAccept, string p_strCancel)
|
||||||
{
|
=> await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strAccept, p_strCancel);
|
||||||
return await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strAccept, p_strCancel);
|
|
||||||
}
|
|
||||||
|
|
||||||
#if USEMASTERDETAIL || USEFLYOUT
|
#if USEMASTERDETAIL || USEFLYOUT
|
||||||
public void ShowPage(ViewTypes p_oType, string p_strTitle = null)
|
public void ShowPage(ViewTypes p_oType, string p_strTitle = null)
|
||||||
|
@ -153,23 +149,14 @@ namespace TINK.View.MyBikes
|
||||||
|
|
||||||
/// <summary> Pushes a page onto the modal stack. </summary>
|
/// <summary> Pushes a page onto the modal stack. </summary>
|
||||||
/// <param name="p_oTypeOfPage">Page to display.</param>
|
/// <param name="p_oTypeOfPage">Page to display.</param>
|
||||||
public Task PushModalAsync(ViewTypes p_oTypeOfPage)
|
public Task PushModalAsync(ViewTypes p_oTypeOfPage) => throw new NotSupportedException();
|
||||||
{
|
|
||||||
throw new NotSupportedException();
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary> Pops a page from the modal stack. </summary>
|
/// <summary> Pops a page from the modal stack. </summary>
|
||||||
public Task PopModalAsync()
|
public Task PopModalAsync() => throw new NotSupportedException();
|
||||||
{
|
|
||||||
throw new NotSupportedException();
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary> Pushes a page onto the stack. </summary>
|
/// <summary> Pushes a page onto the stack. </summary>
|
||||||
/// <param name="p_oTypeOfPage">Page to display.</param>
|
/// <param name="p_oTypeOfPage">Page to display.</param>
|
||||||
public Task PushAsync(ViewTypes p_oTypeOfPage)
|
public Task PushAsync(ViewTypes p_oTypeOfPage) => throw new NotSupportedException();
|
||||||
{
|
|
||||||
throw new NotSupportedException();
|
|
||||||
}
|
|
||||||
|
|
||||||
#if USCSHARP9
|
#if USCSHARP9
|
||||||
public async Task<IViewService.IUserFeedback> DisplayUserFeedbackPopup() => await Navigation.ShowPopupAsync<FeedbackPopup.Result>(new FeedbackPopup());
|
public async Task<IViewService.IUserFeedback> DisplayUserFeedbackPopup() => await Navigation.ShowPopupAsync<FeedbackPopup.Result>(new FeedbackPopup());
|
||||||
|
|
|
@ -45,7 +45,7 @@ namespace TINK.View.Settings
|
||||||
public new async Task DisplayAlert(string p_strTitle, string p_strMessage, string p_strCancel)
|
public new async Task DisplayAlert(string p_strTitle, string p_strMessage, string p_strCancel)
|
||||||
=> await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strCancel);
|
=> await App.Current.MainPage.DisplayAlert(p_strTitle, p_strMessage, p_strCancel);
|
||||||
|
|
||||||
/// <summary> Displays altert message.</summary>
|
/// <summary> Displays alert message.</summary>
|
||||||
/// <param name="title">Title of message.</param>
|
/// <param name="title">Title of message.</param>
|
||||||
/// <param name="message">Message to display.</param>
|
/// <param name="message">Message to display.</param>
|
||||||
/// <param name="details">Detailed error description.</param>
|
/// <param name="details">Detailed error description.</param>
|
||||||
|
|
|
@ -23,7 +23,7 @@ namespace TINK.View.WhatsNew.Agb
|
||||||
BindingContext = agbViewModel;
|
BindingContext = agbViewModel;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary> Displays altert message.</summary>
|
/// <summary> Displays alert message.</summary>
|
||||||
/// <param name="title">Title of message.</param>
|
/// <param name="title">Title of message.</param>
|
||||||
/// <param name="message">Message to display.</param>
|
/// <param name="message">Message to display.</param>
|
||||||
/// <param name="details">Detailed error description.</param>
|
/// <param name="details">Detailed error description.</param>
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace TINK.View.WhatsNew
|
||||||
BindingContext = WhatsNewViewModel;
|
BindingContext = WhatsNewViewModel;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary> Displays altert message.</summary>
|
/// <summary> Displays alert message.</summary>
|
||||||
/// <param name="title">Title of message.</param>
|
/// <param name="title">Title of message.</param>
|
||||||
/// <param name="message">Message to display.</param>
|
/// <param name="message">Message to display.</param>
|
||||||
/// <param name="details">Detailed error description.</param>
|
/// <param name="details">Detailed error description.</param>
|
||||||
|
|
Loading…
Reference in a new issue