月亮词典
首页
查询
Parameterless
无参数的
常用释义
词性释义
无参数的
例句
全部
You
add
these
annotations
as
needed
to
any
public
,
parameterless
method
that
returns
void
to
implement
reactions to
life
-
cycle
events
.
可以
根据
需要
将
这些
注解
添加
到
适当
的
方法
上
,
从而
实现
对
生命
周期
事件
的
响应
;
只
要求
这些
方法
是
公共
方法
,
没有
参数
并
返回
void
。
Parameterless
functions
do
not
need
the
parenthesis
,
thus
a
typical
field
get
method
can
resemble
a
field
reference
.
无
参数
函数
不
需要
括号
,
于是
域
的
典型
方法
get
方法
看起来
就
像
域
引用
一样
。
The
coclass
proxy
also
contains
a
default
parameterless
constructor
for
creating
an
instance
of
the
COM
object
it
represents
.
辅助
类
代理
也
包含
一个
默认
的
无
参数
构造器
,
用来
建立
它
所
代表
的
COM
对象
的
实例
。
A
parameterless
constructor
cannot
be
declared
in
value
types
.
不能
在
值
类型
中
声明
无
参数
构造函数
。
Constraint
specifies
that any
type
argument
in a
generic
class
declaration
must
have
a
public
parameterless
constructor
.
约束
指定
泛
型
类
声明
中
的
任何
类型
参数
都
必须
有
公共
的
无
参数
构造函数
。
Constructor
Require types that use
your
generic
to
implement
a
parameterless
constructor
.
构造
函数
约束
无
参数
的
构造
函数
才能
作为
参数
实例
化
你
的
泛型
·
A
type
cannot
have
more
than one
parameterless
constructor
,
and
you
cannot
specify
this
requirement
more
than
once
.
一个
类型
不能
有
多个
无
参数
构造函数
,
因此
您
不能
指定
此
要求
多次
。
Use
the
parameterless
constructor
and
then
set the properties
using
使用
无
参数
的
构造函数
,
然后
使用
更新时间:2025-05-02 08:47