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; } }
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; } }
public void Remove(MSR.LST.ConferenceXP.PayloadType payloadType) { Dictionary.Remove(payloadType); }
public bool ContainsKey(MSR.LST.ConferenceXP.PayloadType payloadType) { return(Dictionary.Contains(payloadType)); }
public void Add(MSR.LST.ConferenceXP.PayloadType payloadType, Type type) { Dictionary.Add(payloadType, type); }
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); }