Exemple #1
0
 public void ConfigureTracking(TrackingConfiguration <AppSettings> configuration)
 {
     configuration.Properties(s => new
     {
         s.PersistedSettings,
         s.MarginToolSettings
     });
     AppDomain.CurrentDomain.ProcessExit += (sender, args) => { configuration.Tracker.Persist(this); };
 }
 public void ConfigureTracking(TrackingConfiguration <AppSettings> configuration)
 {
     configuration.Properties(s => new { s.DisplaySettings, s.RuntimeSettings });
     System.Windows.Application.Current.Exit += (s, e) => { configuration.Tracker.Persist(this); };
 }
Exemple #3
0
 public void ConfigureTracking(TrackingConfiguration <TestTrackingAware> configuration)
 {
     configuration.Properties(x => new { Value1, Value2 });
 }
Exemple #4
0
 public void ConfigureTracking(TrackingConfiguration <AuthenticationSettings> configuration)
 {
     configuration.Properties(settings => new { settings.Token });
     PropertyChanged += (sender, args) => { configuration.Tracker.Persist(this); };
 }
Exemple #5
0
 public void ConfigureTracking(TrackingConfiguration <GeneralSettings> configuration)
 {
     configuration.Properties(settings => new { settings.IsAlwaysOnTop });
     PropertyChanged += (sender, args) => { configuration.Tracker.Persist(this); };
 }