ClearCanvas开源PACS系统C#


开源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  ClearCanvasCommonActionsActionSet.cs

     文件       1682  2013-09-30 09:20  ClearCanvasCommonActionsIActionItem.cs

     文件       1580  2013-09-30 09:20  ClearCanvasCommonActionsIActionSet.cs

     文件       2277  2013-09-30 09:20  ClearCanvasCommonActionsIxmlActionCompilerOperator.cs

     文件       8903  2013-09-30 09:20  ClearCanvasCommonActionsxmlActionCompiler.cs

     文件       1980  2013-09-30 09:20  ClearCanvasCommonActionsxmlActionCompilerException.cs

     文件       5897  2013-09-30 09:20  ClearCanvasCommonapp.config

     文件       3556  2013-09-30 09:20  ClearCanvasCommonAttributeExtensionFilter.cs

     文件       3531  2013-09-30 09:20  ClearCanvasCommonAuditAuditEntryInfo.cs

     文件       4747  2013-09-30 09:20  ClearCanvasCommonAuditAuditLog.cs

     文件       1404  2013-09-30 09:20  ClearCanvasCommonAuditIAuditSink.cs

     文件       3138  2013-09-30 09:20  ClearCanvasCommonAuthorizationAuthorityGroupDefinition.cs

     文件       3389  2013-09-30 09:20  ClearCanvasCommonAuthorizationAuthorityGroupSetup.cs

     文件       1653  2013-09-30 09:20  ClearCanvasCommonAuthorizationAuthorityTokenAttribute.cs

     文件       2190  2013-09-30 09:20  ClearCanvasCommonAuthorizationAuthorityTokenDefinition.cs

     文件       1383  2013-09-30 09:20  ClearCanvasCommonAuthorizationIDefineAuthorityGroups.cs

     文件       4536  2013-09-30 09:20  ClearCanvasCommonCachingCache.cs

     文件       3443  2013-09-30 09:20  ClearCanvasCommonCachingCacheClientLoggingDecorator.cs

     文件       1149  2013-09-30 09:20  ClearCanvasCommonCachingCacheException.cs

     文件       1247  2013-09-30 09:20  ClearCanvasCommonCachingCacheGetOptions.cs

     文件       1295  2013-09-30 09:20  ClearCanvasCommonCachingCacheOptionsbase.cs

     文件       1185  2013-09-30 09:20  ClearCanvasCommonCachingCacheProviderInitializationArgs.cs

     文件       1798  2013-09-30 09:20  ClearCanvasCommonCachingCachePutOptions.cs

     文件       1348  2013-09-30 09:20  ClearCanvasCommonCachingCacheRemoveOptions.cs

     文件       3650  2013-09-30 09:20  ClearCanvasCommonCachingDefaultCacheClient.cs

     文件       6226  2013-09-30 09:20  ClearCanvasCommonCachingDefaultCacheProvider.cs

............此处省略12648个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)