Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Routing / ParameterSubsegment.cs / 1305376 / ParameterSubsegment.cs
namespace System.Web.Routing { // Represents a parameter subsegment of a ContentPathSegment internal sealed class ParameterSubsegment : PathSubsegment { public ParameterSubsegment(string parameterName) { if (parameterName.StartsWith("*", StringComparison.Ordinal)) { ParameterName = parameterName.Substring(1); IsCatchAll = true; } else { ParameterName = parameterName; } } public bool IsCatchAll { get; private set; } public string ParameterName { get; private set; } #if ROUTE_DEBUGGING public override string LiteralText { get { return "{" + (IsCatchAll ? "*" : String.Empty) + ParameterName + "}"; } } public override string ToString() { return "{" + (IsCatchAll ? "*" : String.Empty) + ParameterName + "}"; } #endif } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ToolStripAdornerWindowService.cs
- AgileSafeNativeMemoryHandle.cs
- FileIOPermission.cs
- BitmapCodecInfoInternal.cs
- IdentityValidationException.cs
- DriveInfo.cs
- ProtocolsConfigurationHandler.cs
- OleAutBinder.cs
- Visual.cs
- Span.cs
- SelfIssuedAuthRSACryptoProvider.cs
- CngKey.cs
- Convert.cs
- Rect3DConverter.cs
- DetailsViewModeEventArgs.cs
- MessagePropertyFilter.cs
- Document.cs
- SafeIUnknown.cs
- login.cs
- TableCell.cs
- BaseProcessProtocolHandler.cs
- DoubleAverageAggregationOperator.cs
- CodeParameterDeclarationExpression.cs
- PolicyLevel.cs
- TableLayoutPanel.cs
- ApplicationServiceManager.cs
- GraphicsContainer.cs
- TriggerBase.cs
- ButtonChrome.cs
- MimeReflector.cs
- TraceRecord.cs
- EntityContainerAssociationSet.cs
- BitSet.cs
- CodeExpressionCollection.cs
- ImageMetadata.cs
- TreeViewHitTestInfo.cs
- RenderCapability.cs
- SubclassTypeValidator.cs
- DbConnectionHelper.cs
- ContainsSearchOperator.cs
- TextSelectionHighlightLayer.cs
- VirtualPath.cs
- ItemCheckEvent.cs
- ObservableCollection.cs
- FontFamily.cs
- NotImplementedException.cs
- BooleanFacetDescriptionElement.cs
- ObjectPropertyMapping.cs
- GrammarBuilderDictation.cs
- EncodingInfo.cs
- DetailsView.cs
- SqlUtil.cs
- TransformationRules.cs
- MetadataCache.cs
- ToolboxItemLoader.cs
- DataRelationPropertyDescriptor.cs
- NullRuntimeConfig.cs
- ZoneLinkButton.cs
- DateTimeFormatInfoScanner.cs
- Column.cs
- DataBinding.cs
- Speller.cs
- ParserContext.cs
- webproxy.cs
- COM2ExtendedUITypeEditor.cs
- ReadOnlyTernaryTree.cs
- EdmConstants.cs
- QuestionEventArgs.cs
- TextDecoration.cs
- ProfileManager.cs
- ImageField.cs
- PerformanceCounterLib.cs
- MsmqIntegrationProcessProtocolHandler.cs
- TimeSpanConverter.cs
- BuildResultCache.cs
- CodeExpressionRuleDeclaration.cs
- GeometryGroup.cs
- SigningProgress.cs
- Unit.cs
- ELinqQueryState.cs
- RecognizedWordUnit.cs
- Section.cs
- DataSourceControl.cs
- XPathArrayIterator.cs
- dataprotectionpermissionattribute.cs
- SqlBulkCopyColumnMapping.cs
- MethodImplAttribute.cs
- DocumentPaginator.cs
- ServiceDesigner.xaml.cs
- MatrixValueSerializer.cs
- HtmlImage.cs
- TabControlToolboxItem.cs
- LocalizableAttribute.cs
- TraversalRequest.cs
- SqlDataSourceCommandEventArgs.cs
- DesignTimeVisibleAttribute.cs
- TextBox.cs
- TogglePatternIdentifiers.cs
- XNodeNavigator.cs
- AsymmetricAlgorithm.cs