快精灵印艺坊 您身边的文印专家
广州名片 深圳名片 会员卡 贵宾卡 印刷 设计教程
产品展示 在线订购 会员中心 产品模板 设计指南 在线编辑
 首页 名片设计   CorelDRAW   Illustrator   AuotoCAD   Painter   其他软件   Photoshop   Fireworks   Flash  

 » 彩色名片
 » PVC卡
 » 彩色磁性卡
 » 彩页/画册
 » 个性印务
 » 彩色不干胶
 » 明信片
   » 明信片
   » 彩色书签
   » 门挂
 » 其他产品与服务
   » 创业锦囊
   » 办公用品
     » 信封、信纸
     » 便签纸、斜面纸砖
     » 无碳复印纸
   » 海报
   » 大篇幅印刷
     » KT板
     » 海报
     » 横幅

The following FAQ answers some of the most common questions about .NET Reflector.

Does Reflector support XML documentation viewing?
Reflector actually includes an XML documentation viewer. Select a type, constructor, method, property, field or event and hit the F1 key. The program will either find the documentation file automatically or it will ask for it.
How can I easily figure out what I can possibly do with a selected item?
Reflector supports context menus (which can be opened by right-clicking on a node in the browser window). This is often the quickest way to find out what you can do with that item.
How can I view all the information organized by Namespace?
Reflector supports a namespace-centric mode. Here is the trick: Open the view menu, click the customize item and enable the "Flatten Namespaces" checkbox.
Why does Reflector hold my file locked even after I close it from the file menu?
This is a problem with the CLR, not with Reflector. Right now, the CLR does not support an easy way to unload assemblies from memory. Even after running "File/Close" the runtime still keeps the file in memory. The only way to release the lock is to restart reflector. There are some workarounds for the CLR problem but they would all introduce other side effects.
How come I can\\'t find the methods in System.Reflection that let me get at the IL code?
At the time of writing System.Reflection does not support methods for accessing IL code. Reflector uses its own hand-built EXE/DLL file reader to read the IL code. The routines are exposed, however, in Reflector.Disassembler for those hard core programmers that want to play around with it.
What is the difference between "File/Open" and "File/Open Name"?
The "File/Open Name" menu allows you to quickly open files that are already loaded into the Global Assembly Cache (GAC). However, when using this option you will find it harder to access the XML documentation that is often stored in the same directory as the original EXE/DLL. The problem arises because the GAC does not provide functionality for navigating back to the original location of an assembly. To avoid that load the EXE/DLL from its original location.
How do Bookmarks work?
The Bookmarks tool only works for types, constructors, methods, fields, properties and events at the moment. You can add a selected node to the bookmarks list using the INS key and remove it by pressing DEL.
How do I use the Type Search to find a particular type?
Type Search (F3) shows you all the types available in the loaded assemblies (taking your visibilities settings into consideration). The tool works like a dictionary index and typing syllables in the header boxes is filtering the lower part. The search stops after 1000 elements. You should already have an idea what you are looking for at that point - use filtering to get more. The progess bar at the bottom shows the percentage of the loaded assemblies that is already processed.
How do I use the Member Search to find a particular member?
Member Search (F4) works the same way as Type Search works. It is a bit slower and shows all members as well (types, constructors, methods, fields, properties, events).
What is Member References Search and why is it so slow?
The Member references (Shift-F4) tool searches through all of the IL code to find all the members that refer to the node that was selected. The Member References Search tool is very slow at the moment so it can take some time until the search finishes. The search scope is limited for private and internal members. The search can also be made quicker by using the filter and unloading large assemblies which you do not want to search.
What is the difference between the Type Reference and Member Reference Search?
The Type References Search shows all the members that refer to the selected type in their Meta Data. The IL code is not searched. This will speed up the search, but may not give you all the results you are looking for.
How do I find out what the various IL op-codes do?
Move your mouse cursor over the op-code in the Disassembler view and wait for the Tooltip.
How do I get a Call graph? What is the Call Tree?
The call tree tool shows you a tree of methods that could possibly be called by the selected method. It stops on interfaces and delegates so it is like a compressed nested disassembler view.
How can I view a language-specific definition of a Type?
Reflector supports a type view which shows the full definition of a selected type node including members in your language of choice. You have to close and restart the type view window after changing the language in the language menu. The view is designed for printing out type definitions (right-click to access the context menu). It can also be used to keep the type definition on the screen while performing additional member navigation. The view is not intended for copy and paste although in many cases it may work.
Can I get Tooltips based off of the XML documentation while browsing the hierarchy?
No. This feature is not supported in Reflector currently, but might be in upcoming versions. 



返回类别: 教程
上一教程: 部署ASP.NET的三大技术(3)
下一教程: asp.net中的vb7中如何使用socket作一个传送时间的server

您可以阅读与"The following FAQ answers some of the most common questions about .NET Reflector."相关的教程:
· .NET P2P: Writing Peer-to-Peer Networked Apps with the Microsoft .NET Framework
· Microsoft .NET框架FAQ续
· Vs.NET IDE启动时"the application cannot start."的解决办法
· Borland Eyeing the Chasm Between Java and .NET
· Microsoft .NET 框架 FAQ
    微笑服务 优质保证 索取样品