資源簡介
基于ClearCanvas開發的pacs系統代碼,c#開發,包含了dicom的傳輸、存儲、瀏覽等
代碼片段和文件信息
#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??2014-09-19?00:17??pacs-ClearCanvas-master\.gitattributes
????.......??????1171??2014-09-19?00:17??pacs-ClearCanvas-master\.gitignore
????.......??????1315??2014-09-19?00:17??pacs-ClearCanvas-master\.hgignore
????.......???????179??2014-09-19?00:17??pacs-ClearCanvas-master\.hgtags
????.......??????1704??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Actions\ActionExecuteResult.cs
????.......??????2850??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Actions\ActionList.cs
????.......??????1481??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Actions\IActionItem.cs
????.......??????1673??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Actions\IActionList.cs
????.......??????2130??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Actions\Ixm
????.......??????7405??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Actions\xm
????.......??????1867??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Actions\xm
????.......??????6004??2014-09-19?00:17??pacs-ClearCanvas-master\Common\app.config
????.......??????3556??2014-09-19?00:17??pacs-ClearCanvas-master\Common\AttributeExtensionFilter.cs
????.......??????3531??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Audit\AuditEntryInfo.cs
????.......??????4747??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Audit\AuditLog.cs
????.......??????1404??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Audit\IAuditSink.cs
????.......??????3812??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Authorization\AuthorityGroupDefinition.cs
????.......??????4117??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Authorization\AuthorityGroupSetup.cs
????.......??????1653??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Authorization\AuthorityTokenAttribute.cs
????.......??????2190??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Authorization\AuthorityTokenDefinition.cs
????.......??????1383??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Authorization\IDefineAuthorityGroups.cs
????.......??????4536??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Caching\Cache.cs
????.......??????3443??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Caching\CacheClientLoggingDecorator.cs
????.......??????1149??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Caching\CacheException.cs
????.......??????1247??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Caching\CacheGetOptions.cs
????.......??????1295??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Caching\CacheOptionsba
????.......??????1185??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Caching\CacheProviderInitializationArgs.cs
????.......??????1798??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Caching\CachePutOptions.cs
????.......??????1348??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Caching\CacheRemoveOptions.cs
????.......??????3650??2014-09-19?00:17??pacs-ClearCanvas-master\Common\Caching\DefaultCacheClient.cs
............此處省略13197個文件信息
評論
共有 條評論