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
- WeakEventTable.cs
- RegexCharClass.cs
- SamlSecurityTokenAuthenticator.cs
- XmlSchemaSequence.cs
- WinEventHandler.cs
- DesignerActionMethodItem.cs
- DataGridViewTopLeftHeaderCell.cs
- HMACSHA256.cs
- ExpressionLink.cs
- SapiInterop.cs
- RowBinding.cs
- StringInfo.cs
- UnconditionalPolicy.cs
- Permission.cs
- IInstanceContextProvider.cs
- UnknownExceptionActionHelper.cs
- PeerApplication.cs
- Point3D.cs
- Environment.cs
- GridViewRowPresenterBase.cs
- CssTextWriter.cs
- Timer.cs
- TypeUtil.cs
- BamlLocalizabilityResolver.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- CustomLineCap.cs
- ResourceDisplayNameAttribute.cs
- Funcletizer.cs
- PrefixQName.cs
- StringPropertyBuilder.cs
- SerializationInfoEnumerator.cs
- DataSetUtil.cs
- HwndPanningFeedback.cs
- TextTrailingCharacterEllipsis.cs
- _ChunkParse.cs
- ConnectivityStatus.cs
- PointValueSerializer.cs
- PnrpPermission.cs
- ListViewUpdatedEventArgs.cs
- VariableReference.cs
- AnnotationObservableCollection.cs
- RootProfilePropertySettingsCollection.cs
- TextDecorationUnitValidation.cs
- ResizeBehavior.cs
- ToolboxItemCollection.cs
- precedingsibling.cs
- EditorZoneBase.cs
- FigureParagraph.cs
- ComPlusInstanceProvider.cs
- UInt32Storage.cs
- RtType.cs
- Cursors.cs
- XmlAttributeHolder.cs
- StrokeNodeOperations.cs
- SafeSerializationManager.cs
- XpsFixedDocumentReaderWriter.cs
- WindowsPrincipal.cs
- RegexBoyerMoore.cs
- COSERVERINFO.cs
- HuffmanTree.cs
- NativeCompoundFileAPIs.cs
- CustomTrackingRecord.cs
- NotifyIcon.cs
- relpropertyhelper.cs
- XmlSchemaParticle.cs
- Operator.cs
- TypePropertyEditor.cs
- PersonalizableTypeEntry.cs
- ArgumentOutOfRangeException.cs
- WebConvert.cs
- ExpressionEditorAttribute.cs
- StringUtil.cs
- PageThemeParser.cs
- Message.cs
- ExclusiveTcpListener.cs
- SamlEvidence.cs
- OAVariantLib.cs
- LexicalChunk.cs
- SafeCertificateContext.cs
- NameValueConfigurationCollection.cs
- SQLConvert.cs
- SimpleBitVector32.cs
- BufferedStream2.cs
- DataStreams.cs
- FieldAccessException.cs
- ObjectQuery_EntitySqlExtensions.cs
- RuntimeResourceSet.cs
- ListViewItem.cs
- XmlUtf8RawTextWriter.cs
- EdmMember.cs
- CheckBoxList.cs
- ActivityCodeGenerator.cs
- RectIndependentAnimationStorage.cs
- ObjectManager.cs
- Debugger.cs
- NegationPusher.cs
- BStrWrapper.cs
- Label.cs
- SoapIncludeAttribute.cs
- WebPartDescription.cs