partial void SetDefaultValuesInConstruction()
 {
     m_analysisWritingSystems                      = new WritingSystemCollection(this, LangProjectTags.kflidAnalysisWss);
     m_vernacularWritingSystems                    = new WritingSystemCollection(this, LangProjectTags.kflidVernWss);
     m_currentAnalysisWritingSystems               = new WritingSystemList(this, LangProjectTags.kflidCurAnalysisWss);
     m_currentVernacularWritingSystems             = new WritingSystemList(this, LangProjectTags.kflidCurVernWss);
     m_currentPronunciationWritingSystems          = new WritingSystemList(this, LangProjectTags.kflidCurPronunWss);
     m_currentAnalysisWritingSystems.Changed      += WritingSystemListChanged;
     m_currentVernacularWritingSystems.Changed    += WritingSystemListChanged;
     m_currentPronunciationWritingSystems.Changed += WritingSystemListChanged;
     // Just in the unlikely event...except perhaps in tests...that this gets called when we have an existing cache.
     WritingSystemListChanged(this, new EventArgs());
 }
Exemplo n.º 2
0
		partial void SetDefaultValuesInConstruction()
		{
			m_analysisWritingSystems = new WritingSystemCollection(this, LangProjectTags.kflidAnalysisWss);
			m_vernacularWritingSystems = new WritingSystemCollection(this, LangProjectTags.kflidVernWss);
			m_currentAnalysisWritingSystems = new WritingSystemList(this, LangProjectTags.kflidCurAnalysisWss);
			m_currentVernacularWritingSystems = new WritingSystemList(this, LangProjectTags.kflidCurVernWss);
			m_currentPronunciationWritingSystems = new WritingSystemList(this, LangProjectTags.kflidCurPronunWss);
			m_currentAnalysisWritingSystems.Changed += WritingSystemListChanged;
			m_currentVernacularWritingSystems.Changed += WritingSystemListChanged;
			m_currentPronunciationWritingSystems.Changed += WritingSystemListChanged;
			// Just in the unlikely event...except perhaps in tests...that this gets called when we have an existing cache.
			WritingSystemListChanged(this, new EventArgs());
		}