Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / ValidatorCollection.cs / 1305376 / ValidatorCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI { using System.Runtime.InteropServices; using System.Collections; ////// public sealed class ValidatorCollection : ICollection { private ArrayList data; ///Exposes a /// read-only array of ////// references. /// public ValidatorCollection() { data = new ArrayList(); } ///Initializes a new instance of the ///class. /// public int Count { get { return data.Count; } } ///Indicates the number of references in the collection. /// This property is read-only. ////// public IValidator this[int index] { get { return(IValidator) data[index]; } } ///Indicates the validator at the specified index. This /// property is read-only. ////// public void Add(IValidator validator) { data.Add(validator); } ///Adds the specified validator to the collection. ////// public bool Contains(IValidator validator) { return data.Contains(validator); } ///Returns whether the specified validator exists in the collection. ////// public void Remove(IValidator validator) { data.Remove(validator); } ///Removes the specified validator from the collection. ////// public IEnumerator GetEnumerator() { return data.GetEnumerator(); } ///Gets an enumerator that iterates over the collection. ////// public void CopyTo(Array array, int index) { for (IEnumerator e = this.GetEnumerator(); e.MoveNext();) array.SetValue(e.Current, index++); } ///Copies a validator to the specified collection and location. ////// public Object SyncRoot { get { return this;} } ///Indicates an object that can be used to synchronize the /// ///. /// This property is read-only. /// public bool IsReadOnly { get { return false;} } ///Indicates whether the ///is read-only. This property is /// read-only. /// public bool IsSynchronized { get { return false;} } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.Indicates whether the ///is synchronized /// (thread-safe). This property is read-only.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SQLCharsStorage.cs
- Visitor.cs
- ParameterReplacerVisitor.cs
- AttributedMetaModel.cs
- InvalidPropValue.cs
- IdentityNotMappedException.cs
- FloaterBaseParaClient.cs
- UpdateCompiler.cs
- EdgeModeValidation.cs
- HMAC.cs
- SyndicationDeserializer.cs
- ViewStateException.cs
- FacetValueContainer.cs
- DateTimeValueSerializer.cs
- CapiNative.cs
- TemplatePropertyEntry.cs
- LogicalExpr.cs
- XmlAttributeOverrides.cs
- FontFamily.cs
- ProviderCommandInfoUtils.cs
- CollectionsUtil.cs
- GridItemPatternIdentifiers.cs
- Stack.cs
- HandoffBehavior.cs
- ColumnWidthChangedEvent.cs
- StringExpressionSet.cs
- OracleBFile.cs
- ApplicationManager.cs
- RawStylusInputCustomData.cs
- SMSvcHost.cs
- JsonObjectDataContract.cs
- WorkflowRuntimeEndpoint.cs
- Processor.cs
- D3DImage.cs
- DataServiceRequestException.cs
- ToolStripScrollButton.cs
- WebPartDeleteVerb.cs
- X509SecurityToken.cs
- DataSourceProvider.cs
- TranslateTransform3D.cs
- DataSourceCache.cs
- ProfileServiceManager.cs
- URI.cs
- AutomationPatternInfo.cs
- NewArrayExpression.cs
- XmlBinaryReader.cs
- ChangeProcessor.cs
- InvalidMessageContractException.cs
- XsdValidatingReader.cs
- ChannelBuilder.cs
- FontUnitConverter.cs
- DataGridViewTextBoxEditingControl.cs
- RedistVersionInfo.cs
- SchemaEntity.cs
- ApplicationServiceHelper.cs
- XPathMessageContext.cs
- OdbcEnvironmentHandle.cs
- XmlSerializer.cs
- XsdDuration.cs
- ProgressBarBrushConverter.cs
- CharacterMetrics.cs
- TreeChangeInfo.cs
- ViewBox.cs
- OpenTypeLayout.cs
- RawTextInputReport.cs
- CountAggregationOperator.cs
- TreeBuilder.cs
- VectorValueSerializer.cs
- ActiveXSite.cs
- baseaxisquery.cs
- ColorMap.cs
- AnnotationObservableCollection.cs
- DebugView.cs
- BufferedGraphicsContext.cs
- BooleanToVisibilityConverter.cs
- Misc.cs
- PositiveTimeSpanValidator.cs
- TextReader.cs
- LinqDataSourceDisposeEventArgs.cs
- LoginCancelEventArgs.cs
- EdmComplexTypeAttribute.cs
- UmAlQuraCalendar.cs
- SoapAttributeOverrides.cs
- ScriptResourceHandler.cs
- EntityCommandCompilationException.cs
- FilePrompt.cs
- DbModificationCommandTree.cs
- PropertyAccessVisitor.cs
- DataServiceRequestOfT.cs
- ExceptionUtil.cs
- DesignerToolStripControlHost.cs
- RefreshPropertiesAttribute.cs
- ListMarkerLine.cs
- DockEditor.cs
- PointConverter.cs
- SafeUserTokenHandle.cs
- InternalBase.cs
- SqlParameter.cs
- WebUtil.cs
- Matrix3DValueSerializer.cs