Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Util / EnumerationRangeValidationUtil.cs / 1305376 / EnumerationRangeValidationUtil.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * Helper class for performing common enumeration range checks. * * Copyright (c) 2009 Microsoft Corporation */ namespace System.Web.Util { using System.Web.UI.WebControls; internal static class EnumerationRangeValidationUtil { public static void ValidateRepeatLayout(RepeatLayout value) { if (value < RepeatLayout.Table || value > RepeatLayout.OrderedList) { throw new ArgumentOutOfRangeException("value"); } } } } // 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
- HMACSHA384.cs
- webeventbuffer.cs
- ManagedWndProcTracker.cs
- XmlWriterSettings.cs
- DispatchChannelSink.cs
- WindowsComboBox.cs
- CreateRefExpr.cs
- X509Chain.cs
- DirectoryNotFoundException.cs
- QueryContinueDragEventArgs.cs
- UiaCoreProviderApi.cs
- ListItemCollection.cs
- shaperfactoryquerycacheentry.cs
- TargetInvocationException.cs
- UIntPtr.cs
- JpegBitmapDecoder.cs
- RemoteWebConfigurationHostStream.cs
- WindowsBrush.cs
- UTF32Encoding.cs
- RectangleHotSpot.cs
- ConnectionConsumerAttribute.cs
- ZeroOpNode.cs
- SmtpReplyReader.cs
- TextTreeNode.cs
- ReadOnlyTernaryTree.cs
- CustomWebEventKey.cs
- WebServiceEnumData.cs
- XmlSchemaExporter.cs
- ObjectReaderCompiler.cs
- UnsettableComboBox.cs
- DoubleLink.cs
- wgx_exports.cs
- ModuleElement.cs
- Slider.cs
- DataGrid.cs
- PenContexts.cs
- SqlDataSourceFilteringEventArgs.cs
- RoleGroupCollection.cs
- XmlSchemaRedefine.cs
- AppModelKnownContentFactory.cs
- JobInputBins.cs
- Matrix.cs
- CodeAccessPermission.cs
- JoinTreeSlot.cs
- IssuanceTokenProviderBase.cs
- ParserStack.cs
- FileInfo.cs
- Switch.cs
- NativeRightsManagementAPIsStructures.cs
- BitmapEffectDrawingContent.cs
- BaseDataBoundControl.cs
- NonSerializedAttribute.cs
- TemplatePropertyEntry.cs
- CompositeKey.cs
- DataGridRow.cs
- QilReference.cs
- TransformConverter.cs
- CodeTypeParameter.cs
- ELinqQueryState.cs
- StringAttributeCollection.cs
- Rotation3D.cs
- DispatcherOperation.cs
- DrawTreeNodeEventArgs.cs
- DeflateEmulationStream.cs
- RepeaterDataBoundAdapter.cs
- DomainConstraint.cs
- SqlConnectionStringBuilder.cs
- XmlSchemaSimpleContentExtension.cs
- SqlGenericUtil.cs
- TypeViewSchema.cs
- TemplateManager.cs
- DesignerSelectionListAdapter.cs
- DataSourceSelectArguments.cs
- ServiceChannelManager.cs
- OleDbRowUpdatedEvent.cs
- TemplateKey.cs
- CrossContextChannel.cs
- FactoryGenerator.cs
- ConstrainedDataObject.cs
- DownloadProgressEventArgs.cs
- Currency.cs
- _HeaderInfoTable.cs
- ScriptResourceHandler.cs
- NativeMethodsOther.cs
- PageVisual.cs
- PriorityBindingExpression.cs
- ConstraintCollection.cs
- MaterialGroup.cs
- MarshalDirectiveException.cs
- DataContext.cs
- DataGrid.cs
- TimerExtension.cs
- ViewGenResults.cs
- TransactionBehavior.cs
- DataGridViewCell.cs
- HandleRef.cs
- ICspAsymmetricAlgorithm.cs
- InputLanguageProfileNotifySink.cs
- ManagementScope.cs
- UTF8Encoding.cs