示例#1
0
        public override object Clone()
        {
            DicomServerLegacySettings clone = new DicomServerLegacySettings();

            clone.HostName           = _instance.HostName;
            clone.AETitle            = _instance.AETitle;
            clone.Port               = _instance.Port;
            clone.AllowUnknownCaller = _instance.AllowUnknownCaller;

            clone.InterimStorageDirectory   = _instance.InterimStorageDirectory;
            clone.StorageTransferSyntaxes   = _instance.StorageTransferSyntaxes;
            clone.ImageStorageSopClasses    = _instance.ImageStorageSopClasses;
            clone.NonImageStorageSopClasses = _instance.NonImageStorageSopClasses;
            clone.QueryResponsesInUtf8      = _instance.QueryResponsesInUtf8;

            return(clone);
        }
示例#2
0
        public override object Clone()
        {
            DicomServerLegacySettings clone = new DicomServerLegacySettings();

            clone.HostName = _instance.HostName;
            clone.AETitle = _instance.AETitle;
            clone.Port = _instance.Port;
			clone.AllowUnknownCaller = _instance.AllowUnknownCaller;
            
			clone.InterimStorageDirectory = _instance.InterimStorageDirectory;
			clone.StorageTransferSyntaxes = _instance.StorageTransferSyntaxes;
			clone.ImageStorageSopClasses = _instance.ImageStorageSopClasses;
			clone.NonImageStorageSopClasses = _instance.NonImageStorageSopClasses;
            clone.QueryResponsesInUtf8 = _instance.QueryResponsesInUtf8;

            return clone;
        }