Esempio n. 1
0
        protected SimpleAction(NvdlNoCancelAction action)
        {
            FillLocation(action);

            if (action.ModeUsage != null)
            {
                modeUsage = new SimpleModeUsage(action.ModeUsage);
            }
            messages = new ListDictionary();
            if (action.SimpleMessage != null)
            {
                messages.Add("", action.SimpleMessage);
            }
            foreach (NvdlMessage msg in action.Messages)
            {
                messages.Add(msg.XmlLang, msg.Text);
            }
        }
Esempio n. 2
0
		protected SimpleAction (NvdlNoCancelAction action)
		{
			FillLocation (action);

			if (action.ModeUsage != null)
				modeUsage = new SimpleModeUsage (action.ModeUsage);
			messages = new ListDictionary ();
			if (action.SimpleMessage != null)
				messages.Add ("", action.SimpleMessage);
			foreach (NvdlMessage msg in action.Messages)
				messages.Add (msg.XmlLang, msg.Text);
		}