To cache the records from the alternate source, you need a cache per value type returned.
要缓存这些来自备用源的记录,您需要为返回的每种值类型设置一个缓存。
In C# you can flag a value type as a nullable type by adding ? after the type (like int? x;).
在C#中,你可以在一个允许为空的值类型后面加上一个问号(比如,int?x;)。
The value type of the LTPA token is WSST: LTPA where WSST defines the namespace of the token.
ltpa令牌的值类型为wsst: LTPA,其中wsst定义了令牌的命名空间。
The object of a value type is in the stack, but the object of a reference type is in the heap.
数值类型的对象位于栈中,但是引用类型的对象位于堆中。
That means a reference type can have a null pointer, but a value type cannot have a null value.
这意味着引用类型可能有空指针,但是数值类型不能有空值。
A signature can embed a token that identifies the enclosing class or value type.
签名中可以嵌入标识封闭类或值类型的标记。
A value type or reference type refers to how a programming element is stored in memory.
而值类型或引用类型是指编程元素将以何种方式存储在内存中。
If both arrays have value type elements, the element data types must be exactly the same.
如果两个数组的元素都是值类型元素,则元素的数据类型必须完全相同。
Specialized generic types are created once for each unique value type used as a parameter.
在泛型类中定义的委托,可以与类的方法一样地使用泛型类的类型参数。
But that's not to say that every type returned from a public member should be a value type.
但这并不是说所有从公共成员返回的类型必须是值类型的。
With the exception of a boxed value type, you cannot convert a reference type to a value type.
除了装箱值类型外,无法将引用类型转换为值类型。
In an unsafe context, a type may be a pointer type as well as a value type or a reference type.
在不安全的上下文中,类型可以是指针类型以及值类型或引用类型。
Each value type has an implicit default constructor that initializes the default value of that type.
每种值类型均有一个隐式的默认构造函数来初始化该类型的默认值。
Two variables of a value type are equal if they are the same type and they contain the same contents.
两个值类型的变量在它们的类型和内容都是相同时,它们应该是相等的。
This is because a composite value type, such as a user-defined structure, has no valid default value.
这是因为复合实值型别(例如使用者定义的结构)没有任何有效的预设值。
Specialized generic types are created one time for each unique value type that is used as a parameter.
对于每个用作参数的唯一值类型,都会创建一次专用泛型类型。
Notice that the constraint specifies that the generic type can only be instantiated with a value type.
请注意,该约束指定泛型类型只能使用值类型进行实例化。
A conversion from a value type stores a copy of the source value in the destination of the conversion.
从值类型进行的转换在转换目标中存储源值的副本。
We've seen some internal code where making it inline (ie, as a value type) improved perf as it decreased working set.
我们看到过很多内部代码,使用值类型来提高性能,同时减小工作集大小。
Version 2.0 of the EJB specification defines a primary key class as any class that is a legal value type in RMI-IIOP.
EJB规范的 2.0版将主键类定义成任何是 RMI-IIOP中合法值类型的类。
The error performance of single pulse PPK system with maximum value type decision model is discussed in this paper.
本文讨论采用择大判决模型的单脉冲PPK体制的抗干扰性能。
The current thinking is that the pattern's initial implementation requires that the value type always equal the entity record.
当前的考虑是,模式的初始实现需要值类型始终等于实体记录。
This can lead to a problem if the XSD type is mapped to a value type in one language but mapped to a reference type in another.
如果xsd类型在一种语言中被映射成了数值类型,而在另一种语言中被映射成了引用类型,那么这可能导致问题的出现。
All operands to specific intrinsics are cast to a special type called qword, which is essentially an opaque register value type.
specific intrinsic 的所有操作数都会映射为一个称为qword 的特殊类型,它实际上是一个opaque寄存器值类型。
Defines a generalized type-specific comparison method that a value type or class implements to order or sort its instances.
定义一种特定于类型的通用比较方法,值类型或类通过实现此方法对其实例进行排序。
If the statement makes indirect access through a value type (usually a structure), create a variable to hold the value type.
如果相应语句通过值类型(通常为结构)进行间接访问,请创建一个变量来保存值类型。
Notice the similarities above with that of Listing 5, but notice that the hidden value type is set to rssFeed, instead of webPage.
可以看到上面清单与清单5 有相似之处,但要注意的是,该隐藏值类型被设置为 rssFeed,而不是 webPage。
How the MSIL for a generic type is used differs based on whether the supplied type parameter is a value type or reference type.
泛型类型的MSIL的使用因所提供的类型参数是值类型还是引用类型而不同。
Boxing a value type creates an object and performs a shallow copy of the fields of the specified value type into the new object.
对值类型进行装箱将创建一个对象并将指定的值类型的字段浅表复制到新对象中。
To be a conformant value type, a series of rules must be followed. I only list several of them, the ones most relevant to this article.
为了获得一致的值类型,必须遵循一系列规则。
应用推荐