資源簡介
開源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個文件信息
評論
共有 條評論