_Samples/_Examples.xml
(开头部分) 28KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<?xml version="1.0" encoding="utf-8" ?>
<comlibdoc>
<instructions>
Case 1: If shortdesc is empty, use content from summary as content for shortdesc
Case 2: summary can have @shortdesc which indicates replacing @shortdesc with content from shortdesc element
- Need check to prevent cyclic refs.
Case 3: fileref is used designate that the summary text should be applied to the summary element for the class in that file.
this is used to have a single location for component documentation at a high-level and auto-apply to components.
Case 4: example component is used for codeplex wiki purposes.
wikienabled= true | false : true = included for processing in codeplexdocgenerator tool
wikistyle= xml_markers | full_file | file_ref:
xml_markers: process the doc: tags in the file
full_file: include the full file for the wiki
not_available: use text that says "not available" please refer to example.
</instructions>
<components>
<component name="Account">
<shortdesc>Account component for Users/Groups/Roles. (With easily pluggable repository)</shortdesc>
<summary>
@shortdesc
Supports the features available in the ASP.NET membership for creating Users with some flexibility in associating profiles with users.
</summary>
<fileref name="Account\User.cs" />
<example wikienabled="true" wikistyle="xml_markers" fileid="698467">Example_Account.cs</example>
</component>
<component name="ActiveRecord">
<shortdesc>Light-weight ActiveRecord pattern supporting CRUD/Find methods. Single entity-table relationships only</shortdesc>
<summary>
Light-weight ActiveRecord pattern supporting CRUD(Create, Retrieve, Update, Delete) and Find methods on entities.
Features include:
1. Single entity-table relationships only ( to help faciliate cloud storage )
2. Pluggable underlying repository (use any database/cloud-storage of your choice)
3. Provides both static and instance crud/find methods via generic EntityService class
4. Provides life-cycle callback methods such as OnBeforeSave, OnBeforeValidate etc.
5. Find methods use a custom simple Query object with support for most of the sql clauses/conditions.
6. Easy configuration to specify how to load/use repository or custom "Service" class for extending CRUD / Find behaviour
</summary>
<fileref name="ActiveRecord\ActiveRecord.cs" />
<example wikienabled="true" wikistyle="xml_markers" fileid="479891">Example_ActiveRecord.cs</example>
</component>
<component name="Application">
<shortdesc>A template base class for any application, providing environment selection(Dev,Qa,Prod), logging, error handling, configuration and exit codes support.</shortdesc>
<summary>
A template base class for any application.
Out of the box features include:
1. Environment selection ( Dev, Qa, Uat, Prod )
2. Command line argument ( for overriding configuration )
3. Configuration file loading ( config file inheritance )
4. Logging
5. Email notification on completion
6. Error handling
7. 0/1 Exit codes on completion
</summary>
<fileref name="Application\App.cs" />
<example wikienabled="true" wikistyle="xml_markers" fileid="480461">Example_AppTemplate.cs</example>
</component>
后面还有 469 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
