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
- IdnMapping.cs
- Parallel.cs
- DataSourceCacheDurationConverter.cs
- LinqDataSourceStatusEventArgs.cs
- X509Chain.cs
- DataGridViewElement.cs
- ActivityBindForm.Designer.cs
- _ListenerResponseStream.cs
- ImageMetadata.cs
- SafeProcessHandle.cs
- IconBitmapDecoder.cs
- DataPagerFieldCollection.cs
- SettingsProviderCollection.cs
- PcmConverter.cs
- ContainerUtilities.cs
- UnauthorizedAccessException.cs
- HttpTransportElement.cs
- UserControlBuildProvider.cs
- Quaternion.cs
- Lease.cs
- WebSysDefaultValueAttribute.cs
- ItemTypeToolStripMenuItem.cs
- SEHException.cs
- QuaternionRotation3D.cs
- CalendarModeChangedEventArgs.cs
- BorderGapMaskConverter.cs
- PropVariant.cs
- FirstMatchCodeGroup.cs
- RadioButtonStandardAdapter.cs
- RegexStringValidatorAttribute.cs
- DateRangeEvent.cs
- MonitoringDescriptionAttribute.cs
- MediaCommands.cs
- DataTableReaderListener.cs
- TypeElement.cs
- BridgeDataReader.cs
- Literal.cs
- GeneralTransformGroup.cs
- DataGridItemEventArgs.cs
- Decoder.cs
- WorkflowApplicationEventArgs.cs
- CodeAccessSecurityEngine.cs
- MarkupObject.cs
- NativeMethods.cs
- CodeArrayCreateExpression.cs
- CriticalFinalizerObject.cs
- CompilationUnit.cs
- ProcessingInstructionAction.cs
- DesignerRegionMouseEventArgs.cs
- TemplateParser.cs
- StorageAssociationTypeMapping.cs
- HierarchicalDataBoundControlAdapter.cs
- ClientConfigurationHost.cs
- TimeSpanOrInfiniteConverter.cs
- UnsupportedPolicyOptionsException.cs
- ValueUtilsSmi.cs
- XmlComment.cs
- ColorAnimationUsingKeyFrames.cs
- AppSettingsReader.cs
- XamlGridLengthSerializer.cs
- JulianCalendar.cs
- CompositeControl.cs
- TableTextElementCollectionInternal.cs
- StylusEventArgs.cs
- ControlParameter.cs
- TypeReference.cs
- _CookieModule.cs
- CodeTypeReferenceExpression.cs
- TextEditorSelection.cs
- ZoneIdentityPermission.cs
- DependencyProperty.cs
- OptimalBreakSession.cs
- ComponentCollection.cs
- DisplayInformation.cs
- DataServiceQueryException.cs
- URLString.cs
- SchemaCreator.cs
- SqlInternalConnectionTds.cs
- BrushConverter.cs
- FileVersionInfo.cs
- ActionMessageFilterTable.cs
- FrameworkContentElement.cs
- ProfileSettings.cs
- MemberCollection.cs
- IImplicitResourceProvider.cs
- ChameleonKey.cs
- HttpResponseInternalWrapper.cs
- HttpDebugHandler.cs
- SubclassTypeValidator.cs
- KeyNotFoundException.cs
- PermissionAttributes.cs
- DesignerSerializationOptionsAttribute.cs
- ActiveDocumentEvent.cs
- sqlnorm.cs
- TimeSpanSecondsConverter.cs
- SerializerProvider.cs
- TypeUnloadedException.cs
- TextRunCache.cs
- JoinSymbol.cs
- TargetInvocationException.cs