fix problems of the migration of OBSERVABLE_PROPERTY_RW (#13)

This commit is contained in:
Tian L 2021-04-15 11:30:12 +08:00 committed by GitHub
commit 50c8fcae76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View file

@ -61,7 +61,7 @@ namespace CalculatorApp
if (m_Equations != value) if (m_Equations != value)
{ {
m_Equations = value; m_Equations = value;
RaisePropertyChanged("m_Equations"); RaisePropertyChanged(nameof(Equations));
} }
} }
} }
@ -75,7 +75,7 @@ namespace CalculatorApp
if (m_Variables != value) if (m_Variables != value)
{ {
m_Variables = value; m_Variables = value;
RaisePropertyChanged("m_Variables"); RaisePropertyChanged(nameof(Variables));
} }
} }
} }
@ -89,7 +89,7 @@ namespace CalculatorApp
if (m_AvailableColors != value) if (m_AvailableColors != value)
{ {
m_AvailableColors = value; m_AvailableColors = value;
RaisePropertyChanged("m_AvailableColors"); RaisePropertyChanged(nameof(AvailableColors));
} }
} }
} }
@ -104,7 +104,7 @@ namespace CalculatorApp
if (m_IsMatchAppTheme != value) if (m_IsMatchAppTheme != value)
{ {
m_IsMatchAppTheme = value; m_IsMatchAppTheme = value;
RaisePropertyChanged("m_IsMatchAppTheme"); RaisePropertyChanged(nameof(IsMatchAppTheme));
} }
} }
} }

View file

@ -142,7 +142,7 @@ namespace CalculatorApp
if (m_IsKeyGraphFeaturesVisible != value) if (m_IsKeyGraphFeaturesVisible != value)
{ {
m_IsKeyGraphFeaturesVisible = value; m_IsKeyGraphFeaturesVisible = value;
RaisePropertyChanged("IsKeyGraphFeaturesVisible"); RaisePropertyChanged(nameof(IsKeyGraphFeaturesVisible));
} }
} }
} }
@ -176,7 +176,7 @@ namespace CalculatorApp
if (m_IsMatchAppTheme != value) if (m_IsMatchAppTheme != value)
{ {
m_IsMatchAppTheme = value; m_IsMatchAppTheme = value;
RaisePropertyChanged("IsMatchAppTheme"); RaisePropertyChanged(nameof(IsMatchAppTheme));
} }
} }
} }
@ -190,7 +190,7 @@ namespace CalculatorApp
if (m_IsManualAdjustment != value) if (m_IsManualAdjustment != value)
{ {
m_IsManualAdjustment = value; m_IsManualAdjustment = value;
RaisePropertyChanged("IsManualAdjustment"); RaisePropertyChanged(nameof(IsManualAdjustment));
} }
} }
} }

View file

@ -39,7 +39,7 @@ namespace CalculatorApp
if (m_viewModel != value) if (m_viewModel != value)
{ {
m_viewModel = value; m_viewModel = value;
RaisePropertyChanged("ViewModel"); RaisePropertyChanged(nameof(ViewModel));
} }
} }
} }