Exemplo n.º 1
0
 static void PropertyChanged(object sender, PropertyChangedEventArgs e)
 {
     if (e.Key == ambienceProperty)
     {
         defaultAmbience = null;
         OnAmbienceChanged(EventArgs.Empty);
     }
     if (e.Key == codeGenerationProperty || e.Key == textEditorProperty)
     {
         ApplyCodeGenerationPropertiesToNRefactory();
     }
 }
Exemplo n.º 2
0
		static void PropertyChanged(object sender, PropertyChangedEventArgs e)
		{
			if (e.Key == ambienceProperty) {
				defaultAmbience = null;
				OnAmbienceChanged(EventArgs.Empty);
			}
			if (e.Key == codeGenerationProperty || e.Key == textEditorProperty) {
				ApplyCodeGenerationPropertiesToNRefactory();
			}
		}