资源简介
开源PACS产品和 DICOM 浏览器,C#语言编写,目前支持sqlserver数据库,结构清晰,简单调整可支持多种数据库。
代码片段和文件信息
#region License
// Copyright (c) 2013 ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General Public
// License as published by the Free Software Foundation either version 3 of the
// License or (at your option) any later version.
//
// The ClearCanvas RIS/PACS open source project is distributed in the hope that it
// will be useful but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
// Public License for more details.
//
// You should have received a copy of the GNU General Public License along with
// the ClearCanvas RIS/PACS open source project. If not see
// .
#endregion
using System;
namespace ClearCanvas.Common
{
///
/// Implements an extension filter that performs matching on attributes.
///
///
/// For each attribute that is supplied to the constructor of this filter the filter
/// will check if the extension is marked with at least one matching attribute. A matching attribute is an
/// attribute for which the method returns true. This allows
/// for quite sophisticated matching capabilities as the attribute itself decides what constitutes
/// a match.
///
public class AttributeExtensionFilter : ExtensionFilter
{
private Attribute[] _attributes;
///
/// Creates a filter to match on multiple attributes.
///
///
/// The extension must test true on each attribute.
///
/// The attributes to be used as test criteria.
public AttributeExtensionFilter(Attribute[] attributes)
{
_attributes = attributes;
}
///
/// Creates a filter to match on a single attribute.
///
/// The attribute to be used as test criteria.
public AttributeExtensionFilter(Attribute attribute)
:this(new Attribute[] { attribute })
{
}
///
/// Checks whether the specified extension is marked with attributes that
/// match every test attribute supplied as criteria to this filter.
///
/// The information about the extension to test.
/// true if the test succeeds.
public override bool Test(ExtensionInfo extension)
{
foreach (Attribute a in _attributes)
{
object[] candidates = ex
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 824 2013-09-30 09:20 ClearCanvas\.gitattributes
文件 1171 2013-09-30 09:20 ClearCanvas\.gitignore
文件 1102 2013-09-30 09:20 ClearCanvas\.hgignore
文件 179 2013-09-30 09:20 ClearCanvas\.hgtags
文件 2755 2013-09-30 09:20 ClearCanvas\Common\Actions\ActionSet.cs
文件 1682 2013-09-30 09:20 ClearCanvas\Common\Actions\IActionItem.cs
文件 1580 2013-09-30 09:20 ClearCanvas\Common\Actions\IActionSet.cs
文件 2277 2013-09-30 09:20 ClearCanvas\Common\Actions\Ixm
文件 8903 2013-09-30 09:20 ClearCanvas\Common\Actions\xm
文件 1980 2013-09-30 09:20 ClearCanvas\Common\Actions\xm
文件 5897 2013-09-30 09:20 ClearCanvas\Common\app.config
文件 3556 2013-09-30 09:20 ClearCanvas\Common\AttributeExtensionFilter.cs
文件 3531 2013-09-30 09:20 ClearCanvas\Common\Audit\AuditEntryInfo.cs
文件 4747 2013-09-30 09:20 ClearCanvas\Common\Audit\AuditLog.cs
文件 1404 2013-09-30 09:20 ClearCanvas\Common\Audit\IAuditSink.cs
文件 3138 2013-09-30 09:20 ClearCanvas\Common\Authorization\AuthorityGroupDefinition.cs
文件 3389 2013-09-30 09:20 ClearCanvas\Common\Authorization\AuthorityGroupSetup.cs
文件 1653 2013-09-30 09:20 ClearCanvas\Common\Authorization\AuthorityTokenAttribute.cs
文件 2190 2013-09-30 09:20 ClearCanvas\Common\Authorization\AuthorityTokenDefinition.cs
文件 1383 2013-09-30 09:20 ClearCanvas\Common\Authorization\IDefineAuthorityGroups.cs
文件 4536 2013-09-30 09:20 ClearCanvas\Common\Caching\Cache.cs
文件 3443 2013-09-30 09:20 ClearCanvas\Common\Caching\CacheClientLoggingDecorator.cs
文件 1149 2013-09-30 09:20 ClearCanvas\Common\Caching\CacheException.cs
文件 1247 2013-09-30 09:20 ClearCanvas\Common\Caching\CacheGetOptions.cs
文件 1295 2013-09-30 09:20 ClearCanvas\Common\Caching\CacheOptionsba
文件 1185 2013-09-30 09:20 ClearCanvas\Common\Caching\CacheProviderInitializationArgs.cs
文件 1798 2013-09-30 09:20 ClearCanvas\Common\Caching\CachePutOptions.cs
文件 1348 2013-09-30 09:20 ClearCanvas\Common\Caching\CacheRemoveOptions.cs
文件 3650 2013-09-30 09:20 ClearCanvas\Common\Caching\DefaultCacheClient.cs
文件 6226 2013-09-30 09:20 ClearCanvas\Common\Caching\DefaultCacheProvider.cs
............此处省略12648个文件信息
相关资源
- C# 调用win32 api函数-user32.dll详细说明
- C# 调用BarTender打印条码DEMO
- 大型比赛竞赛抽签系统 可打印 c# vs
- C#编写的Gerber查看器
- lua C# .Net4.0 vs2010 LuaInterface
- C#十六进制编辑器
- 明华URF-35H读卡器 C#读写源码 为大家
- C#文件流读取CSV文件
- c#读写PDF文件sql
- C# winform Socket大文件传输
- c#车牌识别系统附30张测试图片
- 《C#面向对象程序设计》源代码(CS)
- 金旭亮《C#面向对象程序设计》教案
- 试题库管理系统毕业论文(C#)源程序
- 学校网站原代码(C#.NET)
- C#-数据库操作技术-员工管理系统
- c#web开发入门经典
- C#与Matlab混合编程的几种方式
- c# 开发与 mysql数据库实现的增删改查
- C#异步操作 异步查询数据库 异步处理
- Basler相机通过IO触发源码
- [源代码] 《领域驱动设计 (C# 2008 实
- 松下PLC与C#通讯串口调试入门教程.z
- USB 继电器控制器 LCUS-1 保证能用 c#
- C# AES加密解密小工具
- C#圆形按钮,非常漂亮动态~~
- [精]C#仿QQ右下角弹出提示框()
- C#进程间通信-共享内存代码
- 有史以来最简单的三层(C#)
- vb调用c#编写的串口DLL文件(vb源码
评论
共有 条评论