示例#1
0
 internal SutSystemSettings(Wrappers.MBaseSession adaptee)
 {
     if (adaptee == null)
     {
         throw new System.ArgumentNullException("adaptee");
     }
     m_adaptee = adaptee;
 }
示例#2
0
 internal EmulatorSession(Wrappers.MBaseSession adaptee)
 {
     if (adaptee == null)
     {
         throw new System.ArgumentNullException("adaptee");
     }
     // Check type
     m_adaptee = (Wrappers.MEmulatorSession)adaptee;
     Wrappers.MDisposableResources.AddDisposable(m_adaptee);
     _Initialize();
 }
示例#3
0
 internal DefinitionManagement(Wrappers.MBaseSession adaptee)
 {
     if (adaptee == null)
     {
         throw new System.ArgumentNullException("adaptee");
     }
     m_adaptee = adaptee;
     //
     // load list from the values in the session
     //
     System.UInt16 nrOfDefinitionFileDirectories = this.m_adaptee.NrOfDefinitionFileDirectories;
     for (System.UInt16 index = 0; index < nrOfDefinitionFileDirectories; index++)
     {
         this._DefinitionFileDirectoryList.Add(this.m_adaptee.get_DefinitionFileDirectory(index));
     }
     //
     // subscribe to contents changes to call underlying MBaseSession methods.
     //
     this._DefinitionFileDirectoryList.ListChanged +=
         new System.ComponentModel.ListChangedEventHandler(_DefinitionFileDirectoryList_ListChanged);
 }
示例#4
0
        internal SupportedTransferSyntaxSettings(Wrappers.MEmulatorSession adaptee)
        {
            if (adaptee == null) throw new System.ArgumentNullException("adaptee");
            this.m_adaptee = adaptee;

            // load the supported list from the values in the session
            System.UInt16 nrOfSupportedTransferSyntaxes = this.m_adaptee.NrOfSupportedTransferSyntaxes;
            for (System.UInt16 index = 0; index < nrOfSupportedTransferSyntaxes; index++)
            {
                this._TransferSyntaxList.Add(
                    new DvtkData.Dul.TransferSyntax(this.m_adaptee.get_SupportedTransferSyntax(index))
                    );
            }
            // subscribe to contents changes to call underlying MBaseSession methods.
            this._TransferSyntaxList.ListChanged +=
                new System.ComponentModel.ListChangedEventHandler(_TransferSyntaxList_ListChanged);
        }
示例#5
0
 internal DvtSystemSettings(Wrappers.MBaseSession adaptee)
 {
     m_adaptee = adaptee;
 }
示例#6
0
 internal Dvt1MediaSessionService(Session parentSession, Wrappers.MBaseSession baseSessionDelegate)
     : base(parentSession)
 {
     m_delegate = baseSessionDelegate;
 }
示例#7
0
 internal DefinitionManagement(Wrappers.MBaseSession adaptee)
 {
     if (adaptee == null) throw new System.ArgumentNullException("adaptee");
     m_adaptee = adaptee;
     //
     // load list from the values in the session
     //
     System.UInt16 nrOfDefinitionFileDirectories = this.m_adaptee.NrOfDefinitionFileDirectories;
     for (System.UInt16 index = 0; index < nrOfDefinitionFileDirectories; index++)
     {
         this._DefinitionFileDirectoryList.Add(this.m_adaptee.get_DefinitionFileDirectory(index));
     }
     //
     // subscribe to contents changes to call underlying MBaseSession methods.
     //
     this._DefinitionFileDirectoryList.ListChanged +=
         new System.ComponentModel.ListChangedEventHandler(_DefinitionFileDirectoryList_ListChanged);
 }
示例#8
0
 internal Dvt1MediaSessionService(Session parentSession, Wrappers.MBaseSession baseSessionDelegate)
     : base(parentSession)
 {
     m_delegate = baseSessionDelegate;
 }
示例#9
0
        internal SecuritySettings(Wrappers.MBaseSession adaptee)
        {
            if (adaptee == null) throw new System.ArgumentNullException();

            m_adaptee = adaptee;
        }
示例#10
0
 internal DvtSystemSettings(Wrappers.MBaseSession adaptee)
 {
     m_adaptee = adaptee;
 }