-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #139 from bdovaz/use-interface
Use interfaces instead of implementations
- Loading branch information
Showing
4 changed files
with
16 additions
and
22 deletions.
There are no files selected for viewing
6 changes: 2 additions & 4 deletions
6
Mopups/Mopups.Maui/Mopups.PreBaked/Interfaces/GenericViewModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 5 additions & 3 deletions
8
Mopups/Mopups.Maui/Mopups.PreBaked/Interfaces/IBasePopupViewModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
using System.ComponentModel; | ||
|
||
namespace Mopups.PreBaked.Interfaces | ||
{ | ||
public interface IBasePopupViewModel | ||
{ | ||
public interface IBasePopupViewModel | ||
{ | ||
bool IsBusy { get; set; } | ||
event PropertyChangedEventHandler PropertyChanged; | ||
} | ||
|
||
void RunOnAttachment<TPopupType>(TPopupType popupPage) where TPopupType : Pages.PopupPage; | ||
} | ||
} |
16 changes: 5 additions & 11 deletions
16
Mopups/Mopups.Maui/Mopups.PreBaked/Interfaces/IPreBakedMopupService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters