/Services/ShellService.cs
https://github.com/cmath/SimpleLoginManager · C# · 46 lines · 41 code · 5 blank · 0 comment · 4 complexity · 26b0a0848ef98f85d722e068cb460386 MD5 · raw file
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.ComponentModel.Composition;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows;
- namespace Login.Services
- {
- [Export(typeof(IShellService)), Export]
- public class ShellService : Model, IShellService
- {
- private object currentRuleView_;
- private object shellView_;
- public object CurrentRuleView
- {
- get { return currentRuleView_; }
- set
- {
- if ( currentRuleView_ != value )
- {
- currentRuleView_ = value;
- RaisePropertyChanged("CurrentRuleView");
- }
- }
- }
- public object ShellView
- {
- get { return shellView_; }
- set
- {
- if ( shellView_ != value )
- {
- shellView_ = value;
- RaisePropertyChanged("ShellView");
- }
- }
- }
- }
- }