Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- NeutralResourcesLanguageAttribute.cs
- figurelengthconverter.cs
- DetailsViewCommandEventArgs.cs
- XmlSerializerSection.cs
- QueryRewriter.cs
- MissingMethodException.cs
- log.cs
- ServiceX509SecurityTokenProvider.cs
- XmlSerializerFactory.cs
- SymbolMethod.cs
- ToolStripDropDownButton.cs
- Interlocked.cs
- SoapSchemaExporter.cs
- Function.cs
- ResolveNameEventArgs.cs
- DesignerView.Commands.cs
- RMEnrollmentPage3.cs
- StrokeNodeOperations2.cs
- TdsParserStaticMethods.cs
- XmlSchemaInferenceException.cs
- DesignerAttribute.cs
- CorrelationHandle.cs
- Attribute.cs
- ReadOnlyDataSource.cs
- AffineTransform3D.cs
- RegexWriter.cs
- ZoneIdentityPermission.cs
- RuntimeHelpers.cs
- PropertyChangedEventArgs.cs
- LinearGradientBrush.cs
- SqlGatherProducedAliases.cs
- DataGridCell.cs
- EntityConnectionStringBuilder.cs
- FlowDocumentPageViewerAutomationPeer.cs
- PersonalizableTypeEntry.cs
- StringExpressionSet.cs
- InternalBufferOverflowException.cs
- QuestionEventArgs.cs
- CommentGlyph.cs
- SamlNameIdentifierClaimResource.cs
- AttachmentCollection.cs
- IIS7WorkerRequest.cs
- QuaternionRotation3D.cs
- Quaternion.cs
- TextRangeAdaptor.cs
- ParameterBinding.cs
- ButtonDesigner.cs
- ProxyManager.cs
- CertificateElement.cs
- TableCellCollection.cs
- WebConfigurationHostFileChange.cs
- FontFamilyIdentifier.cs
- VirtualPathProvider.cs
- XmlAttributeAttribute.cs
- PassportAuthentication.cs
- ObjectDataProvider.cs
- PropertyMapper.cs
- Simplifier.cs
- VerificationAttribute.cs
- DataSvcMapFile.cs
- MenuItemCollection.cs
- Directory.cs
- ConfigurationElementCollection.cs
- SystemInfo.cs
- InputLanguageProfileNotifySink.cs
- GlobalProxySelection.cs
- ObjectDataProvider.cs
- ComplexBindingPropertiesAttribute.cs
- StylusEventArgs.cs
- XmlTextEncoder.cs
- messageonlyhwndwrapper.cs
- CodeEntryPointMethod.cs
- StickyNoteHelper.cs
- StringStorage.cs
- SharedDp.cs
- SQLMoney.cs
- Scalars.cs
- SqlBulkCopyColumnMapping.cs
- CqlWriter.cs
- ToolStrip.cs
- SafeLibraryHandle.cs
- Activator.cs
- RtfControlWordInfo.cs
- ComponentEvent.cs
- MembershipPasswordException.cs
- InOutArgument.cs
- SymbolMethod.cs
- WorkflowRuntime.cs
- HttpStaticObjectsCollectionWrapper.cs
- SmtpSection.cs
- JumpList.cs
- XPathNodePointer.cs
- EraserBehavior.cs
- WinInetCache.cs
- PropertyCondition.cs
- ConfigDefinitionUpdates.cs
- HitTestWithGeometryDrawingContextWalker.cs
- WebPartMenuStyle.cs
- XmlDictionary.cs
- PrintPreviewGraphics.cs