سؤال

What is Caché Object Script's method for passing parameters to a base constructor?

For example, in C# you would do the following:

public MyConstructor(string id) : base(id) { }

where id is the value you wish to pass to the base constructor.

هل كانت مفيدة؟

المحلول

Do ##super(id)

super must be in lower case.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top