Esempio n. 1
0
        /// <summary>
        /// <see cref="IDefinitionManagement.GetDefinitionFileDetails"/>
        /// </summary>
        public DefinitionFileDetails GetDefinitionFileDetails(DefinitionFileName definitionFileName)
        {
            if (definitionFileName == null)
            {
                throw new System.ArgumentNullException("definitionFileName");
            }
            Wrappers.MDefinitionFileDetails mDefinitionFileDetails =
                Wrappers.MDefinition.get_FileDetails(definitionFileName);
            DefinitionFileDetails definitionFileDetails = new DefinitionFileDetails();

            definitionFileDetails.ApplicationEntityName    = mDefinitionFileDetails.AEName;
            definitionFileDetails.ApplicationEntityVersion = mDefinitionFileDetails.AEVersion;
            definitionFileDetails.SOPClassName             = mDefinitionFileDetails.SOPClassName;
            definitionFileDetails.SOPClassUID    = mDefinitionFileDetails.SOPClassUID;
            definitionFileDetails.IsMetaSOPClass = mDefinitionFileDetails.IsMetaSOPClass;
            return(definitionFileDetails);
        }
Esempio n. 2
0
 /// <summary>
 /// <see cref="IDefinitionManagement.GetDefinitionFileDetails"/>
 /// </summary>
 public DefinitionFileDetails GetDefinitionFileDetails(DefinitionFileName definitionFileName)
 {
     if (definitionFileName == null) throw new System.ArgumentNullException("definitionFileName");
     Wrappers.MDefinitionFileDetails mDefinitionFileDetails =
         Wrappers.MDefinition.get_FileDetails(definitionFileName);
     DefinitionFileDetails definitionFileDetails = new DefinitionFileDetails();
     definitionFileDetails.ApplicationEntityName     = mDefinitionFileDetails.AEName;
     definitionFileDetails.ApplicationEntityVersion  = mDefinitionFileDetails.AEVersion;
     definitionFileDetails.SOPClassName              = mDefinitionFileDetails.SOPClassName;
     definitionFileDetails.SOPClassUID               = mDefinitionFileDetails.SOPClassUID;
     definitionFileDetails.IsMetaSOPClass            = mDefinitionFileDetails.IsMetaSOPClass;
     return definitionFileDetails;
 }