public bool SetDataRoot(global::System.Object newDataRoot) { this.bindingsTracking.ReleaseAllListeners(); if (newDataRoot != null) { this.dataRoot = (global::SpeechToTextApp.Model.Speaker)newDataRoot; return(true); } return(false); }
// Update methods for each path node used in binding steps. private void Update_(global::SpeechToTextApp.Model.Speaker obj, int phase) { if (obj != null) { if ((phase & (NOT_PHASED | (1 << 0))) != 0) { this.Update_EnrollmentStatus(obj.EnrollmentStatus, phase); this.Update_EnrollmentProgress(obj.EnrollmentProgress, phase); } if ((phase & (NOT_PHASED | DATA_CHANGED | (1 << 0))) != 0) { this.Update_SpeakerId(obj.SpeakerId, phase); this.Update_SpeakerName(obj.SpeakerName, phase); this.Update_DialogColor(obj.DialogColor, phase); } } }