Example #1
0
        /// <summary>
        /// Updates the name.
        /// </summary>
        /// <param name="name">The name.</param>
        public void UpdateName(string name)
        {
            var args = new UpdateNameEventArgs(name);

            Tracer.Debug(string.Format("MapEditViewModel :: Name updated callback retrieved (Name={0})", args.Name));
            ThreadContext.InvokeOnUiThread(() => this.NameUpdated(this, args));
        }
Example #2
0
 /// <summary>
 /// Updates the name.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="args">The <see cref="UpdateNameEventArgs"/> instance containing the event data.</param>
 private void NameUpdated(object sender, UpdateNameEventArgs args)
 {
     this.MapName = args.Name;
 }