The interface to an anonymous object is published through a protocol declaration.
匿名对象的接口通过一个协议声明被发布。
Is there a way to convert a dynamic or anonymous object to a strongly typed, declared object?
有一种方法,将动态或匿名对象的强类型,声明对象?
On the Sequence diagram the object boxes have no name preceding the ":." These are called anonymous objects.
在顺序图中,对象框没有名字“:”,这些对象叫做匿名对象。
In this case, it passes an anonymous object that contains values for the name of the child view to render for that section.
在这种情况下,它传递一个包含在这部分呈现的子视图的名称值的匿名对象。
When a closure "captures" a variable it "lifts" the variable out of its local scope and effectively moves it into an anonymous object.
当一个闭包“捕获”一个变量时,它就会将这个变量提取出它的本地范围,移到一个匿名对象里。
The instance of the major UI element representing "UI32 Seminar Selection Screen" is an anonymous object with the name ": SeminarSelector" and the stereotype.
表示“UI 32 SeminarSelection Screen ” (“UI32研习班选择屏幕”)的主要UI元素的实例是名称为“:SeminarSelector ”、原型为的匿名对象。
The idea here is that the object behind the interaction is anonymous and any object of that class could take part in the interaction.
它的含义是,交互背后的对象是匿名的,该类的任何对象都可以参与到交互中。
Every single object in the museum is anonymous, and has a short description of the relationship it was part of.
每件物品都是匿名展出,但配有与之相关的那段感情的简要说明。
The Scitter object used for communication fundamentals and for anonymous (non-authenticated) access to Twitter.
Scitter对象,用于通信基础和对Twitter的匿名(无身份验证)访问。
This method takes a new client object and an anonymous method that holds the same code a normal using block would contain.
方法接收一个新的客户端对象,以及一个匿名方法,该方法持有的代码与正常使用using语句块包含的代码完全相同。
You could have enclosed a pointer to your FadingTooltip object in the anonymous functions you defined for the W3C and Microsoft event models as well.
对于为W3C和Microsoft事件模型定义的匿名函数,都可以将FadingTooltip对象的指针封闭在其中。
For example, only final object references from the outer class are invokable within the body of the anonymous inner class.
例如,在匿名内联类的主体中,只能调用外部类中的final对象引用。
ONE of the keys for getting data easily to a view is that we need to send ONE object (and not an anonymous type) to the view.
若要轻易地获取数据并将其传给视图,则其中一个关键是我们需要传递“一个”对象(而且不是匿名类型)到视图。
How do you know if you should name an object or leave it anonymous?
如何决定是否给一个对象命名呢?
Because they are anonymous, objects communicating have no knowledge of one another and therefore are independent of the object they are communicating with.
因为是匿名的,通信的每个对象都不知道其他对象的相关信息,因此通信的过程依赖于其在与谁进行通信。
Anonymous types allow you to define a class, then declare and initialize an object of that class, without giving the class a name.
匿名类型允许您定义一个类,然后在不给出类名称的情况下声明并初始化该类的对象。
Query expressions make frequent use of anonymous types, which can only be initialized with an object initializer.
查询表达式经常使用匿名类型,而这些类型只能使用对象初始值设定项进行初始化。
To pass an anonymous type, or a collection that contains anonymous types, outside a method boundary, you must first cast the type to object.
若要在方法界限外传递匿名型别或包含匿名型别的集合,您必须先将型别转型为物件。
Implicitly-typed arrays are usually used in query expressions together with anonymous types and object and collection initializers.
隐含型别阵列通常是在查询运算式中与匿名型别及物件和集合初始设定式一起使用。
The format you use to declare an instance of an anonymous type resembles the format you use when you declare an instance of a named type by using an object initializer.
用于声明匿名类型实例的格式类似于在使用对象初始值设定项声明命名类型实例时使用的格式。
It also created an anonymous user object in case there was no ID.
这也创造了的情况下,没有ID匿名用户对象。
Anonymous types must be declared with an object initializer.
匿名类型必须用对象初始值设定项加以声明。
An anonymous type cannot be cast to any interface or type except for object.
匿名型别不可转换成物件以外的任何介面或型别。
A delegate object is normally constructed by providing the name of the method the delegate will wrap, or with an anonymous method.
委派物件一般是借由提供委派将包装的方法名称来建构,或使用匿名方法建构。
Anonymous types provide a convenient way to encapsulate a set of read-only properties into a single object without having to first explicitly define a type.
匿名型别提供便利的方式将唯读属性集封装至单一物件,而不用先明确定义型别。
Query expressions make frequent use of anonymous types, which can only be initialized by using an object initializer, as shown in the following declaration.
查询运算式经常使用匿名型别,此型别只能使用物件初始化设定式初始化,如下列宣告所示。
When you create an anonymous type that contains an array, the array must be implicitly typed in the type's object initializer.
建立包含阵列的匿名型别时,在型别的物件初始设定式中阵列必须是隐含型别。
When you create an anonymous type that contains an array, the array must be implicitly typed in the type's object initializer.
建立包含阵列的匿名型别时,在型别的物件初始设定式中阵列必须是隐含型别。
应用推荐