指定属性的位置参数和具名参数。
Specify positional parameters and named parameters for the attribute.
借助于具名参数,我们可以有选择地修改被拷贝实例的值,请参看scala站点以深入了解该主题。
Using named arguments, one can selectively change values for the copied instance, as shown on the Scala website.
当应用程序第一次执行建立参数执行个体的程序码时,会检查组态档是否有关于具名参数的追踪层级资讯。
When your application executes the code that creates an instance of a switch for the first time, it checks the configuration file for trace-level information about the named switch.
具名与默认参数经常搭配使用,我们可以根据参数名称为参数赋值,同时对其他参数使用默认值,如下代码片段所示
Named and default arguments work hand in hand; one can pick a certain parameter by its name and use defaults for the others
Scala 2.8还增加了新的语言特性,如新的具名与默认参数。
Scala 2.8 also offers new language features, like the new named and default arguments. Named arguments look like assignments to the names of the called method's formal parameters
使用最符合指定参数的具名组件和建构函式,建立其名称已在指定远端网域中指定之型别的执行个体。
Creates an instance of the type whose name is specified in the specified remote domain, using the named assembly and the constructor that best matches the specified parameters.
依据指定的内容、路由名称与参数值,传回与该具名路由关联的URL路径相关资讯。
Returns information about the URL path that is associated with the named route, given the specified context, route name, and parameter values.
不要同时以具名引数和位置引数来定义参数。
Do not define a parameter with both named and positional arguments.
不要同时以具名引数和位置引数来定义参数。
Do not define a parameter with both named and positional arguments.
应用推荐