コード例 #1
0
        public Type this [MSR.LST.ConferenceXP.PayloadType payloadType]
        {
            get
            {
                return((Type)Dictionary[payloadType]);
            }
            set
            {
                if (value.GetType() != Type.GetType("Type"))
                {
                    throw new ArgumentException("value must be a Type", "value");
                }

                Dictionary[payloadType] = value;
            }
        }
コード例 #2
0
        public Type this [MSR.LST.ConferenceXP.PayloadType payloadType]
        {
            get
            {
                return((Type)Dictionary[payloadType]);
            }
            set
            {
                if (value.GetType() != Type.GetType("Type"))
                {
                    throw new ArgumentException(Strings.ValueMustBeAType, Strings.Value);
                }

                Dictionary[payloadType] = value;
            }
        }
コード例 #3
0
 public void Remove(MSR.LST.ConferenceXP.PayloadType payloadType)
 {
     Dictionary.Remove(payloadType);
 }
コード例 #4
0
 public bool ContainsKey(MSR.LST.ConferenceXP.PayloadType payloadType)
 {
     return(Dictionary.Contains(payloadType));
 }
コード例 #5
0
 public void Add(MSR.LST.ConferenceXP.PayloadType payloadType, Type type)
 {
     Dictionary.Add(payloadType, type);
 }
コード例 #6
0
        internal void Initialize()
        {
            InitializeAttributes();
            AppConfigOverride();

            formType = capProps.FormType;

            if (payloadType == MSR.LST.ConferenceXP.PayloadType.Unknown)
            {
                payloadType = capProps.PayloadType;
            }

            MaximumBandwidthLimiter = capProps.MaxBandwidth;

            // Initialize the asynchronous delegate used for BeginSendObject/EndSendObject
            beginSendObjectDelegate = new SendObjectHandler(SendObject);
            beginSendObjectBackgroundDelegate = new SendObjectHandler(SendObjectBackground);
            beginPlayDelegate = new AsyncNullParams(Play);
            beginStopPlayingDelegate = new AsyncNullParams(StopPlaying);
            beginSendDelegate = new AsyncNullParams(Send);
            beginStopSendingDelegate = new AsyncNullParams(StopSending);
        }