ISO IEC TR 25438-2006 Information technology - Common Language Infrastructure (CLI) - Technical Report Common Generics《信息技术 通用语言结构(CLI) 技术报告 普通遗传学》.pdf
《ISO IEC TR 25438-2006 Information technology - Common Language Infrastructure (CLI) - Technical Report Common Generics《信息技术 通用语言结构(CLI) 技术报告 普通遗传学》.pdf》由会员分享,可在线阅读,更多相关《ISO IEC TR 25438-2006 Information technology - Common Language Infrastructure (CLI) - Technical Report Common Generics《信息技术 通用语言结构(CLI) 技术报告 普通遗传学》.pdf(70页珍藏版)》请在麦多课文档分享上搜索。
1、 Reference number ISO/IEC TR 25438:2006(E) ISO/IEC 2006TECHNICAL REPORT ISO/IEC TR 25438 First edition 2006-08-01 Information technology Common Language Infrastructure (CLI) Technical Report: Common Generics Technologies de linformation Infrastructure commune de langage (ICL) Rapport technique: Gnri
2、ques communs ISO/IEC TR 25438:2006(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing t
3、he editing. In downloading this file, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file
4、can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretar
5、iat at the address given below. ISO/IEC 2006 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the ad
6、dress below or ISOs member body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org Published in Switzerland ii ISO/IEC 2006 All rights reservedISO/IEC TR 25438:2006(E) ISO/IEC 20
7、06 All rights reserved iii Contents Page Foreword. v Introduction . vi 1 Scope . 1 2 Rationale 1 2.1 Reference vs. value tuples. 1 2.2 Interaction with other standard types. 2 3 Overview 2 3.1 Tuple types 2 3.2 Function and procedure types 2 3.3 Unit . 2 3.4 Optional . 3 3.5 Either 3 4 Action delega
8、tes . 3 4.1 System.Action delegate . 3 4.2 System.Action delegate 4 4.3 System.Action delegate . 5 4.4 System.Action delegate. 6 4.5 System.Action delegate 8 5 System.DelegateCast class . 9 5.1 DelegateCast.ToFunction(System.Predicate) method. 10 5.2 DelegateCast.ToPredicate(System.Function) method.
9、 10 5.3 DelegateCast.ToFunction(System.Converter) method. 11 5.4 DelegateCast.ToConverter(System.Function) method. 12 5.5 DelegateCast.ToFunction(System.Comparison) method . 12 5.6 DelegateCast.ToComparison(System.Function) method . 13 6 System.Either Structure . 13 6.1 Either.Equals(System.Object)
10、method 15 6.2 Either.Equals(Either) method . 16 6.3 Either.First property 17 6.4 Either.GetHashCode() method.17 6.5 Either.IsFirst property. 18 6.6 Either.IsSecond property 19 6.7 Either.op_Equality(Either, Either) method. 19 6.8 Either.op_Inequality(Either, Either) method 20 6.9 Either.Second prope
11、rty. 21 6.10 Either.MakeFirst(A aValue) method. 22 6.11 Either.MakeSecond(B bValue) method . 22 6.12 Either.ToString() method 23 6.13 Either(A) constructor 23 6.14 Either(B) constructor 24 6.15 A Either.op_Explicit(System.Either) method 25 6.16 B Either.op_Explicit(System.Either) method 26 6.17 Eith
12、er.op_Implicit(A) method . 27 6.18 Either.op_Implicit(B) method . 28 7 Function Delegates. 29 7.1 System.Function delegate . 29 7.2 System.Function delegate 30 7.3 System.Function delegate . 31 ISO/IEC TR 25438:2006(E) iv ISO/IEC 2006 All rights reserved7.4 System.Function delegate. 32 7.5 System.Fu
13、nction delegate 33 7.6 System.Function delegate 35 8 System.Optional structure. 36 8.1 Optional(T) constructor 38 8.2 Optional.CompareTo(System.Object) method. 38 8.3 Optional.CompareTo(Optional) method. 40 8.4 Optional.Equals(System.Object) method. 41 8.5 Optional.Equals(Optional) method. 42 8.6 Op
14、tional.FromNullable(Nullable) method. 43 8.7 Optional.FromOptional(System.Optional) method . 44 8.8 Optional.GetHashCode() method45 8.9 Optional.GetValueOrDefault() method 45 8.10 Optional.GetValueOrDefault(T) method . 46 8.11 Optional.HasValue property 46 8.12 Optional.op_Equality(Optional, Optiona
15、l) method. 47 8.13 Optional.op_Explicit(System.Optional) method . 48 8.14 Optional.op_Implicit(T) method 49 8.15 Optional.op_Inequality(Optional, Optional) method 50 8.16 Optional.ToNullable(Optional) method. 51 8.17 Optional.ToOptional(T) method 51 8.18 Optional.ToString() method. 52 8.19 Optional.
16、Value property. 53 8.20 Optional.INullableValue.Value property . 53 9 Tuple structures System.Tuple System.Tuple. 54 9.1 Tuple() constructors. 56 9.2 Tuple.Equals(System.Object) method 56 9.3 Tuple.Equals(Tuple) method. 57 9.4 Tuple.ItemA, Tuple.ItemB, Tuple.ItemJ field 58 9.5 Tuple.GetHashCode() me
17、thod. 58 9.6 Tuple.op_Equality(Tuple, Tuple) method 59 9.7 Tuple.op_Implicit(KeyValuePair) method 60 9.8 Tuple.op_Implicit(Tuple) method 60 9.9 Tuple.op_Inequality(Tuple, Tuple) method . 61 9.10 Tuple.ToString() method 62 10 System.Unit enum. 62 10.1 Unit.Unit field. 63 ISO/IEC TR 25438:2006(E) ISO/
18、IEC 2006 All rights reserved v Foreword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of Interna
19、tional Standards through technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison w
20、ith ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of the joint technical
21、 committee is to prepare International Standards. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. In exceptional cir
22、cumstances, the joint technical committee may propose the publication of a Technical Report of one of the following types: type 1, when the required support cannot be obtained for the publication of an International Standard, despite repeated efforts; type 2, when the subject is still under technica
23、l development or where for any other reason there is the future but not immediate possibility of an agreement on an International Standard; type 3, when the joint technical committee has collected data of a different kind from that which is normally published as an International Standard (“state of
24、the art”, for example). Technical Reports of types 1 and 2 are subject to review within three years of publication, to decide whether they can be transformed into International Standards. Technical Reports of type 3 do not necessarily have to be reviewed until the data they provide are considered to
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ISOIECTR254382006INFORMATIONTECHNOLOGYCOMMONLANGUAGEINFRASTRUCTURECLITECHNICALREPORTCOMMONGENERICS 信息技术

链接地址:http://www.mydoc123.com/p-1257425.html