Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Net / System / UriParserTemplates.cs / 1 / UriParserTemplates.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /*++ Abstract: This file contains a set of predefined parseres that a user can derive from See also GenericUriParser.cs file for more user choices Note these parsers are for user to derive from hence they are nor "simple" nor "built-in" Author: Alexei Vopilov Jul 26 2004 Revision History: --*/ // // ATTN: The below types must be compile-time registered with UriParser.CheckSetIsSimpleFlag() method // to avoid calling into the user code if there is no one. // namespace System { // // The HTTP Uri syntax description // MustHaveAuthority | AllowAnInternetHost | MayHaveUserInfo | MayHavePort | MayHavePath | MayHaveQuery | MayHaveFragment | // | PathIsRooted | ConvertPathSlashes | CompressPath | CanonicalizeAsFilePath | UnEscapeDotsAndSlashes // public class HttpStyleUriParser: UriParser { public HttpStyleUriParser():base(UriParser.HttpUri.Flags) { } } // // The FTP Uri syntax description // MustHaveAuthority | AllowAnInternetHost | MayHaveUserInfo | MayHavePort | MayHavePath | MayHaveFragment | PathIsRooted // ConvertPathSlashes | CompressPath | CanonicalizeAsFilePath // public class FtpStyleUriParser: UriParser { public FtpStyleUriParser():base(UriParser.FtpUri.Flags) { } } // // The FILE Uri syntax description // MustHaveAuthority | AllowEmptyHost| AllowAnInternetHost | MayHavePath | MayHaveFragment | PathIsRooted // | FileLikeUri | AllowDOSPath | ConvertPathSlashes | CompressPath | CanonicalizeAsFilePath | UnEscapeDotsAndSlashes // public class FileStyleUriParser: UriParser { public FileStyleUriParser():base(UriParser.FileUri.Flags) { } } // // The NEWS Uri syntax description // MayHavePath | MayHaveFragment // public class NewsStyleUriParser: UriParser { public NewsStyleUriParser():base(UriParser.NewsUri.Flags) { } } // // The GOPHER Uri syntax description // MustHaveAuthority | AllowAnInternetHost | MayHaveUserInfo | MayHavePort | MayHavePath | MayHaveFragment | PathIsRooted // public class GopherStyleUriParser: UriParser { public GopherStyleUriParser():base(UriParser.GopherUri.Flags) { } } // // The LDAP Uri syntax description // MustHaveAuthority | AllowEmptyHost | AllowAnInternetHost | MayHaveUserInfo | MayHavePort | MayHavePath | MayHaveQuery | MayHaveFragment | PathIsRooted // public class LdapStyleUriParser: UriParser { public LdapStyleUriParser():base(UriParser.LdapUri.Flags) { } } public class NetPipeStyleUriParser: UriParser { public NetPipeStyleUriParser():base(UriParser.NetPipeUri.Flags) { } } public class NetTcpStyleUriParser: UriParser { public NetTcpStyleUriParser():base(UriParser.NetTcpUri.Flags) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SymLanguageType.cs
- GridSplitterAutomationPeer.cs
- XXXOnTypeBuilderInstantiation.cs
- DesignerVerb.cs
- ByteAnimation.cs
- SqlDelegatedTransaction.cs
- AttachedAnnotation.cs
- NavigationEventArgs.cs
- StylusPointDescription.cs
- DataServiceResponse.cs
- TextDecoration.cs
- ConfigurationElement.cs
- DateTimeSerializationSection.cs
- TableHeaderCell.cs
- DependencyProperty.cs
- UserMapPath.cs
- AuthenticationManager.cs
- ObjectQueryProvider.cs
- CultureInfoConverter.cs
- Triplet.cs
- ChangeDirector.cs
- updateconfighost.cs
- RecognizerStateChangedEventArgs.cs
- BooleanSwitch.cs
- TranslateTransform.cs
- DynamicResourceExtensionConverter.cs
- DataRelationPropertyDescriptor.cs
- ScrollEvent.cs
- Tuple.cs
- CornerRadius.cs
- DesignTimeVisibleAttribute.cs
- NavigationProperty.cs
- DataServiceStreamProviderWrapper.cs
- GenericTypeParameterBuilder.cs
- Tile.cs
- GlyphRunDrawing.cs
- Pointer.cs
- EntityConnection.cs
- XmlAttributeHolder.cs
- XmlArrayItemAttributes.cs
- IncrementalCompileAnalyzer.cs
- RowToParametersTransformer.cs
- DBSqlParserTable.cs
- ProfilePropertySettingsCollection.cs
- TextTreeDeleteContentUndoUnit.cs
- FormViewUpdateEventArgs.cs
- MimeParameterWriter.cs
- PropertyAccessVisitor.cs
- DragEventArgs.cs
- JavaScriptObjectDeserializer.cs
- EventPrivateKey.cs
- SecurityTokenTypes.cs
- ChannelSinkStacks.cs
- Point.cs
- DefaultAssemblyResolver.cs
- Delay.cs
- WebConfigurationHostFileChange.cs
- Panel.cs
- Base64WriteStateInfo.cs
- ComplexTypeEmitter.cs
- FunctionImportElement.cs
- XmlSchema.cs
- HtmlEncodedRawTextWriter.cs
- SamlNameIdentifierClaimResource.cs
- OpCellTreeNode.cs
- DrawingContextWalker.cs
- CategoryGridEntry.cs
- PasswordBox.cs
- RuntimeResourceSet.cs
- ResourceDisplayNameAttribute.cs
- ExtenderProvidedPropertyAttribute.cs
- Attributes.cs
- EastAsianLunisolarCalendar.cs
- ToolStripPanel.cs
- RevocationPoint.cs
- SHA384CryptoServiceProvider.cs
- SerialPinChanges.cs
- SqlMethodTransformer.cs
- SiteMapProvider.cs
- ActionFrame.cs
- InfiniteTimeSpanConverter.cs
- AnyReturnReader.cs
- ProviderManager.cs
- DictionaryManager.cs
- DataContractSerializerOperationBehavior.cs
- PreviewPrintController.cs
- InfoCardServiceInstallComponent.cs
- DriveInfo.cs
- RadioButtonFlatAdapter.cs
- WhileDesigner.cs
- AutoResizedEvent.cs
- PersonalizationState.cs
- RepeaterCommandEventArgs.cs
- VariantWrapper.cs
- ClusterRegistryConfigurationProvider.cs
- RequestQueue.cs
- FileSystemEnumerable.cs
- ContextMenu.cs
- HandlerBase.cs
- ValueUtilsSmi.cs