Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Messaging / System / Messaging / MessageQueuePermissionEntryCollection.cs / 1305376 / MessageQueuePermissionEntryCollection.cs
//---------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Messaging { using System.Collections; ///[ Serializable() ] public class MessageQueuePermissionEntryCollection : CollectionBase { MessageQueuePermission owner; /// /// internal MessageQueuePermissionEntryCollection(MessageQueuePermission owner) { this.owner = owner; } /// public MessageQueuePermissionEntry this[int index] { get { return (MessageQueuePermissionEntry)List[index]; } set { List[index] = value; } } /// public int Add(MessageQueuePermissionEntry value) { return List.Add(value); } /// public void AddRange(MessageQueuePermissionEntry[] value) { if (value == null) { throw new ArgumentNullException("value"); } for (int i = 0; ((i) < (value.Length)); i = ((i) + (1))) { this.Add(value[i]); } } /// public void AddRange(MessageQueuePermissionEntryCollection value) { if (value == null) { throw new ArgumentNullException("value"); } int currentCount = value.Count; for (int i = 0; i < currentCount; i = ((i) + (1))) { this.Add(value[i]); } } /// public bool Contains(MessageQueuePermissionEntry value) { return List.Contains(value); } /// public void CopyTo(MessageQueuePermissionEntry[] array, int index) { List.CopyTo(array, index); } /// public int IndexOf(MessageQueuePermissionEntry value) { return List.IndexOf(value); } /// public void Insert(int index, MessageQueuePermissionEntry value) { List.Insert(index, value); } /// public void Remove(MessageQueuePermissionEntry value) { List.Remove(value); } /// /// protected override void OnClear() { this.owner.Clear(); } /// /// protected override void OnInsert(int index, object value) { this.owner.Clear(); } /// /// protected override void OnRemove(int index, object value) { this.owner.Clear(); } /// /// protected override void OnSet(int index, object oldValue, object newValue) { this.owner.Clear(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------- // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Messaging { using System.Collections; ///[ Serializable() ] public class MessageQueuePermissionEntryCollection : CollectionBase { MessageQueuePermission owner; /// /// internal MessageQueuePermissionEntryCollection(MessageQueuePermission owner) { this.owner = owner; } /// public MessageQueuePermissionEntry this[int index] { get { return (MessageQueuePermissionEntry)List[index]; } set { List[index] = value; } } /// public int Add(MessageQueuePermissionEntry value) { return List.Add(value); } /// public void AddRange(MessageQueuePermissionEntry[] value) { if (value == null) { throw new ArgumentNullException("value"); } for (int i = 0; ((i) < (value.Length)); i = ((i) + (1))) { this.Add(value[i]); } } /// public void AddRange(MessageQueuePermissionEntryCollection value) { if (value == null) { throw new ArgumentNullException("value"); } int currentCount = value.Count; for (int i = 0; i < currentCount; i = ((i) + (1))) { this.Add(value[i]); } } /// public bool Contains(MessageQueuePermissionEntry value) { return List.Contains(value); } /// public void CopyTo(MessageQueuePermissionEntry[] array, int index) { List.CopyTo(array, index); } /// public int IndexOf(MessageQueuePermissionEntry value) { return List.IndexOf(value); } /// public void Insert(int index, MessageQueuePermissionEntry value) { List.Insert(index, value); } /// public void Remove(MessageQueuePermissionEntry value) { List.Remove(value); } /// /// protected override void OnClear() { this.owner.Clear(); } /// /// protected override void OnInsert(int index, object value) { this.owner.Clear(); } /// /// protected override void OnRemove(int index, object value) { this.owner.Clear(); } /// /// protected override void OnSet(int index, object oldValue, object newValue) { this.owner.Clear(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NumericPagerField.cs
- SqlStatistics.cs
- clipboard.cs
- KeyInfo.cs
- COM2Properties.cs
- InstanceKeyNotReadyException.cs
- RelationshipConverter.cs
- Light.cs
- SynchronizingStream.cs
- RequiredAttributeAttribute.cs
- WebZoneDesigner.cs
- ScrollEventArgs.cs
- ActivityBuilderHelper.cs
- XamlInterfaces.cs
- IndentedTextWriter.cs
- AuthenticationModuleElement.cs
- WmlControlAdapter.cs
- EventLogger.cs
- CommandManager.cs
- OracleCommandBuilder.cs
- LocatorGroup.cs
- PhysicalAddress.cs
- List.cs
- EditorBrowsableAttribute.cs
- ToolStripSystemRenderer.cs
- SafeFileHandle.cs
- XamlDesignerSerializationManager.cs
- SelectionBorderGlyph.cs
- EventArgs.cs
- PackageDigitalSignature.cs
- Utils.cs
- xml.cs
- ConfigurationManagerInternalFactory.cs
- TextEndOfLine.cs
- DataObjectSettingDataEventArgs.cs
- Camera.cs
- ContentType.cs
- HtmlLiteralTextAdapter.cs
- RectIndependentAnimationStorage.cs
- TextSpan.cs
- StaticResourceExtension.cs
- CompModHelpers.cs
- XmlSerializableReader.cs
- AdapterUtil.cs
- ExtenderHelpers.cs
- FlowLayoutSettings.cs
- TrustManagerMoreInformation.cs
- FilteredDataSetHelper.cs
- entitydatasourceentitysetnameconverter.cs
- MatrixKeyFrameCollection.cs
- cookiecollection.cs
- TimelineGroup.cs
- TextTrailingWordEllipsis.cs
- DeflateEmulationStream.cs
- HttpCapabilitiesSectionHandler.cs
- TimelineGroup.cs
- UInt16Converter.cs
- StorageComplexTypeMapping.cs
- IndexedSelectQueryOperator.cs
- QilParameter.cs
- LineProperties.cs
- MediaSystem.cs
- InstanceDataCollectionCollection.cs
- TextSelection.cs
- DeferredSelectedIndexReference.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- UInt32.cs
- UnsafeNativeMethods.cs
- XMLUtil.cs
- WrappedReader.cs
- FileDialog_Vista_Interop.cs
- UserControl.cs
- XPathMultyIterator.cs
- PointCollection.cs
- SymbolPair.cs
- ReflectionTypeLoadException.cs
- RepeaterItemEventArgs.cs
- CachedBitmap.cs
- QueryNode.cs
- CollectionViewGroup.cs
- FunctionImportMapping.cs
- WindowsListView.cs
- Vector3DAnimationBase.cs
- datacache.cs
- DesignerCommandSet.cs
- GPPOINT.cs
- ExceptionAggregator.cs
- EntityTemplateFactory.cs
- ParserExtension.cs
- Nullable.cs
- TryExpression.cs
- RoutedPropertyChangedEventArgs.cs
- FaultException.cs
- IxmlLineInfo.cs
- RSAPKCS1SignatureFormatter.cs
- GeneratedContractType.cs
- FlowLayoutPanel.cs
- InlineObject.cs
- TaskFileService.cs
- Resources.Designer.cs