Rhino.ImporterTopLevel.InitPrototypeId C# (CSharp) Méthode

InitPrototypeId() protected méthode

protected InitPrototypeId ( int id ) : void
id int
Résultat void
		protected internal override void InitPrototypeId(int id)
		{
			string s;
			int arity;
			switch (id)
			{
				case Id_constructor:
				{
					arity = 0;
					s = "constructor";
					break;
				}

				case Id_importClass:
				{
					arity = 1;
					s = "importClass";
					break;
				}

				case Id_importPackage:
				{
					arity = 1;
					s = "importPackage";
					break;
				}

				default:
				{
					throw new ArgumentException(id.ToString());
				}
			}
			InitPrototypeMethod(IMPORTER_TAG, id, s, arity);
		}