Castle.MonoRail.Framework.Helpers.FormHelper.ApplyNumberOnlyOptions C# (CSharp) Метод

ApplyNumberOnlyOptions() приватный статический Метод

private static ApplyNumberOnlyOptions ( IDictionary attributes ) : void
attributes IDictionary
Результат void
		private static void ApplyNumberOnlyOptions(IDictionary attributes)
		{
			string list = CommonUtils.ObtainEntryAndRemove(attributes, "exceptions", String.Empty);
			string forbid = CommonUtils.ObtainEntryAndRemove(attributes, "forbid", String.Empty);

			attributes["onKeyPress"] = "return monorail_formhelper_numberonly(event, [" + list + "], [" + forbid + "]);";
		}