2 types derived from Uri
PresentationFramework (1)
src\Framework\System\Windows\ResourceDictionary.cs (1)
2554internal class ResourceDictionarySourceUriWrapper : Uri
WindowsBase (1)
Base\System\IO\Packaging\PackUriHelper.cs (1)
1046internal sealed class ValidatedPartUri : Uri, IComparable<ValidatedPartUri>, IEquatable<ValidatedPartUri>
538 instantiations of Uri
ComSvcConfig (2)
Tool.cs (2)
223new Uri(address, UriKind.RelativeOrAbsolute), 234new Uri(container.DefaultMexAddress(sourceAppId, component.Component), UriKind.RelativeOrAbsolute),
PresentationBuildTasks (3)
Framework\System\Windows\Markup\ParserContext.cs (1)
483Uri sameUri = new Uri(serializedSafe);
Shared\MS\Internal\ResourceIDHelper.cs (2)
24Uri baseUri = new Uri("http://foo/"); 25Uri srcUri = new Uri(baseUri, relPath.Replace("#", "%23"));
PresentationCore (57)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginContainer.cs (4)
62siteOfOrigin = BaseUriHelper.FixFileUri(new Uri(System.AppDomain.CurrentDomain.BaseDirectory)); 322return new Uri(new Uri(codeBase), new Uri(".", UriKind.Relative));
Core\CSharp\MS\Internal\AppModel\SiteOfOriginPart.cs (1)
139_absoluteLocation = new Uri(SiteOfOriginContainer.SiteOfOrigin, uriMinusInitialSlash);
Core\CSharp\MS\Internal\FontCache\DWriteFactory.cs (1)
111return DWriteFactory.Instance.GetFontCollection(new Uri(localPath));
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (2)
216Uri criticalSxSFontsLocation = new Uri(FamilyCollection.SxSFontsLocation); 358FontSource fontSource = new FontSource(new Uri(FamilyCollection.SxSFontsLocation + _systemCompositeFontsFileNames[index] + Util.CompositeFontExtension, UriKind.Absolute),
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (6)
442_windowsFontsUriObject = new Uri(_windowsFontsLocalPath, UriKind.Absolute); 670fontSourceUri = new Uri(fontUri.GetComponents(Util.UriWithoutFragment, UriFormat.SafeUnescaped)); 683return new Uri(fontUri); 687string canonicalPathUri = new Uri(fontUri).GetComponents(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped); 689return new Uri(canonicalPathUri + '#' + faceIndexString); 1062throw new FileFormatException(new Uri(fileName));
Core\CSharp\MS\Internal\FontCache\FontResourceCache.cs (1)
58uri = new Uri(uri, FakeFileName);
Core\CSharp\MS\Internal\FontCache\FontSource.cs (1)
47return new FontSource(new Uri(uriString), false);
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (4)
53return new FontSourceCollection(new Uri(uriString), false); 256fontSources.Add(new FontSource(new Uri(file, UriKind.Absolute), _isWindowsFonts, true)); 265fontSources.Add(new FontSource(new Uri(file, UriKind.Absolute), _isWindowsFonts, isComposite)); 294fontSources.Add(new FontSource(new Uri(_uri, resourceName), _isWindowsFonts, isComposite));
Core\CSharp\MS\Internal\FontFace\CompositeFontParser.cs (2)
893throw new FileFormatException(new Uri(_reader.BaseURI, UriKind.RelativeOrAbsolute), x); 963throw new FileFormatException(new Uri(fileName, UriKind.RelativeOrAbsolute), message, innerException);
Core\CSharp\MS\Internal\WpfWebRequestHelper.cs (1)
81uri = new Uri(uri.GetLeftPart(UriPartial.Path));
Core\CSharp\System\Windows\Media\Color.cs (1)
308Uri safeUnescapedUri = new Uri(context.ProfileUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped),
Core\CSharp\System\Windows\Media\ColorContext.cs (1)
683profilePath = new Uri(Path.Combine(buffer.ToString(), profilePathString));
Core\CSharp\System\Windows\Media\FontFamily.cs (1)
550Uri locationUri = new Uri(Util.WindowsFontsUriObject, canonicalFamilyReference.EscapedFileName);
Core\CSharp\System\Windows\Media\FontFamilyConverter.cs (1)
117baseUri = new Uri(BaseUriHelper.BaseUri, baseUri);
Core\CSharp\System\Windows\Media\Fonts.cs (1)
128fontLocation = new Uri(baseUri, location);
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (1)
116Uri typefaceSource = new Uri(uriPath);
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (2)
987Uri uri = new Uri(_baseUri, _uri); 1691(_baseUri == null) ? _uri : new Uri(_baseUri, _uri),
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (2)
210return BindUriHelper.UriToString(new Uri(_baseUri, UriSource)); 316uri = new Uri(_baseUri, UriSource);
Core\CSharp\System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (1)
74Uri uriToDecode = (_baseUri != null) ? new Uri(_baseUri, _uri) : _uri;
Core\CSharp\System\Windows\Media\MediaClock.cs (1)
217toPlay = new Uri(baseUri, Timeline.Source);
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (1)
1055return new Uri(appBase, uri);
Core\CSharp\System\Windows\Media\Parsers.cs (1)
139profileUri = new Uri(uriHolder.BaseUri, uriHolder.OriginalUri);
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (12)
46private static readonly Uri _siteOfOriginBaseUri = PackUriHelper.Create(new Uri(SOOBASE)); 48private static readonly Uri _packAppBaseUri = PackUriHelper.Create(new Uri(APPBASE)); 138baseUri = new Uri(BaseUriHelper.BaseUri, baseUri); 204Uri partUri = new Uri(uri.AbsolutePath, UriKind.Relative); 384return new Uri(baseUri, orgUri); 398return (new Uri(sUri.GetComponents(UriComponents.SchemeAndServer, UriFormat.UriEscaped))).MakeRelativeUri(sUri); 414return new Uri(SiteOfOriginContainer.SiteOfOrigin, relative); 432return new Uri(uri.AbsoluteUri); 498source = new Uri(uri.AbsolutePath, UriKind.Relative); 499baseUri = new Uri(uri.GetLeftPart(UriPartial.Authority), UriKind.Absolute); 550return new Uri(baseUri, appendedUri); 553return new Uri(appendedUri, UriKind.Relative);
Shared\MS\Internal\MimeTypeMapper.cs (2)
31uri = new Uri("http://foo/bar/"); 32uri = new Uri(uri, uriSource);
Shared\MS\Internal\SecurityHelper.cs (3)
416appBase = new Uri(domain.BaseDirectory); 1275if (String.Compare((System.Windows.Navigation.BaseUriHelper.GetResolvedUri(System.Windows.Navigation.BaseUriHelper.BaseUri, new Uri(uri, UriKind.RelativeOrAbsolute))).Scheme, 1280if(!SecurityHelper.CallerHasWebPermission(new Uri(uri,UriKind.RelativeOrAbsolute)))
Shared\MS\Utility\BindUriHelper.cs (1)
141newUri = new Uri(baseuri, orgUri);
Shared\System\Windows\Media\TypeConverterHelper.cs (2)
70uriHolder.OriginalUri = new Uri((string)inputString, UriKind.RelativeOrAbsolute); 96uriHolder.BaseUri = new Uri(BaseUriHelper.BaseUri, uriHolder.BaseUri);
PresentationFramework (56)
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (1)
298absUri = new Uri(BindUriHelper.BaseUri, currentApp.StartupUri);
src\Framework\MS\Internal\AppModel\ContentFilePart.cs (3)
97Uri file = new Uri(codeBase, filePath); 113return MS.Internal.MimeTypeMapper.GetMimeTypeFromUri(new Uri(Uri.ToString(),UriKind.RelativeOrAbsolute)).ToString(); 139entryLocation = new Uri(Application.ResourceAssembly.CodeBase);
src\Framework\MS\Internal\AppModel\DeploymentExceptionMapper.cs (1)
262fwlinkUri = new Uri(fwlink);
src\Framework\MS\Internal\AppModel\ResourcePart.cs (1)
126return MS.Internal.MimeTypeMapper.GetMimeTypeFromUri(new Uri(_name,UriKind.RelativeOrAbsolute)).ToString();
src\Framework\MS\Internal\Controls\WebBrowserEvent.cs (3)
108Uri source = String.IsNullOrEmpty(urlString) ? null : new Uri(urlString); 271Uri source = (String.IsNullOrEmpty(urlString) ? null : new Uri(urlString)); 300Uri source = (String.IsNullOrEmpty(urlString) ? null : new Uri(urlString));
src\Framework\MS\Internal\Utility\BindUriHelper.cs (2)
49static private Uri placeboBase = new Uri(PLACEBOURI); 186workuri = new Uri(placeboBase, uri);
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (4)
69_predefinedNamespaces.Add(new Uri(AnnotationXmlConstants.Namespaces.CoreSchemaNamespace), null); 70_predefinedNamespaces.Add(new Uri(AnnotationXmlConstants.Namespaces.BaseSchemaNamespace), null); 71_predefinedNamespaces.Add(new Uri(XamlReaderHelper.DefaultNamespaceURI), null); 920Uri namespaceUri = new Uri(xmlNamespace, UriKind.RelativeOrAbsolute);
src\Framework\System\Windows\Application.cs (2)
473Uri currentUri = new Uri(BaseUriHelper.PackAppBaseUri, resourceLocator); 1645StartupUri = new Uri(ApplicationMarkupBaseUri, StartupUri);
src\Framework\System\Windows\ColorConvertedBitmapExtension.cs (1)
148return new Uri(_baseUri,uri);
src\Framework\System\Windows\Controls\AVElementHelper.cs (1)
705return new Uri(BaseUri, sourceUri);
src\Framework\System\Windows\Controls\WebBrowser.cs (4)
249Uri uri = new Uri(source); 431SecurityHelper.DemandWebPermission(new Uri(innerURL, UriKind.Absolute)); 549return (string.IsNullOrEmpty(urlString) ? null : new Uri(urlString)); 1198source = new Uri(AboutBlankUriString);
src\Framework\System\Windows\Data\XmlNamespaceMappingCollection.cs (1)
240Uri uri = new Uri(ns, UriKind.RelativeOrAbsolute);
src\Framework\System\Windows\Documents\DocumentReference.cs (1)
86DocumentsTrace.FixedDocumentSequence.IDF.Trace(string.Format("DocumentReference.GetDocument ({0}, {1})", Source == null ? new Uri("", UriKind.RelativeOrAbsolute) : Source, forceReload));
src\Framework\System\Windows\Documents\FixedPage.cs (5)
665workuri = new Uri(new Uri("http://microsoft.com/"), inputUri); 677inputUri = new Uri(inputUriStringWithoutFragment, UriKind.RelativeOrAbsolute); 685inputUri = new Uri(startPartUriString, UriKind.RelativeOrAbsolute); 698absoluteUri = new Uri(absoluteUriString.ToString(), UriKind.RelativeOrAbsolute);
src\Framework\System\Windows\Documents\FixedSchema.cs (1)
168Uri targetUri = PackUriHelper.ResolvePartUri(_baseUri, new Uri(uriAttr, UriKind.Relative));
src\Framework\System\Windows\Documents\FixedSOMImage.cs (2)
65imageUri = new Uri(imageSource.ToString(), UriKind.RelativeOrAbsolute); 86imageUri = new Uri(imageSource.ToString(), UriKind.RelativeOrAbsolute);
src\Framework\System\Windows\Documents\Serialization\SerializerDescriptor.cs (1)
201sd._manufacturerWebsite = new Uri(GetNonEmptyRegistryString(key, "manufacturerWebsite"));
src\Framework\System\Windows\Documents\Speller.cs (3)
1641fileUri = new Uri(new Uri(Directory.GetCurrentDirectory() + "/"), uri); 1750return new Uri(tmpFilePath);
src\Framework\System\Windows\Documents\WpfPayload.cs (5)
341Uri payloadUri = new Uri("payload://wpf" + newWpfPayoutCount, UriKind.Absolute); 488Uri imagePartUri = new Uri(XamlPayloadDirectory + imagePartUriString, UriKind.Relative); 724Uri imagePartUri = new Uri(XamlPayloadDirectory + imagePartUriString, UriKind.Relative); 743Uri imagePartUri = new Uri(XamlPayloadDirectory + imageSourceString, UriKind.Relative); 808Uri entryPartUri = new Uri(XamlPayloadDirectory + XamlEntryName, UriKind.Relative);
src\Framework\System\Windows\Interop\DocobjHost.cs (3)
848Uri requestedUri = new Uri(url, UriKind.Absolute); 1348_deploymentManifest = new Uri(path); 1351_debugSecurityZoneURL.Value = new Uri(debugSecurityZoneURL);
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
4420baseuri = new Uri(BindUriHelper.BaseUri, baseuri);
src\Framework\System\Windows\Markup\ParserContext.cs (3)
122_baseUri = new Uri(xmlParserContext.BaseURI, UriKind.RelativeOrAbsolute); 146BaseUri = new Uri( xmlReader.BaseURI ); 483Uri sameUri = new Uri(serializedSafe);
src\Framework\System\Windows\Markup\XamlReader.cs (3)
255parserContext.BaseUri = new Uri(reader.BaseURI); 813parserContext.BaseUri = new Uri(reader.BaseURI); 1093return new Uri(MS.Internal.Utility.BindUriHelper.BaseUri, uri);
src\Framework\System\Windows\Navigation\JournalEntry.cs (2)
379displayName = (new Uri(siteOfOrigin, relative)).ToString(); 385BaseUriHelper.GetAssemblyNameAndPart(new Uri(relativeUri, UriKind.Relative), out part, out assy, out assyVers, out assyKey);
src\Framework\System\Windows\ThemeDictionaryExtension.cs (1)
131return new System.Uri(uri.ToString(), System.UriKind.RelativeOrAbsolute);
src\Shared\MS\Utility\BindUriHelper.cs (1)
141newUri = new Uri(baseuri, orgUri);
System (36)
compmod\microsoft\win32\NativeMethods.cs (1)
257Uri uri = new Uri(fileName);
compmod\microsoft\win32\SystemEvents.cs (2)
1261Uri codeBase = new Uri(ecb); 1270Uri exeUri = new Uri(executablePath);
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (3)
77Uri uri = new Uri(fileName); 107licenseFile = new Uri(new Uri(codeBase), rawFile);
net\System\_UriTypeConverter.cs (3)
70return new Uri(uriString, m_UriKind); 74return new Uri(uri.OriginalString, 95return new Uri(uri.OriginalString,
net\System\Net\_ServiceNameStore.cs (1)
128Uri hostUri = new Uri(uriPrefix);
net\System\Net\_SpnDictionary.cs (2)
196Uri uri = new Uri(key); 198new WebPermission(NetworkAccess.Connect, new Uri(key)).Demand();
net\System\Net\_WebProxyDataBuilder.cs (1)
96return new Uri(proxyString);
net\System\Net\FtpWebRequest.cs (2)
2049cacheUri = new Uri(cacheUri.GetParts(UriComponents.AbsoluteUri & ~(UriComponents.Fragment|UriComponents.UserInfo), UriFormat.SafeUnescaped)); 2054cacheUri = new Uri(username);
net\System\Net\HttpWebRequest.cs (2)
4215cacheUri = new Uri(cacheUri.GetParts(UriComponents.AbsoluteUri & ~UriComponents.Fragment, UriFormat.SafeUnescaped)); 5747newUri = new Uri(_Uri, location);
net\System\Net\HttpWebResponse.cs (1)
533m_Uri = new Uri(m_Uri, contentLocation);
net\System\Net\ServicePointManager.cs (1)
662Uri uri = new Uri(uriString);
net\System\Net\webclient.cs (4)
164m_baseAddress = new Uri(value); 972return new Uri(Path.GetFullPath(path)); 976return new Uri(Path.GetFullPath(path)); 1660uri = new Uri(m_baseAddress, address);
net\System\Net\webproxy.cs (3)
98: this(new Uri("http://" + Host + ":" + Port.ToString(CultureInfo.InvariantCulture)), false, null, null) { 298return new Uri(address); 697return proxyName==null || proxyName.Length==0 ? null : new Uri("http://" + proxyName);
net\System\Net\WebRequest.cs (2)
238return Create(new Uri(requestUriString), false); 308return CreateHttp(new Uri(requestUriString));
net\System\URI.cs (1)
1936return new Uri(relativeUriString, UriKind.Relative);
net\System\uribuilder.cs (3)
46Uri tryUri = new Uri(uri, UriKind.RelativeOrAbsolute); 53Init(new Uri(uri)); 320m_uri = new Uri(ToString());
net\System\UriExt.cs (2)
710return new Uri((flags & Flags.UserEscaped), null, uriString); 716Uri result = new Uri(flags, syntax, uriString);
sys\system\Media\SoundPlayer.cs (2)
391result = new Uri(partialUri); 399result = new Uri(Path.GetFullPath(partialUri));
System.Activities (1)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
2462string fileName = new Uri(assemblyReference.Assembly.CodeBase).LocalPath;
System.Activities.Core.Presentation (1)
System\ServiceModel\Activities\Presentation\MessagingContentPropertyEditorResources.xaml.cs (1)
21Uri resourceLocator = new Uri(
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\XmlPropertyBag.cs (1)
206return new Uri(value);
System.Activities.Presentation (9)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
964image.Source = new BitmapImage(new Uri(
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Resources\PropertyInspectorResources.cs (1)
90Uri resourceLocator = new Uri(
System.Activities.Presentation\System\Activities\Presentation\View\AssemblyContextControlItem.cs (1)
44if ((LocalAssemblyName != null) && LocalAssemblyName.CodeBase != null && (File.Exists(new Uri(LocalAssemblyName.CodeBase).LocalPath)))
System.Activities.Presentation\System\Activities\Presentation\View\EditorResources.cs (1)
21Uri resourceLocator = new Uri(
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerColors.cs (2)
113Uri resourceLocator = new Uri( 131Uri resourceLocator = new Uri(
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (3)
128Uri resourceUri = new Uri(string.Concat(typeof(WorkflowDesignerIcons).Assembly.GetName().Name, @";component/Themes/Icons.WindowsApp.xaml"), UriKind.RelativeOrAbsolute); 166Uri resourceUri = new Uri(string.Concat(typeof(WorkflowDesignerIcons).Assembly.GetName().Name, @";component/Themes/Icons.Default.xaml"), UriKind.RelativeOrAbsolute); 199BitmapImage image = new BitmapImage(new Uri(uri, UriKind.Absolute));
System.Core (1)
System\Diagnostics\Eventing\Reader\ProviderMetadata.cs (1)
132return new Uri(helpLinkStr);
System.Data (12)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
964image.Source = new BitmapImage(new Uri(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Resources\PropertyInspectorResources.cs (1)
90Uri resourceLocator = new Uri(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\AssemblyContextControlItem.cs (1)
44if ((LocalAssemblyName != null) && LocalAssemblyName.CodeBase != null && (File.Exists(new Uri(LocalAssemblyName.CodeBase).LocalPath)))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\EditorResources.cs (1)
21Uri resourceLocator = new Uri(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerColors.cs (2)
113Uri resourceLocator = new Uri( 131Uri resourceLocator = new Uri(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (3)
128Uri resourceUri = new Uri(string.Concat(typeof(WorkflowDesignerIcons).Assembly.GetName().Name, @";component/Themes/Icons.WindowsApp.xaml"), UriKind.RelativeOrAbsolute); 166Uri resourceUri = new Uri(string.Concat(typeof(WorkflowDesignerIcons).Assembly.GetName().Name, @";component/Themes/Icons.Default.xaml"), UriKind.RelativeOrAbsolute); 199BitmapImage image = new BitmapImage(new Uri(uri, UriKind.Absolute));
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
281return (new Uri(s));
fx\src\data\System\Data\Common\SQLConvert.cs (2)
605return new Uri((string) value); 691return new Uri((string) value);
System.Data.Entity (1)
System\Data\Mapping\StorageMappingItemLoader.cs (1)
3576sourceLocation = Helper.GetFileNameFromUri(new Uri(args.Exception.SourceUri));
System.Data.Services (10)
parent\Client\System\Data\Services\Client\XmlUtil.cs (2)
36uri = new Uri(CommonUtil.UriToString(uri).ToUpper(CultureInfo.InvariantCulture), UriKind.RelativeOrAbsolute); 57uri = new Uri(value, UriKind.RelativeOrAbsolute);
System\Data\Services\Providers\DataServiceStreamProviderWrapper.cs (1)
299return new Uri(DataServiceStreamProviderWrapper.GetStreamEditMediaUri(mediaLinkEntryUri), UriKind.RelativeOrAbsolute);
System\Data\Services\RequestUriProcessor.cs (2)
235Uri referenceAsUri = new Uri(reference, UriKind.RelativeOrAbsolute); 251referenceAsUri = new Uri(absoluteServiceUri.OriginalString + slash + reference);
System\Data\Services\Serializers\SyndicationSerializer.cs (4)
144link.Uri = new Uri(href, UriKind.RelativeOrAbsolute); 341link.Uri = new Uri(relativeUri, UriKind.Relative); 582var uri = new Uri(relativeUri, UriKind.Relative); 1077link.Uri = new Uri(propertyRelativeUri, UriKind.RelativeOrAbsolute);
System\Data\Services\WebUtil.cs (1)
321absoluteUri = new Uri(absoluteUri, lastBaseSegment + "/");
System.Data.Services.Client (10)
System\Data\Services\Client\AtomMaterializerLog.cs (2)
427descriptor.EditStreamUri = new Uri(this.context.BaseUriWithSlash, entry.MediaEditUri); 432descriptor.ReadStreamUri = new Uri(this.context.BaseUriWithSlash, entry.MediaContentUri);
System\Data\Services\Client\AtomParser.cs (2)
546targetEntry.MediaContentUri = new Uri(propertyValue, UriKind.RelativeOrAbsolute); 1051uri = new Uri(baseUri, uri);
System\Data\Services\Client\DataServiceContext.cs (1)
1748Uri editLink = new Uri(location, UriKind.Absolute);
System\Data\Services\Client\EntityDescriptor.cs (1)
386Util.CreateUri(baseUriWithSlash, new Uri("$" + this.parentDescriptor.ChangeOrder.ToString(CultureInfo.InvariantCulture), UriKind.Relative)),
System\Data\Services\Client\Util.cs (3)
268return value == null ? null : new Uri(value, kind); 288requestUri = new Uri(baseUri, Util.CreateUri(requestUri.OriginalString.TrimStart(Util.ForwardSlash), UriKind.Relative)); 292requestUri = new Uri(baseUri, requestUri);
System\Data\Services\Client\XmlUtil.cs (1)
57uri = new Uri(value, UriKind.RelativeOrAbsolute);
System.Data.SqlXml (2)
System\Xml\Xsl\Runtime\XmlCollation.cs (2)
152collationUri = new Uri(collationLiteral); 175} else if (collationUri.IsBaseOf(new Uri(XmlReservedNs.NsCollCodePoint))) {
System.Drawing (2)
commonui\System\Drawing\Icon.cs (2)
243uri = new Uri(filePath); 252uri = new Uri(filePath);
System.IdentityModel (73)
System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
193claims.Add(Claim.CreateUriClaim(new Uri(value)));
System\IdentityModel\Configuration\IdentityConfiguration.cs (2)
563handlerConfiguration.AudienceRestriction.AllowedAudienceUris.Add(new Uri(audienceUriElement.Value, UriKind.RelativeOrAbsolute)); 664handlerConfiguration.AudienceRestriction.AllowedAudienceUris.Add(new Uri(audienceUriElement.Value, UriKind.RelativeOrAbsolute));
System\IdentityModel\Metadata\MetadataSerializer.cs (4)
1008resultKey.EncryptionMethods.Add(new EncryptionMethod(new Uri(algorithm))); 1431roleDescriptor.ProtocolsSupported.Add(new Uri(toAdd)); 1687singleSignOnDescriptor.NameIdentifierFormats.Add(new Uri(nameId)); 3211attribute.NameFormat = new Uri(value);
System\IdentityModel\Protocols\WSTrust\BinaryExchange.cs (1)
25: this( binaryData, valueType, new Uri( WSSecurity10Constants.EncodingTypes.Base64 ) )
System\IdentityModel\Protocols\WSTrust\EndpointReference.cs (1)
33Uri tempUri = new Uri(uri);
System\IdentityModel\Selectors\SamlSecurityTokenAuthenticator.cs (1)
153Uri uri = new Uri(this.allowedAudienceUris[j]);
System\IdentityModel\Tokens\Saml2AuthorizationDecisionStatement.cs (1)
22public static readonly Uri EmptyResource = new Uri(string.Empty, UriKind.Relative);
System\IdentityModel\Tokens\Saml2Constants.cs (41)
25public static readonly Uri Rwedc = new Uri(RwedcString); 30public static readonly Uri RwedcNegation = new Uri(RwedcNegationString); 35public static readonly Uri Ghpp = new Uri(GhppString); 40public static readonly Uri Unix = new Uri(UnixString); 80public static readonly Uri InternetProtocol = new Uri(InternetProtocolString); 83public static readonly Uri InternetProtocolPassword = new Uri(InternetProtocolPasswordString); 86public static readonly Uri Kerberos = new Uri(KerberosString); 89public static readonly Uri MobileOneFactorUnregistered = new Uri(MobileOneFactorUnregisteredString); 92public static readonly Uri MobileTwoFactorUnregistered = new Uri(MobileTwoFactorUnregisteredString); 95public static readonly Uri MobileOneFactorContract = new Uri(MobileOneFactorContractString); 98public static readonly Uri MobileTwoFactorContract = new Uri(MobileTwoFactorContractString); 101public static readonly Uri Password = new Uri(PasswordString); 104public static readonly Uri PasswordProtectedTransport = new Uri(PasswordProtectedTransportString); 107public static readonly Uri PreviousSession = new Uri(PreviousSessionString); 110public static readonly Uri X509 = new Uri(X509String); 113public static readonly Uri Pgp = new Uri(PgpString); 116public static readonly Uri Spki = new Uri(SpkiString); 119public static readonly Uri XmlDSig = new Uri(XmlDsigString); 122public static readonly Uri Smartcard = new Uri(SmartcardString); 125public static readonly Uri SmartcardPki = new Uri(SmartcardPkiString); 128public static readonly Uri SoftwarePki = new Uri(SoftwarePkiString); 131public static readonly Uri Telephony = new Uri(TelephonyString); 134public static readonly Uri NomadTelephony = new Uri(NomadTelephonyString); 137public static readonly Uri PersonalTelephony = new Uri(PersonalTelephonyString); 140public static readonly Uri AuthenticatedTelephony = new Uri(AuthenticatedTelephonyString); 143public static readonly Uri SecureRemotePassword = new Uri(SecureRemotePasswordString); 146public static readonly Uri TlsClient = new Uri(TlsClientString); 149public static readonly Uri TimeSyncToken = new Uri(TimeSyncTokenString); 152public static readonly Uri Unspecified = new Uri(UnspecifiedString); 192public static readonly Uri Bearer = new Uri(BearerString); 198public static readonly Uri HolderOfKey = new Uri(HolderOfKeyString); 204public static readonly Uri SenderVouches = new Uri(SenderVouchesString); 256public static readonly Uri Unspecified = new Uri(UnspecifiedString); 263public static readonly Uri EmailAddress = new Uri(EmailAddressString); 270public static readonly Uri X509SubjectName = new Uri(X509SubjectNameString); 276public static readonly Uri WindowsDomainQualifiedName = new Uri(WindowsDomainQualifiedNameString); 283public static readonly Uri Kerberos = new Uri(KerberosString); 292public static readonly Uri Entity = new Uri(EntityString); 300public static readonly Uri Persistent = new Uri(PersistentString); 307public static readonly Uri Transient = new Uri(TransientString); 313public static readonly Uri Encrypted = new Uri(EncryptedString);
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (10)
960return new Uri(value, kind); 1023conditions.AudienceRestrictions.Add(new Saml2AudienceRestriction(new Uri(relyingPartyAddress))); 1105attribute.NameFormat = new Uri(nameFormat); 1466nameIdentifier.Format = new Uri(nameIdentifierFormat); 2388actionNamespace = new Uri(attributeValue); 3005attribute.NameFormat = new Uri(value); 3908resource = new Uri(value); 4610nameIdentifier.Format = new Uri(value); 5136Saml2SubjectConfirmation subjectConfirmation = new Saml2SubjectConfirmation(new Uri(method)); 5310confirmationData.Recipient = new Uri(value);
System\IdentityModel\Tokens\SamlAudienceRestrictionCondition.cs (1)
91this.audiences.Add(new Uri(audience));
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (2)
287conditions.Conditions.Add(new SamlAudienceRestrictionCondition(new Uri[] { new Uri(relyingPartyAddress) })); 2101audienceRestrictionCondition.Audiences.Add(new Uri(audience, UriKind.RelativeOrAbsolute));
System\IdentityModel\Tokens\SamlSecurityTokenRequirement.cs (4)
364audienceLeftPart = new Uri(audience.GetLeftPart(UriPartial.Path)); 368Uri baseUri = new Uri("http://www.example.com"); 369Uri resolved = new Uri(baseUri, audience); 370audienceLeftPart = baseUri.MakeRelativeUri(new Uri(resolved.GetLeftPart(UriPartial.Path)));
System\IdentityModel\Tokens\SessionSecurityToken.cs (1)
1745return new SysClaim(SysClaimTypes.Uri, new Uri(url), right);
System\IdentityModel\UniqueId.cs (1)
116return new Uri(UuidUriPrefix + GetRandomUuid());
System\IdentityModel\WSSecureConversation13Constants.cs (1)
16public static readonly Uri NamespaceUri = new Uri( Namespace );
System\IdentityModel\WSSecureConversationFeb2005Constants.cs (1)
16public static readonly Uri NamespaceUri = new Uri( Namespace );
System.Runtime.Remoting (5)
channels\core\socketcache.cs (1)
59_uri = new Uri("dummy://" + machineAndPort);
channels\http\httpclientchannel.cs (1)
224ServicePoint sp = ServicePointManager.FindServicePoint(new Uri(channelURI));
channels\tcp\tcpclientchannel.cs (1)
359Uri uri = new Uri(simpleChannelUri);
metadata\wsdlparser.cs (2)
734currentReaderStream.Uri= new Uri(currentReaderStream.Location); // If relative path, will already be changed to absolute path by next statement in previous invocation. 735Uri uri = new Uri(currentReaderStream.Uri, location);
System.Runtime.Serialization (4)
System\Runtime\Serialization\DataContract.cs (1)
1764return new Uri(Globals.DataContractXsdBaseNamespaceUri, clrNs).AbsoluteUri;
System\Runtime\Serialization\Globals.cs (1)
1103dataContractXsdBaseNamespaceUri = new Uri(DataContractXsdBaseNamespace);
System\Runtime\Serialization\XmlReaderDelegator.cs (2)
768return new Uri(str, UriKind.RelativeOrAbsolute); 785return new Uri(str, UriKind.RelativeOrAbsolute);
System.Security (3)
system\security\cryptography\xml\reference.cs (3)
415System.Uri uri = new System.Uri(m_uri, UriKind.RelativeOrAbsolute); 417uri = new Uri(new Uri(baseUri), uri);
System.ServiceModel (67)
System\ServiceModel\Channels\Addressing.cs (2)
456return new Uri(toString); 764internal static readonly Uri ReplyRelationshipType = new Uri(Addressing10Strings.ReplyRelationship);
System\ServiceModel\Channels\AddressingVersion.cs (2)
50this.anonymousUri = new Uri(anonymous); 55this.noneUri = new Uri(none);
System\ServiceModel\Channels\BinaryMessageEncoder.cs (1)
1547toHeader = ToHeader.Create(new Uri(toString.Value), messageVersion.Addressing);
System\ServiceModel\Channels\CallbackContextMessageProperty.cs (1)
41: this(new Uri(listenAddress), context)
System\ServiceModel\Channels\FramingDecoders.cs (1)
225via = new Uri(value);
System\ServiceModel\Channels\Message.cs (1)
2112uri = new Uri(uriString);
System\ServiceModel\Channels\Msmq4PoisonHandler.cs (2)
38this.poisonQueueName = this.ReceiveParameters.AddressTranslator.UriToFormatName(new Uri(this.ListenUri.AbsoluteUri + ";poison")); 39this.retryQueueName = this.ReceiveParameters.AddressTranslator.UriToFormatName(new Uri(this.ListenUri.AbsoluteUri + ";retry"));
System\ServiceModel\Channels\MsmqUri.cs (1)
351return new Uri(Scheme + ":" + path);
System\ServiceModel\Channels\PeerHelpers.cs (1)
337result = new Uri(rawString);
System\ServiceModel\Channels\PeerSecurityHelpers.cs (1)
422status = new Uri(isValid ? PeerRequestSecurityTokenResponse.ValidString : PeerRequestSecurityTokenResponse.InvalidString);
System\ServiceModel\Channels\PipeConnection.cs (1)
2165Uri tempUri = new Uri(pipeUri, Guid.NewGuid().ToString());
System\ServiceModel\Channels\PrivacyNoticeBindingElementImporter.cs (1)
38settings.Url = new Uri(privacyNoticeAssertion.InnerText);
System\ServiceModel\Channels\TransportChannelListener.cs (1)
609fullUri = new Uri(baseAddress, relativeAddress);
System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
551fullUri = new Uri(baseAddress, relativeAddress);
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (2)
281EndpointAddress mexEndpointAddress = new EndpointAddress(new Uri(mexAddress), mexIdentity); 415this.serviceEndpoint = new ServiceEndpoint(contractDescription, endpoint.Binding, new EndpointAddress(new Uri(address), identity, (AddressHeaderCollection)null));
System\ServiceModel\ComIntegration\TypedServiceChannelBuilder.cs (1)
152endpoint.Address = new EndpointAddress(new Uri(address), identity);
System\ServiceModel\ComIntegration\WsdlServiceChannelBuilder.cs (1)
288EndpointAddress endpointAddress = new EndpointAddress(new Uri(address), identity, (AddressHeaderCollection)null);
System\ServiceModel\Configuration\IssuedTokenClientElement.cs (1)
148issuedToken.IssuerChannelBehaviors.Add(new Uri(issuerBehaviorElement.IssuerAddress), issuerBehaviors);
System\ServiceModel\Description\DispatcherBuilder.cs (1)
566baseAddress = new Uri(baseAddress.AbsoluteUri + "/");
System\ServiceModel\Description\MetadataExchangeClient.cs (2)
623return new Uri(new Uri(baseUri), relativeUri);
System\ServiceModel\Description\ServiceDebugBehavior.cs (3)
184mex.HttpHelpPageUrl = host.GetVia(Uri.UriSchemeHttp, this.httpHelpPageUrl == null ? new Uri(string.Empty, UriKind.Relative) : this.httpHelpPageUrl); 188mex.HttpsHelpPageUrl = host.GetVia(Uri.UriSchemeHttps, this.httpsHelpPageUrl == null ? new Uri(string.Empty, UriKind.Relative) : this.httpsHelpPageUrl); 194Uri address = host.GetVia(scheme, url == null ? new Uri(string.Empty, UriKind.Relative) : url);
System\ServiceModel\Description\ServiceMetadataBehavior.cs (4)
24static readonly Uri emptyUri = new Uri(String.Empty, UriKind.Relative); 235Uri address = host.GetVia(scheme, url == null ? new Uri(string.Empty, UriKind.Relative) : url); 254mex.HttpGetUrl = host.GetVia(Uri.UriSchemeHttp, this.httpGetUrl == null ? new Uri(string.Empty, UriKind.Relative) : this.httpGetUrl); 255mex.HttpsGetUrl = host.GetVia(Uri.UriSchemeHttps, this.httpsGetUrl == null ? new Uri(string.Empty, UriKind.Relative) : this.httpsGetUrl);
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
27static readonly Uri EmptyUri = new Uri(String.Empty, UriKind.Relative);
System\ServiceModel\Diagnostics\PeerNodeTraceRecord.cs (1)
307this.from = fromAddress != null ? fromAddress.EndpointAddress.Uri : new Uri("net.p2p://");
System\ServiceModel\Diagnostics\PerformanceCountersFactory.cs (1)
179ServiceHost dummyServiceHost = new ServiceHost(typeof(object), new Uri("http://" + dummyValue));
System\ServiceModel\EndpointAddress.cs (3)
99Uri u = new Uri(uri); 235anonymousUri = new Uri(AddressingStrings.AnonymousUri); 245noneUri = new Uri(AddressingStrings.NoneUri);
System\ServiceModel\MsmqIntegration\MsmqIntegrationInputMessage.cs (1)
119return new Uri("msmq.formatname:" + formatName);
System\ServiceModel\Security\InfoCardHelper.cs (1)
160selfIssuerUri = new Uri(WSIdentityNamespace + "/issuer/self");
System\ServiceModel\Security\SctClaimSerializer.cs (1)
335return new Claim(ClaimTypes.Uri, new Uri(url), right);
System\ServiceModel\Security\Tokens\SecurityContextSecurityTokenHelper.cs (1)
85return new SessionSecurityToken(claimsPrincipal, sct.ContextId, sct.Id, String.Empty, sct.GetKeyBytes(), endpointId, sct.ValidFrom, sct.ValidTo, sct.KeyGeneration, sct.KeyEffectiveTime, sct.KeyExpirationTime, sctAuthPolicy, new Uri(version.Namespace.Value));
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
2831static readonly Uri SelfIssuerUri = new Uri(WSIdentityNamespace + "/issuer/self");
System\ServiceModel\ServiceConfiguration.cs (1)
204return this.AddServiceEndpoint(contractType, binding, new Uri(address, UriKind.RelativeOrAbsolute));
System\ServiceModel\ServiceHost.cs (6)
32internal static readonly Uri EmptyUri = new Uri(string.Empty, UriKind.RelativeOrAbsolute); 327ServiceEndpoint endpoint = this.AddServiceEndpoint(implementedContract, binding, new Uri(address, UriKind.RelativeOrAbsolute)); 435Uri absoluteUri = MakeAbsoluteUri(new Uri(relativeAddress, UriKind.Relative), endpoint.Binding); 720baseUri = new Uri(baseUri.AbsoluteUri + "/"); 722return new Uri(baseUri, path); 1731ServiceEndpoint endpoint = this.AddServiceEndpoint(implementedContract, binding, new Uri(address, UriKind.RelativeOrAbsolute));
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (3)
308result.ImageUrl = new Uri(reader.ReadElementString(), UriKind.RelativeOrAbsolute); 736result = new UrlSyndicationContent(new Uri(src, UriKind.RelativeOrAbsolute), type); 1082link.Uri = (val != null) ? new Uri(val, UriKind.RelativeOrAbsolute) : null;
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (3)
157ReadReferencedCategories(reader, referencedCategories, baseUri, new Uri(link, UriKind.RelativeOrAbsolute), version, preserveElementExtensions, preserveAttributeExtensions, maxExtensionSize); 461result.Link = new Uri(reader.Value, UriKind.RelativeOrAbsolute); 564result.BaseUri = new Uri(reader.Value, UriKind.RelativeOrAbsolute);
System\ServiceModel\Syndication\FeedUtils.cs (2)
82Uri newBaseUri = new Uri(newBase, UriKind.RelativeOrAbsolute); 87return new Uri(rootBase, newBase);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (6)
506link.Uri = new Uri(uri, UriKind.RelativeOrAbsolute); 685feed.Links.Add(SyndicationLink.CreateSelfLink(new Uri(val, UriKind.RelativeOrAbsolute))); 737result.Links.Add(SyndicationLink.CreateAlternateLink(new Uri(fallbackAlternateLink, UriKind.RelativeOrAbsolute))); 783link.Uri = new Uri(val, UriKind.RelativeOrAbsolute); 916result.BaseUri = new Uri(baseUri, UriKind.RelativeOrAbsolute); 981result.ImageUrl = new Uri(reader.ReadElementString(), UriKind.RelativeOrAbsolute);
System\ServiceModel\Syndication\SyndicationLink.cs (1)
158return new Uri(this.baseUri, this.uri);
System\UriTemplate.cs (1)
626Uri sourceUri = new Uri(String.Format(CultureInfo.InvariantCulture, "{0}://{1}", uri.Scheme, host));
System\UriTemplateLiteralPathSegment.cs (1)
19static Uri dummyUri = new Uri("http://localhost");
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\HostedTransportConfigurationBase.cs (1)
49addresses[i] = new Uri(listenAddresses[i].BaseAddress, absoluteVirtualPath);
System.ServiceModel.Activities (6)
System\ServiceModel\Activities\Description\WorkflowInstanceManagementBehavior.cs (1)
144Uri controlEndpointAddress = ServiceHost.GetVia(controlEndpointBinding.Scheme, new Uri(ControlEndpointAddress, UriKind.Relative), workflowServiceHost.InternalBaseAddresses);
System\ServiceModel\Activities\WorkflowControlEndpoint.cs (4)
29new EndpointAddress(new Uri(WorkflowControlEndpoint.DefaultBaseUri, new Uri(Guid.NewGuid().ToString(), UriKind.Relative)))) 111defaultBaseUri = new Uri(string.Format(CultureInfo.InvariantCulture, "net.pipe://localhost/workflowControlServiceEndpoint/{0}/{1}", 117Uri tempUri = new Uri(string.Format(CultureInfo.InvariantCulture, "net.pipe://localhost/workflowControlServiceEndpoint/{0}",
System\ServiceModel\Activities\WorkflowServiceHost.cs (1)
292return AddServiceEndpoint(serviceContractName, binding, new Uri(address, UriKind.RelativeOrAbsolute), listenUri, behaviorConfigurationName);
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpUtility.cs (1)
29basepath = new Uri(basepath, relativePath);
System.ServiceModel.Discovery (34)
System\ServiceModel\Discovery\DiscoveryDefaults.cs (2)
22public static readonly Uri IPv4MulticastAddress = new Uri(ProtocolStrings.Udp.MulticastIPv4Address); 25public static readonly Uri IPv6MulticastAddress = new Uri(ProtocolStrings.Udp.MulticastIPv6Address);
System\ServiceModel\Discovery\DiscoveryMessageSequence.cs (1)
161this.SequenceId = new Uri(sequenceIdString, UriKind.RelativeOrAbsolute);
System\ServiceModel\Discovery\FindCriteria.cs (6)
22public static readonly Uri ScopeMatchByExact = new Uri(ProtocolStrings.VersionInternal.ScopeMatchByExact); 25public static readonly Uri ScopeMatchByLdap = new Uri(ProtocolStrings.VersionInternal.ScopeMatchByLdap); 28public static readonly Uri ScopeMatchByPrefix = new Uri(ProtocolStrings.VersionInternal.ScopeMatchByPrefix); 32public static readonly Uri ScopeMatchByUuid = new Uri(ProtocolStrings.VersionInternal.ScopeMatchByUuid); 35public static readonly Uri ScopeMatchByNone = new Uri(ProtocolStrings.VersionInternal.ScopeMatchByNone); 413return new Uri(string.Format(CultureInfo.InvariantCulture, "urn:{0}", contractTypeName.ToString()));
System\ServiceModel\Discovery\OfflineAnnouncementChannelDispatcher.cs (1)
117return new Uri(ProtocolStrings.VersionInternal.AdhocAddress);
System\ServiceModel\Discovery\SerializationUtility.cs (2)
78uriCollection.Add(new Uri(uriStrings[i], uriKind)); 326scopeMatchBy = new Uri(scopeMatchByStr, UriKind.RelativeOrAbsolute);
System\ServiceModel\Discovery\UdpAnnouncementEndpoint.cs (2)
30: this(new Uri(multicastAddress)) 45: this(discoveryVersion, new Uri(multicastAddress))
System\ServiceModel\Discovery\UdpDiscoveryEndpoint.cs (2)
32: this(new Uri(multicastAddress)) 47: this(discoveryVersion, new Uri(multicastAddress))
System\ServiceModel\Discovery\Version11\DiscoveryVersion11Implementation.cs (6)
15static readonly Uri ScopeMatchByExact = new Uri(ProtocolStrings.Version11.ScopeMatchByExact); 16static readonly Uri ScopeMatchByLdap = new Uri(ProtocolStrings.Version11.ScopeMatchByLdap); 17static readonly Uri ScopeMatchByPrefix = new Uri(ProtocolStrings.Version11.ScopeMatchByPrefix); 18static readonly Uri ScopeMatchByUuid = new Uri(ProtocolStrings.Version11.ScopeMatchByUuid); 19static readonly Uri ScopeMatchByNone = new Uri(ProtocolStrings.Version11.ScopeMatchByNone); 51this.discoveryAddress = new Uri(ProtocolStrings.Version11.AdhocAddress);
System\ServiceModel\Discovery\VersionApril2005\DiscoveryVersionApril2005Implementation.cs (6)
15static readonly Uri ScopeMatchByExact = new Uri(ProtocolStrings.VersionApril2005.ScopeMatchByExact); 16static readonly Uri ScopeMatchByLdap = new Uri(ProtocolStrings.VersionApril2005.ScopeMatchByLdap); 17static readonly Uri ScopeMatchByPrefix = new Uri(ProtocolStrings.VersionApril2005.ScopeMatchByPrefix); 18static readonly Uri ScopeMatchByUuid = new Uri(ProtocolStrings.VersionApril2005.ScopeMatchByUuid); 19static readonly Uri ScopeMatchByNone = new Uri(ProtocolStrings.VersionApril2005.ScopeMatchByNone); 51this.discoveryAddress = new Uri(ProtocolStrings.VersionApril2005.AdhocAddress);
System\ServiceModel\Discovery\VersionCD1\DiscoveryVersionCD1Implementation.cs (6)
15static readonly Uri ScopeMatchByExact = new Uri(ProtocolStrings.VersionCD1.ScopeMatchByExact); 16static readonly Uri ScopeMatchByLdap = new Uri(ProtocolStrings.VersionCD1.ScopeMatchByLdap); 17static readonly Uri ScopeMatchByPrefix = new Uri(ProtocolStrings.VersionCD1.ScopeMatchByPrefix); 18static readonly Uri ScopeMatchByUuid = new Uri(ProtocolStrings.VersionCD1.ScopeMatchByUuid); 19static readonly Uri ScopeMatchByNone = new Uri(ProtocolStrings.VersionCD1.ScopeMatchByNone); 51this.discoveryAddress = new Uri(ProtocolStrings.VersionCD1.AdhocAddress);
System.ServiceModel.Web (2)
System\ServiceModel\Dispatcher\QueryStringConverter.cs (1)
142return (!string.IsNullOrEmpty(parameter)) ? new Uri(parameter, UriKind.RelativeOrAbsolute) : null;
System\ServiceModel\Web\WebServiceHost.cs (1)
261UriTemplateDispatchFormatter throwAway = new UriTemplateDispatchFormatter(operation, null, new QueryStringConverter(), operation.DeclaringContract.Name, new Uri("http://localhost"));
System.Web (14)
ErrorFormatter.cs (2)
767return (new Uri(server + virtualPath)).ToString(); 789Uri uri = new Uri(linePragma);
Handlers\AssemblyResourceLoader.cs (1)
152long assemblyDate = File.GetLastWriteTime(new Uri(assemblyName.CodeBase).LocalPath).Ticks;
HttpRequest.cs (5)
185_url = new Uri(url); 198_url = new Uri("http://localhost" + virtualPath.VirtualPathString); 1894_url = new Uri(u); 1973_referrer = new Uri(r); 1975_referrer = new Uri(this.Url, r);
HttpResponse.cs (1)
3308return (new Uri(Request.Url, url)).AbsoluteUri ;
HttpRuntime.cs (1)
3326Uri uri = new Uri(path);
UI\Util.cs (1)
1120Uri uri=new Uri(url);
Util\UriUtil.cs (1)
52return new Uri(uriString);
Util\UrlPath.cs (2)
368Uri fromUri = new Uri(dummyProtocolAndServer + from); 369Uri toUri = new Uri(dummyProtocolAndServer + to);
System.Web.DataVisualization (7)
Common\General\Chart.cs (3)
3574templateUri = new Uri(url); 3595templateUri = new Uri(new Uri(webFormUrl), url);
Common\Utilities\ImageLoader.cs (2)
196Uri pageUri = new Uri(control.webFormDocumentURL); 287 imageUri = new Uri(imageURL);
WebForm\General\ChartHttpHandler.cs (2)
924Uri directory = new Uri(this.Directory); 925Uri combinedDirectory = new Uri(fi.FullName);
System.Web.Extensions (2)
ClientServices\Providers\ProxyHelper.cs (1)
283Uri uri = new Uri(serverUri);
Script\Services\WebServiceClientProxyGenerator.cs (1)
27DateTime writeTime = File.GetLastWriteTime(new Uri(assemblyName.CodeBase).LocalPath);
System.Web.Mobile (4)
Mobile\UrlPath.cs (2)
230Uri fromUri = new Uri(dummyProtocolAndServer + from); 231Uri toUri = new Uri(dummyProtocolAndServer + to);
UI\MobileControls\Design\ImageDesigner.cs (2)
115Uri baseUri = new Uri(BaseUrl); 116Uri imageUri = new Uri(baseUri, imageUriString);
System.Web.Services (17)
System\Web\Services\Description\ProtocolImporter.cs (2)
683string relativeUrl = new Uri(appSettingBaseUrl).MakeRelative(new Uri(url));
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (1)
233WebRequest request = GetWebRequest(new Uri(url));
System\Web\Services\Discovery\DiscoveryReference.cs (2)
173return (new Uri(new Uri(baseUrl), relUrl)).GetComponents(UriComponents.AbsoluteUri, UriFormat.SafeUnescaped);
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (2)
49string localPath = (new System.Uri(rootUrl)).LocalPath; 145Uri uri = new Uri(url);
System\Web\Services\Protocols\ClientProtocol.cs (1)
175set { uri = new Uri(value); }
System\Web\Services\Protocols\DiscoveryServerProtocol.cs (2)
52Uri uriObject = new Uri(uri, true); 198new Uri(absolutePathAndQuery).PathAndQuery);
System\Web\Services\Protocols\DocumentationServerProtocol.cs (1)
52Uri uriObject = new Uri(uri, true);
System\Web\Services\Protocols\HttpClientProtocol.cs (6)
133Uri requestUri = new Uri(requestUrl); 137requestUri = new Uri(requestUrl, true); 187Uri requestUri = new Uri(requestUrl); 191requestUri = new Uri(requestUrl, true); 299Uri requestUri = new Uri(requestUrl); 303requestUri = new Uri(requestUrl, true);
System.Windows.Forms (22)
winforms\Managed\System\WinForms\Application.cs (2)
375Uri codeBase = new Uri(cb); 384Uri exeUri = new Uri(executablePath);
winforms\Managed\System\WinForms\Form.cs (1)
4289Uri currentSite = new Uri(arrayElement.ToString());
winforms\Managed\System\WinForms\Help.cs (4)
308file = new Uri(file.ToString() + "#" + (string)param); 334file = new Uri(partialUri); 370file = new Uri(new Uri(AppDomain.CurrentDomain.SetupInformation.ApplicationBase),
winforms\Managed\System\WinForms\HtmlDocument.cs (1)
164return string.IsNullOrEmpty(stringLocation) ? null : new Uri(stringLocation);
winforms\Managed\System\WinForms\HtmlElementErrorEventArgs.cs (1)
80url = new Uri(urlString);
winforms\Managed\System\WinForms\HtmlWindow.cs (1)
240return string.IsNullOrEmpty(stringLocation) ? null : new Uri(stringLocation);
winforms\Managed\System\WinForms\NativeMethods.cs (1)
6395Uri uri = new Uri(fileName);
winforms\Managed\System\WinForms\PictureBox.cs (2)
187uri = new Uri(path); 193uri = new Uri(path);
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (1)
204Uri codeBase = new Uri(name.EscapedCodeBase);
winforms\Managed\System\WinForms\TrustManager.cs (1)
695System.Uri uri = new System.Uri(deploymentUrl);
winforms\Managed\System\WinForms\WebBrowser.cs (6)
272Uri url = new Uri(href); 316this.Url = new Uri("about:blank"); 626return new Uri(urlString); 1942new Uri(urlString), targetFrameName == null ? "" : (string)targetFrameName); 1970new Uri(urlString)); 1988new Uri(urlString));
winforms\Managed\System\WinForms\WebBrowserUriTypeConverter.cs (1)
22uri = new Uri("http://" + uri.OriginalString.Trim());
System.Windows.Forms.DataVisualization (4)
Common\General\Chart.cs (3)
3574templateUri = new Uri(url); 3595templateUri = new Uri(new Uri(webFormUrl), url);
Common\Utilities\ImageLoader.cs (1)
287 imageUri = new Uri(imageURL);
System.Workflow.Activities (5)
Designers\InvokeWebServiceDesigner.cs (1)
126PropertyDescriptorUtils.SetPropertyValue(Activity.Site, TypeDescriptor.GetProperties(Activity)["ProxyClass"], Activity, string.IsNullOrEmpty(this.url) ? null : extUIService.GetProxyClassForUrl(new Uri(this.url)));
Designers\StateDesigner.cs (4)
2732Uri uri = new Uri(pathFrom); 2733string relativePath = Uri.UnescapeDataString(uri.MakeRelativeUri(new Uri(pathTo)).ToString()); 2745string imageFilePath = System.Web.HttpUtility.UrlDecode((new Uri(new Uri(directory), path).LocalPath));
System.Workflow.ComponentModel (5)
AuthoringOM\Design\DesignerHelpers.cs (4)
1463Uri uri = new Uri(pathFrom); 1464string relativePath = Uri.UnescapeDataString(uri.MakeRelativeUri(new Uri(pathTo)).ToString()); 1476string imageFilePath = Uri.UnescapeDataString((new Uri(new Uri(directory), path).LocalPath));
AuthoringOM\Design\Themes.cs (1)
310path = new Uri(Assembly.GetExecutingAssembly().CodeBase).AbsolutePath;
System.WorkflowServices (5)
System\ServiceModel\Activities\Description\WorkflowRuntimeEndpoint.cs (1)
24static readonly Uri baseUri = new Uri(string.Format(CultureInfo.InvariantCulture, "net.pipe://localhost/ExternalDataExchangeEndpoint/{0}/{1}",
System\ServiceModel\WorkflowServiceHost.cs (2)
87return this.AddServiceEndpoint(implementedContract, binding, new Uri(address, UriKind.RelativeOrAbsolute)); 102return this.AddServiceEndpoint(implementedContract, binding, new Uri(address, UriKind.RelativeOrAbsolute), listenUri);
System\Workflow\Runtime\Hosting\ChannelManager.cs (2)
23static Uri defaultViaUri = new Uri("channelCache://default_address"); 128Uri via = (customAddress != null) ? new Uri(customAddress) : defaultViaUri;
System.Xml (14)
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
895validator.BaseUri = ( resolver == null ) ? new Uri( outerReader.BaseURI, UriKind.RelativeOrAbsolute ) : resolver.ResolveUri( null, outerReader.BaseURI );
System\Xml\Resolvers\XmlPreloadedResolver.cs (4)
185return new Uri(relativeUri, UriKind.Relative); 193return new Uri(relativeUri, UriKind.Relative); 351mappings.Add(new Uri(dtdInfo.publicId, UriKind.RelativeOrAbsolute), dtdInfo); 352mappings.Add(new Uri(dtdInfo.systemId, UriKind.RelativeOrAbsolute), dtdInfo);
System\Xml\Schema\Parser.cs (1)
85schema.BaseUri = new Uri(reader.BaseURI, UriKind.RelativeOrAbsolute);
System\Xml\Schema\ParserAsync.cs (1)
45schema.BaseUri = new Uri(reader.BaseURI, UriKind.RelativeOrAbsolute);
System\Xml\Schema\XmlSchemaSet.cs (3)
328Uri schemaUri = new Uri(schemaDocument.BaseURI, UriKind.RelativeOrAbsolute); 822if (FindSchemaByNSAndUrl(new Uri(reader.BaseURI, UriKind.RelativeOrAbsolute), targetNamespace, null) != null) { 832if (IsSchemaLoaded(new Uri(reader.BaseURI, UriKind.RelativeOrAbsolute), targetNamespace, out schema)) {
System\Xml\XmlResolver.cs (3)
50Uri uri = new Uri( relativeUri, UriKind.RelativeOrAbsolute ); 53uri = new Uri( Path.GetFullPath( relativeUri ) ); 82return new Uri( baseUri, relativeUri );
System\Xml\XmlSecureResolver.cs (1)
49Uri uri = new Uri(securityUrl, UriKind.RelativeOrAbsolute);
WindowsBase (39)
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (1)
406Uri targetUri = new Uri(targetAttributeValue, UriKind.RelativeOrAbsolute);
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (1)
822return PackUriHelper.CreatePartUri(new Uri(propertyPartName, UriKind.Relative));
Base\MS\Internal\IO\Packaging\PieceNameHelper.cs (1)
332Uri partUri = new Uri(ZipPackage.GetOpcNameFromZipItemName(parseResults.PrefixName), UriKind.Relative);
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (1)
616uri = PackUriHelper.ValidatePartUri(new Uri(attrValue.Substring(0, index), UriKind.Relative));
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (4)
964return new Uri(stringValue); 1077return new Uri(serviceUrl.ToString()); 1810return new Uri(addressAttributeValue); 1831referralInfoUri = new Uri(addressAttributeValue);
Base\MS\Internal\Security\RightsManagement\IssuanceLicense.cs (2)
272unsignedPublishLicense.ReferralInfoUri = new Uri(distributionPointUri); 1029resultRevocationPoint.Url = (urlTemp == null) ? null : new Uri(urlTemp.ToString());
Base\System\IO\FileFormatException.cs (1)
138_sourceUri = new Uri(sourceUriString, UriKind.RelativeOrAbsolute);
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (3)
572Uri certificatePartName = PackUriHelper.CreatePartUri(new Uri( 1266return PackUriHelper.CreatePartUri(new Uri(_defaultSignaturePartNamePrefix + 1403private static Uri _defaultOriginPartName = PackUriHelper.CreatePartUri(new Uri("/package/services/digital-signature/origin.psdsor", UriKind.Relative));
Base\System\IO\Packaging\PackageRelationship.cs (1)
276private static readonly Uri _containerRelationshipPartName = PackUriHelper.CreatePartUri(new Uri("/_rels/.rels", UriKind.Relative));
Base\System\IO\Packaging\PackUriHelper.cs (18)
141Uri packUri = new Uri(absolutePackageUri); 145packUri = new Uri(packUri, partUri); 149packUri = new Uri(String.Concat(packUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.UriEscaped), fragment)); 155return new Uri(packUri.GetComponents(UriComponents.AbsoluteUri, UriFormat.UriEscaped)); 236Uri resolvedUri = new Uri(_defaultUri, partUri); 280resolvedUri = new Uri(_defaultUri, targetUri); 282resolvedUri = new Uri(new Uri(_defaultUri, ValidatePartUri(sourcePartUri)), targetUri); 284return new Uri(resolvedUri.AbsolutePath, UriKind.Relative); 305sourcePartUri = new Uri (_defaultUri, ValidatePartUri(sourcePartUri)); 306targetPartUri = new Uri (_defaultUri, ValidatePartUri(targetPartUri)); 809new Uri(_defaultUri, partName).GetComponents(UriComponents.Path | 927safeUnescapedUri = new Uri(partUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped), UriKind.Relative); 932new Uri(partUri.GetComponents(UriComponents.Path | 976Uri packageUri = new Uri(Uri.UnescapeDataString(hostAndPort)); 994return ValidatePartUri(new Uri(partName, UriKind.Relative)); 1008private static readonly Uri _defaultUri = new Uri("http://defaultcontainer/"); 1011private static readonly Uri _packageRootUri = new Uri("/", UriKind.Relative);
Base\System\IO\Packaging\ZipPackage.cs (4)
274Uri partUri = new Uri(GetOpcNameFromZipItemName(zipInfo.Name), UriKind.Relative); 304Uri partUri = new Uri(GetOpcNameFromZipItemName(zipInfo.Name), UriKind.Relative); 1343new Uri(TemporaryPartNameWithoutExtension + extensionAttributeValue, UriKind.Relative)); 1371PackUriHelper.ValidatedPartUri partUri = PackUriHelper.ValidatePartUri(new Uri(partNameAttributeValue, UriKind.Relative));
Shared\MS\Internal\ResourceIDHelper.cs (2)
24Uri baseUri = new Uri("http://foo/"); 25Uri srcUri = new Uri(baseUri, relPath.Replace("#", "%23"));
4469 references to Uri
ComSvcConfig (9)
ComplusEndpointConfigContainer.cs (4)
380string uri = Uri.EscapeUriString(adminInterfaceInfo.Name); 382if (Uri.IsWellFormedUriString(uri, UriKind.RelativeOrAbsolute)) 408string uri = Uri.EscapeUriString("net.pipe://localhost/" + adminAppInfo.Name + "/" + GetPartitionId(appId) + adminClassInfo.Name); 410if (Uri.IsWellFormedUriString(uri, UriKind.Absolute))
EndpointConfigContainer.cs (3)
34Uri address; 45public Uri Address { get { return this.address; } } 193Uri address,
WasEndpointConfigContainer.cs (2)
231string uri = Uri.EscapeUriString(adminInterfaceInfo.Name); 233if (Uri.IsWellFormedUriString(uri, UriKind.RelativeOrAbsolute))
PresentationBuildTasks (18)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (4)
1739else if (typeToConvertTo == typeof(Uri)) 2603CodeObjectCreateExpression coceResourceLocator = new CodeObjectCreateExpression(typeof(System.Uri), uriParams); 2604CodeVariableDeclarationStatement cvdsresLocator = new CodeVariableDeclarationStatement(typeof(System.Uri), resVarname, coceResourceLocator); 3062CodeExpression ceValue = GetPropertyValueExpression(ctx, typeof(Uri), null, attributeValue);
Framework\System\Windows\Markup\BamlMapTable.cs (1)
313else if (type == ReflectionHelper.GetSystemType(typeof(Uri)))
Framework\System\Windows\Markup\KnownTypes.cs (1)
5506case KnownElements.Uri: t = typeof(Uri); break;
Framework\System\Windows\Markup\ParserContext.cs (4)
53Uri BaseUri 383public Uri BaseUri 483Uri sameUri = new Uri(serializedSafe); 848private Uri _baseUri;
Framework\System\Windows\Markup\XAMLParseException.cs (4)
129internal XamlParseException(string message, int lineNumber, int linePosition, Uri baseUri, Exception innerException) 210public Uri BaseUri 434Uri baseUri, 569Uri _baseUri = null;
Shared\MS\Internal\ResourceIDHelper.cs (4)
24Uri baseUri = new Uri("http://foo/"); 25Uri srcUri = new Uri(baseUri, relPath.Replace("#", "%23")); 34static private string GetResourceIDFromUri(Uri baseUri, Uri sourceUri)
PresentationCore (399)
Core\CSharp\MS\Internal\AppModel\CookieHandler.cs (3)
123internal static string GetCookie(Uri uri, bool throwIfNoCookie) 153internal static bool SetCookie(Uri uri, string cookieData) 166private static bool SetCookieUnsafe(Uri uri, string cookieData, string p3pHeader)
Core\CSharp\MS\Internal\AppModel\CustomCredentialPolicy.cs (2)
118public bool ShouldSendCredential(Uri challengeUri, WebRequest request, NetworkCredential credential, IAuthenticationModule authenticationModule) 162internal static SecurityZone MapUrlToZone(Uri uri)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginContainer.cs (14)
53internal static Uri SiteOfOrigin 58Uri siteOfOrigin = SiteOfOriginForClickOnceApp; 83internal static Uri SiteOfOriginForClickOnceApp 98_siteOfOriginForClickOnceApp = new SecurityCriticalDataForSet<Uri>(_browserSource.Value); 102_siteOfOriginForClickOnceApp = new SecurityCriticalDataForSet<Uri>(GetDeploymentUri()); 106_siteOfOriginForClickOnceApp = new SecurityCriticalDataForSet<Uri>(null); 119internal static Uri BrowserSource 172public override bool PartExists(Uri uri) 258protected override PackagePart GetPartCore(Uri uri) 293private static Uri GetDeploymentUri() 335private static SecurityCriticalDataForSet<Uri> _browserSource; 336private static SecurityCriticalDataForSet<Uri>? _siteOfOriginForClickOnceApp; 347protected override PackagePart CreatePartCore(Uri uri, string contentType, CompressionOption compressionOption) 352protected override void DeletePartCore(Uri uri)
Core\CSharp\MS\Internal\AppModel\SiteOfOriginPart.cs (3)
42internal SiteOfOriginPart(Package container, Uri uri) : 153if (SecurityHelper.AreStringTypesEqual(_absoluteLocation.Scheme, Uri.UriSchemeFile)) 232Uri _absoluteLocation = null;
Core\CSharp\MS\Internal\FontCache\CanonicalFontFamilyReference.cs (9)
37public static CanonicalFontFamilyReference Create(Uri baseUri, string normalizedString) 44Uri absoluteUri = null; 56if (Uri.TryCreate(locationString, UriKind.Absolute, out absoluteUri)) 64resolved = Uri.TryCreate(baseUri, locationString, out absoluteUri); 70string unescapeFamilyName = Uri.UnescapeDataString(escapedFamilyName); 123public Uri LocationUri 171private CanonicalFontFamilyReference(Uri absoluteLocationUri, string familyName) 205private Uri _absoluteLocationUri; 207private static readonly CanonicalFontFamilyReference _unresolved = new CanonicalFontFamilyReference((Uri)null, string.Empty);
Core\CSharp\MS\Internal\FontCache\DWriteFactory.cs (3)
83private static Text.TextInterface.FontCollection GetFontCollectionFromFileOrFolder(Uri fontCollectionUri, bool isFolder) 128internal static Text.TextInterface.FontCollection GetFontCollectionFromFolder(Uri fontCollectionUri) 139internal static Text.TextInterface.FontCollection GetFontCollectionFromFile(Uri fontCollectionUri)
Core\CSharp\MS\Internal\FontCache\FamilyCollection.cs (7)
58private Uri _folderUri; 216Uri criticalSxSFontsLocation = new Uri(FamilyCollection.SxSFontsLocation); 410private FamilyCollection(Uri folderUri, MS.Internal.Text.TextInterface.FontCollection fontCollection) 428internal static FamilyCollection FromUri(Uri folderUri) 449internal static FamilyCollection FromWindowsFonts(Uri folderUri) 790internal FontFamily[] GetFontFamilies(Uri fontFamilyBaseUri, string fontFamilyLocationReference) 835private FontFamily CreateFontFamily(CompositeFontFamily compositeFontFamily, Uri fontFamilyBaseUri, string fontFamilyLocationReference)
Core\CSharp\MS\Internal\FontCache\FontCacheUtil.cs (12)
532private static readonly Uri _windowsFontsUriObject; 537internal static Uri WindowsFontsUriObject 614char unescapedChar = Uri.HexUnescape(s, ref i); 646internal static bool IsSupportedSchemeForAbsoluteFontFamilyUri(Uri absoluteUri) 653internal static void SplitFontFaceIndex(Uri fontUri, out Uri fontSourceUri, out int faceIndex) 680internal static Uri CombineUriWithFaceIndex(string fontUri, int faceIndex) 712internal static bool IsEnumerableFontUriScheme(Uri fontLocation) 732Uri fileUri; 733if (Uri.TryCreate(fontLocation, fakeFileName, out fileUri)) 743internal static bool IsAppSpecificUri(Uri fontLocation) 753internal static string GetUriExtension(Uri uri)
Core\CSharp\MS\Internal\FontCache\FontResourceCache.cs (2)
51internal static List<string> LookupFolder(Uri uri) 102private static bool IsFolderUri(Uri uri)
Core\CSharp\MS\Internal\FontCache\FontSource.cs (7)
69public FontSource(Uri fontUri, bool skipDemand) 78public FontSource(Uri fontUri, bool skipDemand, bool isComposite) 87private void Initialize(Uri fontUri, bool skipDemand, bool isComposite) 146public Uri Uri 499private Uri _fontUri; 508private static SizeLimitedCache<Uri, byte[]> _resourceCache = new SizeLimitedCache<Uri, byte[]>(MaximumCacheItems);
Core\CSharp\MS\Internal\FontCache\FontSourceCollection.cs (4)
66public FontSourceCollection(Uri folderUri, bool isWindowsFonts) 75public FontSourceCollection(Uri folderUri, bool isWindowsFonts, bool tryGetCompositeFontsOnly) 90private void Initialize(Uri folderUri, bool isWindowsFonts, bool tryGetCompositeFontsOnly) 330private Uri _uri;
Core\CSharp\MS\Internal\FontFace\FontDriver.cs (3)
140internal TrueTypeFontDriver(UnmanagedMemoryStream unmanagedMemoryStream, Uri sourceUri) 258private Uri SourceUri 313private Uri _sourceUri;
Core\CSharp\MS\Internal\FontFace\FontFamilyIdentifier.cs (7)
88internal FontFamilyIdentifier(string friendlyName, Uri baseUri) 137internal Uri BaseUri 401public BasedFriendlyName(Uri baseUri, string name) 424public BasedNormalizedName(Uri baseUri, string name) 449private Uri _baseUri; 452protected BasedName(Uri baseUri, string name) 484private Uri _baseUri;
Core\CSharp\MS\Internal\IO\Packaging\ByteRangeDownloader.cs (6)
67internal ByteRangeDownloader(Uri requestedUri, string tempFileName, SafeWaitHandle eventHandle) 95internal ByteRangeDownloader(Uri requestedUri, Stream tempStream, SafeWaitHandle eventHandle, Mutex fileMutex) 455private ByteRangeDownloader(Uri requestedUri, SafeWaitHandle eventHandle) 463if (String.Compare(requestedUri.Scheme, Uri.UriSchemeHttp, StringComparison.Ordinal) != 0 464&& String.Compare(requestedUri.Scheme, Uri.UriSchemeHttps, StringComparison.Ordinal) != 0) 949private Uri _requestedUri; // url to be downloaded
Core\CSharp\MS\Internal\IO\Packaging\DeobfuscatingStream.cs (2)
200internal DeobfuscatingStream(Stream obfuscatedStream, Uri streamUri, bool leaveOpen) 209Uri partUri = PackUriHelper.GetPartUri(streamUri);
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (4)
92Uri uri, 114if (fullStreamLength > 0 && ((String.Compare(uri.Scheme, Uri.UriSchemeHttp, StringComparison.Ordinal) == 0) || 115(String.Compare(uri.Scheme, Uri.UriSchemeHttps, StringComparison.Ordinal) == 0))) 1349Uri _uri; // uri we are resolving
Core\CSharp\MS\Internal\IO\Packaging\PreloadedPackages.cs (6)
74internal static Package GetPackage(Uri uri) 87internal static Package GetPackage(Uri uri, out bool threadSafe) 118internal static void AddPackage(Uri uri, Package package) 132internal static void AddPackage(Uri uri, Package package, bool threadSafe) 154internal static void RemovePackage(Uri uri) 176private static void ValidateUriKey(Uri uri)
Core\CSharp\MS\Internal\IO\Packaging\PseudoWebRequest.cs (10)
52internal PseudoWebRequest(Uri uri, Uri packageUri, Uri partUri, Package cacheEntry) 301if (IsScheme(Uri.UriSchemeFtp)) 309if (IsScheme(Uri.UriSchemeFtp)) 351if (IsScheme(Uri.UriSchemeHttp)) 359if (IsScheme(Uri.UriSchemeFtp)) 371private Uri _uri; // pack uri 372private Uri _innerUri; // inner uri extracted from the pack uri 373private Uri _partName; // name of PackagePart (if any) - null for full-container references
Core\CSharp\MS\Internal\Shaping\TypefaceMap.cs (2)
626Uri baseUri = (canonicalFamilyReference != null) ? canonicalFamilyReference.LocationUri : null; 730Uri baseUri,
Core\CSharp\MS\Internal\WpfWebRequestHelper.cs (7)
63internal static WebRequest CreateRequest(Uri uri) 94Uri requestUri = BaseUriHelper.PackAppBaseUri.MakeRelativeUri(uri); 201internal static Stream CreateRequestAndGetResponseStream(Uri uri) 207internal static Stream CreateRequestAndGetResponseStream(Uri uri, out ContentType contentType) 214internal static WebResponse CreateRequestAndGetResponse(Uri uri) 245Uri requestUri = BaseUriHelper.PackAppBaseUri.MakeRelativeUri(request.RequestUri); 266Uri requestUri = BaseUriHelper.PackAppBaseUri.MakeRelativeUri(request.RequestUri);
Core\CSharp\System\IO\Packaging\PackageStore.cs (5)
77public static Package GetPackage(Uri uri) 111public static void AddPackage(Uri uri, Package package) 126Uri packUri = PackUriHelper.Create(uri); 166public static void RemovePackage(Uri uri) 186private static void ValidatePackageUri(Uri uri)
Core\CSharp\System\IO\Packaging\PackWebRequest.cs (12)
64internal PackWebRequest(Uri uri, Uri packageUri, Uri partUri) 80internal PackWebRequest(Uri uri, Uri packageUri, Uri partUri, Package cacheEntry, 406public override Uri RequestUri 602private Uri _uri; // pack uri 603private Uri _innerUri; // inner uri extracted from the pack uri 604private Uri _partName; // name of PackagePart (if any) - null for full-container references 618static private Uri _siteOfOriginUri = PackUriHelper.GetPackageUri(System.Windows.Navigation.BaseUriHelper.SiteOfOriginBaseUri); 619static private Uri _appBaseUri = PackUriHelper.GetPackageUri(System.Windows.Navigation.BaseUriHelper.PackAppBaseUri);
Core\CSharp\System\IO\Packaging\PackWebRequestFactory.cs (4)
71WebRequest IWebRequestCreate.Create(Uri uri) 95Uri packageUri; 96Uri partUri; 162internal static WebRequest CreateWebRequest(Uri uri)
Core\CSharp\System\IO\Packaging\PackWebResponse.cs (10)
81internal PackWebResponse(Uri uri, Uri innerUri, Uri partName, WebRequest innerRequest) 149internal PackWebResponse(Uri uri, Uri innerUri, Uri partName, Package cacheEntry, 361public override Uri ResponseUri 984private Uri _uri; // full uri 985private Uri _innerUri; // inner uri 986private Uri _partName; // path to stream
Core\CSharp\System\Windows\Diagnostics\XamlSourceInfo.cs (2)
24public Uri SourceUri { get; private set; } 36public XamlSourceInfo(Uri sourceUri, int lineNumber, int linePosition)
Core\CSharp\System\Windows\Diagnostics\XamlSourceInfoHelper.cs (5)
85if (s_sourceBamlUriProperty == null || s_sourceBamlUriProperty.PropertyType != typeof(Uri) || 98internal static void SetXamlSourceInfo(object obj, XamlObjectEventArgs args, Uri overrideSourceUri) 102Uri sourceUri = overrideSourceUri ?? (Uri)s_sourceBamlUriProperty.GetValue(args); 110internal static void SetXamlSourceInfo(object obj, Uri sourceUri, int elementLineNumber, int elementLinePosition)
Core\CSharp\System\Windows\Input\CursorConverter.cs (1)
181Uri finalUri = BindUriHelper.GetResolvedUri(uriHolder.BaseUri, uriHolder.OriginalUri);
Core\CSharp\System\Windows\Media\Color.cs (4)
45private static Color FromProfile(Uri profileUri) 75public static Color FromAValues(float a, float[] values, Uri profileUri) 115public static Color FromValues(float[] values, Uri profileUri) 308Uri safeUnescapedUri = new Uri(context.ProfileUri.GetComponents(UriComponents.SerializationInfoString, UriFormat.SafeUnescaped),
Core\CSharp\System\Windows\Media\ColorContext.cs (9)
189public ColorContext(Uri profileUri) 289public Uri ProfileUri 294Uri uri = _profileUri.Value; 586private void Initialize(Uri profileUri, bool isStandardProfileUriNotFromUser) 600_profileUri = new SecurityCriticalData<Uri>(profileUri); 655private static Uri GetStandardColorSpaceProfile() 665Uri profilePath; 668if (!Uri.TryCreate(profilePathString, UriKind.Absolute, out profilePath)) 916private SecurityCriticalData<Uri> _profileUri;
Core\CSharp\System\Windows\Media\Effects\Generated\PixelShader.cs (4)
111public Uri UriSource 115return (Uri) GetValue(UriSourceProperty); 294internal static Uri s_UriSource = null; 322typeof(Uri),
Core\CSharp\System\Windows\Media\Effects\PixelShader.cs (2)
92Uri newUri = (Uri)e.NewValue;
Core\CSharp\System\Windows\Media\FontEmbeddingManager.cs (9)
58_collectedGlyphTypefaces = new Dictionary<Uri, Dictionary<ushort, bool>>(_uriComparer); 83Uri glyphTypeface = glyphRun.GlyphTypeface.FontUri; 103public ICollection<Uri> GlyphTypefaceUris 120public ICollection<ushort> GetUsedGlyphs(Uri glyphTypeface) 132private class UriComparer : IEqualityComparer<Uri> 136public bool Equals(Uri x, Uri y) 143public int GetHashCode(Uri obj) 163private Dictionary<Uri, Dictionary<ushort, bool>> _collectedGlyphTypefaces;
Core\CSharp\System\Windows\Media\FontFamily.cs (3)
94public FontFamily(Uri baseUri, string familyName) 207public Uri BaseUri 550Uri locationUri = new Uri(Util.WindowsFontsUriObject, canonicalFamilyReference.EscapedFileName);
Core\CSharp\System\Windows\Media\FontFamilyConverter.cs (1)
104Uri baseUri = null;
Core\CSharp\System\Windows\Media\Fonts.cs (8)
74public static ICollection<FontFamily> GetFontFamilies(Uri baseUri) 98public static ICollection<FontFamily> GetFontFamilies(Uri baseUri, string location) 105Uri fontLocation; 106if (!string.IsNullOrEmpty(location) && Uri.TryCreate(location, UriKind.Absolute, out fontLocation)) 169public static ICollection<Typeface> GetTypefaces(Uri baseUri) 192public static ICollection<Typeface> GetTypefaces(Uri baseUri, string location) 258Uri fontLocation, 259Uri fontFamilyBaseUri,
Core\CSharp\System\Windows\Media\Generated\MediaTimeline.cs (4)
98public Uri Source 102return (Uri) GetValue(SourceProperty); 205internal static Uri s_Source = null; 232typeof(Uri),
Core\CSharp\System\Windows\Media\GlyphTypeface.cs (10)
70public GlyphTypeface(Uri typefaceSource) : this(typefaceSource, StyleSimulations.None) 79public GlyphTypeface(Uri typefaceSource, StyleSimulations styleSimulations) 109_originalUri = new SecurityCriticalDataClass<Uri>(Util.CombineUriWithFaceIndex(uriPath, checked((int)fontFaceDWrite.Index))); 116Uri typefaceSource = new Uri(uriPath); 140private void Initialize(Uri typefaceSource, StyleSimulations styleSimulations) 149_originalUri = new SecurityCriticalDataClass<Uri>(typefaceSource); 152Uri fontSourceUri; 392public Uri FontUri 412_originalUri = new SecurityCriticalDataClass<Uri>(value); 2379private SecurityCriticalDataClass<Uri> _originalUri;
Core\CSharp\System\Windows\Media\ImageSourceConverter.cs (2)
50if (sourceType == typeof(string) || sourceType == typeof(Stream) || sourceType == typeof(Uri) || sourceType == typeof(byte[])) 118if (((value is string) && (!string.IsNullOrEmpty((string)value))) || (value is Uri))
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (22)
85Uri bitmapUri, 204Uri baseUri, 205Uri uri, 285Uri baseUri, 286Uri uri, 298Uri finalUri = null; 332((finalUri.Scheme == Uri.UriSchemeHttp) || 333(finalUri.Scheme == Uri.UriSchemeHttps))) 507Uri bitmapUri, 524Uri bitmapUri, 987Uri uri = new Uri(_baseUri, _uri); 1146Uri uri, 1170Debug.Assert((uri.Scheme == Uri.UriSchemeHttp) || (uri.Scheme == Uri.UriSchemeHttps)); 1218else if (uri.Scheme == Uri.UriSchemeHttp) // for http 1222else if (uri.Scheme == Uri.UriSchemeHttps) // for https 1366private static Stream ProcessHttpsFiles(Uri uri, Stream stream) 1400private static Stream ProcessHttpFiles(Uri uri, Stream stream) 1445private static Stream ProcessUncFiles(Uri uri) 1616Uri uri, 1951internal Uri _uri; 1954internal Uri _baseUri;
Core\CSharp\System\Windows\Media\Imaging\BitmapDownload.cs (4)
50internal Uri inputUri; 106Uri uri, 216if (uri.Scheme == Uri.UriSchemeHttp || uri.Scheme == Uri.UriSchemeHttps)
Core\CSharp\System\Windows\Media\Imaging\BitmapFrame.cs (7)
64Uri baseUri, 65Uri uri, 119Uri bitmapUri 132Uri bitmapUri, 159Uri bitmapUri, 176Uri bitmapUri, 348public abstract Uri BaseUri { get; set; }
Core\CSharp\System\Windows\Media\Imaging\BitmapFrameDecode.cs (1)
188public override Uri BaseUri
Core\CSharp\System\Windows\Media\Imaging\BitmapFrameEncode.cs (1)
86public override Uri BaseUri
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (9)
54public BitmapImage(Uri uriSource) 65public BitmapImage(Uri uriSource, RequestCachePolicy uriCachePolicy) 120public Uri BaseUri 253private BitmapImage CheckCache(Uri uri) 279private void InsertInCache(Uri uri) 314Uri uri = UriSource; 670_uriSource = e.NewValue as Uri; 926private Uri _baseUri; 936private Uri _uriSource;
Core\CSharp\System\Windows\Media\Imaging\BmpBitmapDecoder.cs (3)
52Uri bitmapUri, 89Uri baseUri, 90Uri uri,
Core\CSharp\System\Windows\Media\Imaging\Generated\BitmapImage.cs (4)
182public Uri UriSource 186return (Uri) GetValue(UriSourceProperty); 482internal static Uri s_UriSource = null; 525typeof(Uri),
Core\CSharp\System\Windows\Media\Imaging\GifBitmapDecoder.cs (3)
52Uri bitmapUri, 89Uri baseUri, 90Uri uri,
Core\CSharp\System\Windows\Media\Imaging\IconBitmapDecoder.cs (3)
52Uri bitmapUri, 89Uri baseUri, 90Uri uri,
Core\CSharp\System\Windows\Media\Imaging\ImagingCache.cs (9)
42internal static void AddToImageCache(Uri uri, object obj) 48internal static void RemoveFromImageCache(Uri uri) 54internal static object CheckImageCache(Uri uri) 60internal static void AddToDecoderCache(Uri uri, object obj) 66internal static void RemoveFromDecoderCache(Uri uri) 72internal static object CheckDecoderCache(Uri uri) 78private static void AddToCache(Uri uri, object obj, Hashtable table) 120private static void RemoveFromCache(Uri uri, Hashtable table) 133private static object CheckCache(Uri uri, Hashtable table)
Core\CSharp\System\Windows\Media\Imaging\JpegBitmapDecoder.cs (3)
52Uri bitmapUri, 89Uri baseUri, 90Uri uri,
Core\CSharp\System\Windows\Media\Imaging\LateBoundBitmapDecoder.cs (5)
57Uri baseUri, 58Uri uri, 74Uri uriToDecode = (_baseUri != null) ? new Uri(_baseUri, _uri) : _uri; 77if (uriToDecode.Scheme == Uri.UriSchemeHttp || 78uriToDecode.Scheme == Uri.UriSchemeHttps)
Core\CSharp\System\Windows\Media\Imaging\PngBitmapDecoder.cs (3)
52Uri bitmapUri, 89Uri baseUri, 90Uri uri,
Core\CSharp\System\Windows\Media\Imaging\TiffBitmapDecoder.cs (3)
52Uri bitmapUri, 89Uri baseUri, 90Uri uri,
Core\CSharp\System\Windows\Media\Imaging\UnknownBitmapDecoder.cs (2)
80Uri baseUri, 81Uri uri,
Core\CSharp\System\Windows\Media\Imaging\WmpBitmapDecoder.cs (3)
52Uri bitmapUri, 89Uri baseUri, 90Uri uri,
Core\CSharp\System\Windows\Media\MediaClock.cs (2)
208Uri baseUri = ((IUriContext)Timeline).BaseUri; 210Uri toPlay = null;
Core\CSharp\System\Windows\Media\MediaPlayer.cs (3)
173public Uri Source 474Uri source 905Uri source
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (15)
296internal Uri Source 762Uri source 951private void OpenMedia(Uri source) 975Uri appBase = SecurityHelper.GetBaseDirectory(AppDomain.CurrentDomain); 978Uri uriToOpen = ResolveUri(source, appBase); 984if (SecurityHelper.AreStringTypesEqual(uriToOpen.Scheme, Uri.UriSchemeHttps)) 987Uri appDeploymentUri = SecurityHelper.ExtractUriForClickOnceDeployedApp(); 988if (!SecurityHelper.AreStringTypesEqual(appDeploymentUri.Scheme, Uri.UriSchemeHttps)) 1047private Uri ResolveUri(Uri uri, Uri appBase) 1067private string DemandPermissions(Uri absoluteUri) 1108if (absoluteUri.Scheme != Uri.UriSchemeHttps) 1207Uri source 1391private Uri _sourceUri;
Core\CSharp\System\Windows\Media\MediaTimeline.cs (4)
47public MediaTimeline(Uri source) : this() 57internal MediaTimeline(ITypeDescriptorContext context, Uri source) : this() 111Uri IUriContext.BaseUri 272private Uri _baseUri = null;
Core\CSharp\System\Windows\Media\Parsers.cs (1)
135Uri profileUri;
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (39)
46private static readonly Uri _siteOfOriginBaseUri = PackUriHelper.Create(new Uri(SOOBASE)); 48private static readonly Uri _packAppBaseUri = PackUriHelper.Create(new Uri(APPBASE)); 50private static SecurityCriticalDataForSet<Uri> _baseUri; 70_baseUri = new SecurityCriticalDataForSet<Uri>(_packAppBaseUri); 87typeof(Uri), 107public static Uri GetBaseUri(DependencyObject element) 109Uri baseUri = GetBaseUriCore(element); 150static internal Uri SiteOfOriginBaseUri 159static internal Uri PackAppBaseUri 171internal static bool IsPackApplicationUri(Uri uri) 196internal static void GetAssemblyAndPartNameFromPackAppUri(Uri uri, out Assembly assembly, out string partName) 204Uri partUri = new Uri(uri.AbsolutePath, UriKind.Relative); 267internal static void GetAssemblyNameAndPart(Uri uri, out string partName, out string assemblyName, out string assemblyVersion, out string assemblyKey) 323assemblyName = Uri.UnescapeDataString(assemblyInfo[0]); 364string assemblyName = Uri.UnescapeDataString(assemblyInfo[0]); 382static internal Uri GetResolvedUri(Uri baseUri, Uri orgUri) 388static internal Uri MakeRelativeToSiteOfOriginIfPossible(Uri sUri) 390if (Uri.Compare(sUri, SiteOfOriginBaseUri, UriComponents.Scheme, UriFormat.UriEscaped, StringComparison.OrdinalIgnoreCase) == 0) 392Uri packageUri; 393Uri partUri; 406static internal Uri ConvertPackUriToAbsoluteExternallyVisibleUri(Uri packUri) 410Uri relative = MakeRelativeToSiteOfOriginIfPossible(packUri); 427static internal Uri FixFileUri(Uri uri) 429if (uri != null && uri.IsAbsoluteUri && SecurityHelper.AreStringTypesEqual(uri.Scheme, Uri.UriSchemeFile) && 430string.Compare(uri.OriginalString, 0, Uri.UriSchemeFile, 0, Uri.UriSchemeFile.Length, StringComparison.OrdinalIgnoreCase) != 0) 441static internal Uri BaseUri 481static internal Uri AppendAssemblyVersion(Uri uri, Assembly assemblyInfo) 483Uri source = null; 484Uri baseUri = null; 580internal static Uri GetBaseUriCore(DependencyObject element) 582Uri baseUri = null; 601baseUri = doCurrent.GetValue(BaseUriProperty) as Uri;
Shared\MS\Internal\MimeTypeMapper.cs (5)
22static internal ContentType GetMimeTypeFromUri(Uri uriSource) 28Uri uri = uriSource; 86static private ContentType GetMimeTypeFromUrlMon(Uri uriSource) 117static private string GetDocument(Uri uri) 143static internal string GetFileExtension(Uri uri)
Shared\MS\Internal\SecurityHelper.cs (21)
410internal static Uri GetBaseDirectory(AppDomain domain) 412Uri appBase = null; 426internal static Uri ExtractUriForClickOnceDeployedApp() 443internal static void BlockCrossDomainForHttpsApps(Uri uri) 446Uri appDeploymentUri = ExtractUriForClickOnceDeployedApp(); 447if (appDeploymentUri != null && appDeploymentUri.Scheme == Uri.UriSchemeHttps) 469internal static void EnforceUncContentAccessRules(Uri contentUri) 475Uri appUri = SecurityHelper.ExtractUriForClickOnceDeployedApp(); 489bool isIntranetHttpsApp = (appZone == MS.Win32.NativeMethods.URLZONE_INTRANET && appUri.Scheme == Uri.UriSchemeHttps); 501internal static int MapUrlToZoneWrapper(Uri uri) 568Uri siteOfOrigin = SiteOfOriginContainer.SiteOfOrigin; 570if (siteOfOrigin.Scheme == Uri.UriSchemeFile) 574else if (siteOfOrigin.Scheme == Uri.UriSchemeHttp) 710internal static void DemandUriDiscoveryPermission(Uri uri) 721internal static CodeAccessPermission CreateUriDiscoveryPermission(Uri uri) 727if (uri.GetType().IsSubclassOf(typeof(Uri))) 743internal static CodeAccessPermission CreateUriReadPermission(Uri uri) 749if (uri.GetType().IsSubclassOf(typeof(Uri))) 765internal static void DemandUriReadPermission(Uri uri) 1311internal static bool CallerHasWebPermission( Uri uri ) 1328internal static void DemandWebPermission( Uri uri )
Shared\MS\Utility\BindUriHelper.cs (11)
60internal static string UriToString(Uri uri) 79static internal Uri BaseUri 92static internal bool DoSchemeAndHostMatch(Uri first, Uri second) 98static internal Uri GetResolvedUri(Uri baseUri, Uri orgUri) 100Uri newUri; 110Uri baseuri = (baseUri == null) ? BindUriHelper.BaseUri : baseUri; 159internal static string GetReferer(Uri destinationUri) 163Uri sourceUri = MS.Internal.AppModel.SiteOfOriginContainer.BrowserSource;
Shared\MS\Win32\WinInet.cs (1)
20internal static Uri InternetCacheFolder
Shared\System\Windows\Media\TypeConverterHelper.cs (4)
31internal Uri BaseUri; 36internal Uri OriginalUri; 74Debug.Assert(inputString is Uri); 75uriHolder.OriginalUri = (Uri)inputString;
PresentationFramework (614)
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (8)
81internal SecurityCriticalDataForSet<Uri> ActivationUri; 294Uri absUri = currentApp.StartupUri; 1069internal Uri Uri 1096internal void SetDebugSecurityZoneURL(Uri debugSecurityZoneURL) 1217private SecurityCriticalDataForSet<Uri> _criticalUri; 1302internal BrowserJournal(Journal journal, Uri baseUri) 1315internal Uri BaseUri 1323private Uri _baseUri;
src\Framework\MS\Internal\AppModel\AppModelKnownContentFactory.cs (4)
43internal static object BamlConverter(Stream stream, Uri baseUri, bool canUseTopLevelBrowser, bool sandboxExternalContent, bool allowAsync, bool isJournalNavigation, out XamlReader asyncObjectConverter) 55Uri partUri = PackUriHelper.GetPartUri(baseUri); 81internal static object XamlConverter(Stream stream, Uri baseUri, bool canUseTopLevelBrowser, bool sandboxExternalContent, bool allowAsync, bool isJournalNavigation, out XamlReader asyncObjectConverter) 131internal static object HtmlXappConverter(Stream stream, Uri baseUri, bool canUseTopLevelBrowser, bool sandboxExternalContent, bool allowAsync, bool isJournalNavigation, out XamlReader asyncObjectConverter)
src\Framework\MS\Internal\AppModel\AppSecurityManager.cs (21)
66internal static void SafeLaunchBrowserDemandWhenUnsafe( Uri originatingUri, Uri destinationUri, bool fIsTopLevel ) 85internal static LaunchResult SafeLaunchBrowserOnlyIfPossible(Uri originatingUri, Uri destinationUri, bool fIsTopLevel) 108internal static LaunchResult SafeLaunchBrowserOnlyIfPossible(Uri originatingUri, Uri destinationUri, string targetName, bool fIsTopLevel ) 112bool isKnownScheme = (Object.ReferenceEquals(destinationUri.Scheme, Uri.UriSchemeHttp)) || 113(Object.ReferenceEquals(destinationUri.Scheme, Uri.UriSchemeHttps)) || 116bool fIsMailTo = String.Compare(destinationUri.Scheme, Uri.UriSchemeMailto, StringComparison.OrdinalIgnoreCase) == 0 ; 176internal static void UnsafeLaunchBrowser(Uri uri, string targetFrame = null) 202internal static void ShellExecuteDefaultBrowser(Uri uri) 215if (uri.Scheme != Uri.UriSchemeHttp && uri.Scheme != Uri.UriSchemeHttps) 234private static string GetHeaders(Uri destinationUri) 262private static LaunchResult CanNavigateToUrlWithZoneCheck( Uri originatingUri, Uri destinationUri ) 281Uri sourceUri = null; 406private static LaunchResult CheckBlockNavigation(Uri originatingUri, Uri destinationUri, bool fEnabled ) 444private static bool IsZoneElevationSettingPrompt( Uri target ) 554internal static int MapUrlToZone(Uri url)
src\Framework\MS\Internal\AppModel\ContentFilePart.cs (5)
49internal ContentFilePart(Package container, Uri uri) : 84Uri codeBase = GetEntryAssemblyLocation(); 97Uri file = new Uri(codeBase, filePath); 131private Uri GetEntryAssemblyLocation() 133Uri entryLocation = null;
src\Framework\MS\Internal\AppModel\DeploymentExceptionMapper.cs (2)
65out Uri fwlinkUri) 245static internal bool ConstructFwlinkUrl(string version, out Uri fwlinkUri)
src\Framework\MS\Internal\AppModel\IContentContainer.cs (3)
26void OnContentReady(ContentType contentType, Object content, Uri uri, Object navState); 30void OnNavigationProgress(Uri uri, long bytesRead, long maxBytes); 33void OnStreamClosed(Uri uri);
src\Framework\MS\Internal\AppModel\INavigator.cs (4)
58Uri Source 69Uri CurrentSource 91bool Navigate(Uri source); 102bool Navigate(Uri source, Object extraData);
src\Framework\MS\Internal\AppModel\Journaling.cs (6)
161internal JournalEntryUri(JournalEntryGroupState jeGroupState, Uri uri) 202internal JournalEntryKeepAlive(JournalEntryGroupState jeGroupState, Uri uri, object keepAliveRoot) 799internal JournalEntryPageFunctionUri(JournalEntryGroupState jeGroupState, PageFunctionBase pageFunction, Uri markupUri) 809_markupUri = (Uri)info.GetValue("_markupUri", typeof(Uri)); 875private Uri _markupUri;
src\Framework\MS\Internal\AppModel\JournalNavigationScope.cs (4)
85public Uri Source 90public Uri CurrentSource 100public bool Navigate(Uri source) 104public bool Navigate(Uri source, object extraData)
src\Framework\MS\Internal\AppModel\MimeObjectFactory.cs (2)
27internal delegate object StreamToObjectFactoryDelegate(Stream s, Uri baseUri, bool canUseTopLevelBrowser, bool sandboxExternalContent, bool allowAsync, bool isJournalNavigation, out XamlReader asyncObjectConverter); 41internal static object GetObjectAndCloseStream(Stream s, ContentType contentType, Uri baseUri, bool canUseTopLevelBrowser, bool sandboxExternalContent, bool allowAsync, bool isJournalNavigation, out XamlReader asyncObjectConverter)
src\Framework\MS\Internal\AppModel\PresentationAppDomainManager.cs (9)
65Uri activationUri = GetUriFromActivationData(0); 138Uri debugSecurityZoneURL = GetUriFromActivationData(2); 176internal static PermissionSet AddPermissionForUri(PermissionSet originalPermSet, Uri srcUri) 222private Uri GetUriFromActivationData(int index) 224Uri uri = null; 396internal static Uri ActivationUri 402internal static Uri DebugSecurityZoneURL 425private static Uri _activationUri; 426private static Uri _debugSecurityZoneURL;
src\Framework\MS\Internal\AppModel\ProgressPage.cs (1)
83public Uri DeploymentPath
src\Framework\MS\Internal\AppModel\RequestStatusBarUpdateEventArgs.cs (1)
49internal RequestSetStatusBarEventArgs(Uri targetUri)
src\Framework\MS\Internal\AppModel\ResourceContainer.cs (5)
135public override bool PartExists(Uri uri) 218protected override PackagePart GetPartCore(Uri uri) 341private ResourceManagerWrapper GetResourceManagerWrapper(Uri uri, out string partName, out bool isContentFile) 429protected override PackagePart CreatePartCore(Uri uri, string contentType, CompressionOption compressionOption) 434protected override void DeletePartCore(Uri uri)
src\Framework\MS\Internal\AppModel\ResourcePart.cs (1)
53public ResourcePart(Package container, Uri uri, string name, ResourceManagerWrapper rmWrapper) :
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
1129Uri source = BrowserInteropHelper.Source;
src\Framework\MS\Internal\AppModel\XappLauncher.cs (4)
34internal XappLauncherApp(Uri deploymentManifest, string applicationId, 671private void HandleError(Exception exception, string logFilePath, Uri supportUri, string requiredWpfVersion) 1294Uri _deploymentManifest; 1295Uri _fwlinkUri;
src\Framework\MS\Internal\Controls\WebBrowserEvent.cs (4)
108Uri source = String.IsNullOrEmpty(urlString) ? null : new Uri(urlString); 218private static bool IsAllowedScriptScheme(Uri uri) 271Uri source = (String.IsNullOrEmpty(urlString) ? null : new Uri(urlString)); 300Uri source = (String.IsNullOrEmpty(urlString) ? null : new Uri(urlString));
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (2)
749public Uri BaseUri 808private Uri _cachedBaseUri;
src\Framework\MS\Internal\DataStreams.cs (1)
159if ((currentValue != null) && !(currentValue is Uri))
src\Framework\MS\Internal\IO\Packaging\PackageFilter.cs (2)
505private string GetFilterClsid(ContentType contentType, Uri partUri) 604private string GetPartExtension(Uri partUri)
src\Framework\MS\Internal\Navigation\BindStream.cs (2)
35Uri uri, IContentContainer cc, Dispatcher callbackDispatcher) 485Uri _uri;
src\Framework\MS\Internal\Utility\BindUriHelper.cs (16)
49static private Uri placeboBase = new Uri(PLACEBOURI); 52static internal Uri GetResolvedUri(Uri originalUri) 94static internal Uri GetUriToNavigate(DependencyObject element, Uri baseUri, Uri inputUri) 96Uri uriToNavigate = inputUri; 124Uri currentSource = null; 169static internal bool StartWithFragment(Uri uri) 175static internal string GetFragment(Uri uri) 177Uri workuri = uri; 201static internal Uri GetUriRelativeToPackAppBase(Uri original) 208Uri resolved = GetResolvedUri(original); 209Uri packUri = BaseUriHelper.PackAppBaseUri; 210Uri relative = packUri.MakeRelativeUri(resolved);
src\Framework\System\Windows\Annotations\Storage\XmlStreamStore.cs (36)
68_predefinedNamespaces = new Dictionary<Uri, IList<Uri>>(6); 111public XmlStreamStore(Stream stream, IDictionary<Uri, IList<Uri>> knownNamespaces) 418public static IList<Uri> GetWellKnownCompatibleNamespaces(Uri name) 486public IList<Uri> IgnoredNamespaces 497public static IList<Uri> WellKnownNamespaces 501Uri[] res = new Uri[_predefinedNamespaces.Keys.Count]; 753private void LoadStream(IDictionary<Uri, IList<Uri>> knownNamespaces) 797private void CheckKnownNamespaces(IDictionary<Uri, IList<Uri>> knownNamespaces) 802IList<Uri> allNamespaces = new List<Uri>(); 805foreach (Uri name in _predefinedNamespaces.Keys) 811foreach (Uri knownNamespace in knownNamespaces.Keys) 825foreach (KeyValuePair<Uri, IList<Uri>> item in knownNamespaces) 829foreach (Uri name in item.Value) 853private XmlCompatibilityReader SetupReader(IDictionary<Uri, IList<Uri>> knownNamespaces) 858foreach (Uri name in _predefinedNamespaces.Keys) 866foreach (Uri knownNamespace in knownNamespaces.Keys) 881foreach (KeyValuePair<Uri, IList<Uri>> item in knownNamespaces) 885foreach (Uri name in item.Value) 916if (!Uri.IsWellFormedUriString(xmlNamespace, UriKind.RelativeOrAbsolute)) 920Uri namespaceUri = new Uri(xmlNamespace, UriKind.RelativeOrAbsolute); 1028private void SetStream(Stream stream, IDictionary<Uri, IList<Uri>> knownNamespaces) 1072List<Uri> _ignoredNamespaces = new List<Uri>(); 1083private static readonly Dictionary<Uri, IList<Uri>> _predefinedNamespaces;
src\Framework\System\Windows\Application.cs (30)
455public static void LoadComponent(Object component, Uri resourceLocator) 473Uri currentUri = new Uri(BaseUriHelper.PackAppBaseUri, resourceLocator); 548public static object LoadComponent(Uri resourceLocator) 579internal static object LoadComponent(Uri resourceLocator, bool bSkipJournaledProperties) 591Uri packUri = BindUriHelper.GetResolvedUri(BaseUriHelper.PackAppBaseUri, resourceLocator); 700public static StreamResourceInfo GetResourceStream(Uri uriResource) 738public static StreamResourceInfo GetContentStream(Uri uriContent) 771public static StreamResourceInfo GetRemoteStream(Uri uriRemote) 789Uri resolvedUri = BindUriHelper.GetResolvedUri(BaseUriHelper.SiteOfOriginBaseUri, uriRemote); 793Uri packageUri; 794Uri partUri; 855public static string GetCookie(Uri uri) 868public static void SetCookie(Uri uri, string value) 1100public Uri StartupUri 1661Uri relativeUri = BindUriHelper.GetUriRelativeToPackAppBase(StartupUri); 2181internal Uri ApplicationMarkupBaseUri 2254private static PackagePart GetResourceOrContentPart(Uri uri) 2259Uri packAppUri = BaseUriHelper.PackAppBaseUri; 2260Uri resolvedUri = BindUriHelper.GetResolvedUri(packAppUri, uri); 2264Uri packageUri; 2265Uri partUri; 2290private static Package GetResourcePackage(Uri packageUri) 2295Uri packUri = PackUriHelper.Create(packageUri); 2532private void ConfigAppWindowAndRootElement(object root, Uri uri) 2656private static bool IsComponentBeingLoadedFromOuterLoadBaml(Uri curComponentUri) 2786private Uri _startupUri; 2787private Uri _applicationMarkupBaseUri; 2877internal NestedBamlLoadInfo(Uri uri, Stream stream, bool bSkipJournalProperty) 2889internal Uri BamlUri 2917private Uri _BamlUri = null;
src\Framework\System\Windows\ColorConvertedBitmapExtension.cs (5)
106Uri imageUri = GetResolvedUri(_image); 107Uri sourceProfileUri = GetResolvedUri(_sourceProfile); 108Uri destinationProfileUri = GetResolvedUri(_destinationProfile); 141private Uri GetResolvedUri(string uri) 153Uri _baseUri;
src\Framework\System\Windows\Controls\AVElementHelper.cs (7)
76_source = new SettableState<Uri>(null); 130internal Uri BaseUri 692Uri 694Uri sourceUri 744_source._value = (Uri)e.NewValue; 860private Uri _baseUri; 875SettableState<Uri> _source;
src\Framework\System\Windows\Controls\CustomDictionarySources.cs (39)
24/// Collection of <see cref="Uri"/> objects representing local file system or UNC paths. 38internal class CustomDictionarySources : IList<Uri>, IList 50_uriList = new List<Uri>(); 64public IEnumerator<Uri> GetEnumerator() 85int IList<Uri>.IndexOf(Uri item) 98void IList<Uri>.Insert(int index, Uri item) 114void IList<Uri>.RemoveAt(int index) 116Uri uri = _uriList[index]; 132Uri IList<Uri>.this[int index] 141Uri oldUri = _uriList[index]; 163void ICollection<Uri>.Add(Uri item) 177void ICollection<Uri>.Clear() 186bool ICollection<Uri>.Contains(Uri item) 191void ICollection<Uri>.CopyTo(Uri[] array, int arrayIndex) 196int ICollection<Uri>.Count 204bool ICollection<Uri>.IsReadOnly 208return ((ICollection<Uri>)_uriList).IsReadOnly; 212bool ICollection<Uri>.Remove(Uri item) 233((IList<Uri>)this).Add((Uri)value); 234return _uriList.IndexOf((Uri)value); 239((IList<Uri>)this).Clear(); 254((IList<Uri>)this).Insert(index, (Uri)value); 275((IList<Uri>)this).Remove((Uri)value); 280((IList<Uri>)this).RemoveAt(index); 291((IList<Uri>)this)[index] = (Uri)value; 306get { return ((IList<Uri>)this).Count; } 362private static void ValidateUri(Uri item) 384private readonly List<Uri> _uriList;
src\Framework\System\Windows\Controls\DataGridColumn.cs (1)
1185else if (typeof(Uri).IsAssignableFrom(propertyType))
src\Framework\System\Windows\Controls\Frame.cs (12)
178Uri IUriContext.BaseUri 193protected virtual Uri BaseUri 197return (Uri)GetValue(BaseUriHelper.BaseUriProperty); 248typeof(Uri), 251(Uri) null, 293Uri uriToNavigate = BindUriHelper.GetUriToNavigate(frame, ((IUriContext)frame).BaseUri, (Uri)e.NewValue); 322public Uri Source 324get { return (Uri) GetValue(SourceProperty); } 894public bool Navigate(Uri source) 912public bool Navigate(Uri source, Object extraData) 1002public Uri CurrentSource
src\Framework\System\Windows\Controls\Image.cs (4)
279Uri IUriContext.BaseUri 294protected virtual Uri BaseUri 298return (Uri)GetValue(BaseUriHelper.BaseUriProperty); 487Uri baseUri = BaseUriHelper.GetBaseUriCore(d);
src\Framework\System\Windows\Controls\MediaElement.cs (4)
132typeof(Uri), 221public Uri Source 223get { return (Uri)GetValue(SourceProperty); } 685Uri IUriContext.BaseUri
src\Framework\System\Windows\Controls\SoundPlayerAction.cs (8)
68typeof(Uri), 76public Uri Source 78get { return (Uri)GetValue(SourceProperty); } 86soundPlayerAction.OnSourceChangedHelper((Uri)e.NewValue); 96private void OnSourceChangedHelper(Uri newValue) 181private delegate Stream LoadStreamCaller(Uri uri); 186private Stream LoadStreamAsync(Uri uri) 267private Uri m_lastRequestedAbsoluteUri;
src\Framework\System\Windows\Controls\WebBrowser.cs (6)
202public void Navigate(Uri source) 225public void Navigate(Uri source, string targetFrameName, byte[] postData, string additionalHeaders) 249Uri uri = new Uri(source); 412Uri currentSource = Source; 523public Uri Source 1167private void DoNavigate(Uri source, ref object targetFrameName, ref object postData, ref object headers, bool ignoreEscaping = false)
src\Framework\System\Windows\Data\XmlDataProvider.cs (7)
75public Uri Source 246Uri IUriContext.BaseUri 255protected virtual Uri BaseUri 360Uri sourceUri = this.Source; 363Uri baseUri = (_baseUri != null) ? _baseUri : BindUriHelper.BaseUri; 844private Uri _source; 845private Uri _baseUri;
src\Framework\System\Windows\Data\XmlNamespaceMapping.cs (3)
35public XmlNamespaceMapping(string prefix, Uri uri) 63public Uri Uri 160private Uri _uri;
src\Framework\System\Windows\Data\XmlNamespaceMappingCollection.cs (1)
240Uri uri = new Uri(ns, UriKind.RelativeOrAbsolute);
src\Framework\System\Windows\Documents\DocumentReference.cs (13)
149typeof(Uri), 152(Uri) null, 163Uri oldSource = (Uri) e.OldValue; 164Uri newSource = (Uri) e.NewValue; 180public Uri Source 182get { return (Uri) GetValue(SourceProperty); } 191Uri IUriContext.BaseUri 193get { return (Uri)GetValue(BaseUriHelper.BaseUriProperty); } 270private Uri _ResolveUri() 272Uri uriToNavigate = this.Source; 290Uri uriToLoad = _ResolveUri();
src\Framework\System\Windows\Documents\DocumentSequence.cs (2)
506Uri IUriContext.BaseUri 508get { return (Uri) GetValue(BaseUriHelper.BaseUriProperty); }
src\Framework\System\Windows\Documents\FixedDocument.cs (13)
199Uri IUriContext.BaseUri 201get { return (Uri) GetValue(BaseUriHelper.BaseUriProperty); } 904Uri baseUri = BaseUriHelper.GetBaseUri(this); 912Uri structureUri = GetStructureUriFromRelationship(baseUri, _structureRelationshipName); 932Uri baseUri = BaseUriHelper.GetBaseUri(fixedPage); 940Uri structureUri = GetStructureUriFromRelationship(baseUri, _storyFragmentsRelationshipName); 962private static object ValidateAndLoadPartFromAbsoluteUri(Uri AbsoluteUriDoc, bool validateOnly, string rootElement, out ContentType mimeType) 1007static private Uri GetStructureUriFromRelationship(Uri contentUri, string relationshipName) 1009Uri absTargetUri = null; 1012Uri partUri = PackUriHelper.GetPartUri(contentUri); 1015Uri packageUri = PackUriHelper.GetPackageUri(contentUri); 1031Uri targetUri = null;
src\Framework\System\Windows\Documents\FixedElement.cs (3)
260link.NavigateUri = GetValue(NavigateUriProperty) as Uri; 305Uri source = _object as Uri;
src\Framework\System\Windows\Documents\FixedPage.cs (17)
339public static Uri GetNavigateUri(UIElement element) 342return (Uri)element.GetValue(NavigateUriProperty); 350public static void SetNavigateUri(UIElement element, Uri uri) 362Uri IUriContext.BaseUri 364get { return (Uri) GetValue(BaseUriHelper.BaseUriProperty); } 562typeof(Uri), 565(Uri) null, 616internal static bool CanNavigateToUri(Uri uri) 621uri.Scheme == Uri.UriSchemeHttp || 622uri.Scheme == Uri.UriSchemeHttps || 623uri.Scheme == Uri.UriSchemeMailto || // Automation will request navigation to pack Uris when automating links withing a document 634internal static Uri GetLinkUri(IInputElement element, Uri inputUri) 659Uri workuri = inputUri; 692Uri baseUri = BaseUriHelper.GetBaseUri(dpo); 693Uri absoluteUri = BindUriHelper.GetUriToNavigate(dpo, baseUri, inputUri); 1125Uri startPartUri = ((IUriContext)docSequence).BaseUri;
src\Framework\System\Windows\Documents\FixedSchema.cs (22)
74Uri packageUri, 75Uri baseUri 131Uri packageUri, 132Uri baseUri) 168Uri targetUri = PackUriHelper.ResolvePartUri(_baseUri, new Uri(uriAttr, UriKind.Relative)); 169Uri absTargetUri = PackUriHelper.Create(_packageUri, targetUri); 227private Uri _packageUri; 228private Uri _baseUri; 271public virtual void ValidateRelationships(SecurityCriticalData<Package> package, Uri packageUri, Uri partUri, ContentType mimeType) 578public override void ValidateRelationships(SecurityCriticalData<Package> package, Uri packageUri, Uri partUri, ContentType mimeType) 596Uri targetUri = PackUriHelper.ResolvePartUri(partUri, rel.TargetUri); 597Uri absTargetUri = PackUriHelper.Create(packageUri, targetUri); 618Uri targetUri = PackUriHelper.ResolvePartUri(partUri, rel.TargetUri); 619Uri absTargetUri = PackUriHelper.Create(packageUri, targetUri); 638Uri targetUri = PackUriHelper.ResolvePartUri(partUri, rel.TargetUri); 639Uri absTargetUri = PackUriHelper.Create(packageUri, targetUri); 666Uri targetUri = PackUriHelper.ResolvePartUri(partUri, rel.TargetUri); 667Uri absTargetUri = PackUriHelper.Create(packageUri, targetUri); 689Uri targetUri = PackUriHelper.ResolvePartUri(partUri, rel.TargetUri); 690Uri absTargetUri = PackUriHelper.Create(packageUri, targetUri);
src\Framework\System\Windows\Documents\FixedSOMImage.cs (5)
35private FixedSOMImage(Rect imageRect, GeneralTransform trans, Uri sourceUri, FixedNode node, DependencyObject o) : base(node, trans) 56Uri imageUri = null; 77Uri imageUri = null; 119internal Uri Source 142private Uri _source;
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (1)
421private Uri _fontUri;
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (10)
1215public LogicalHyperlink(Uri uri, Geometry geom, UIElement uiElement) 1224public Uri Uri 1270private Uri _uri; 1294public void AddLogicalHyperlink(Uri uri, Geometry geometry, UIElement uiElement) 1303public Uri GetUri(FixedSOMElement element, FixedPage p, out UIElement shadowElement) 1313Uri relUri = FixedPage.GetNavigateUri(e); 1447Uri navUri = FixedPage.GetNavigateUri(child); 1500Uri navUri = _logicalHyperlinkContainer.GetUri(element, page, out shadowHyperlink); 1759private void _SetHyperlink(Uri navUri, FixedNode node, UIElement shadowHyperlink) 1834private Uri _currentNavUri;
src\Framework\System\Windows\Documents\Glyphs.cs (6)
97Uri IUriContext.BaseUri 101return (Uri)GetValue(BaseUriHelper.BaseUriProperty); 328Uri uri = FontUri; 912DependencyProperty.Register( "FontUri", typeof(Uri), typeof(Glyphs), 918public Uri FontUri 922return (Uri)GetValue(FontUriProperty);
src\Framework\System\Windows\Documents\Hyperlink.cs (18)
334typeof(Uri), 337(Uri)null, 381public Uri NavigateUri 385return (Uri)GetValue(NavigateUriProperty); 537private static SecurityCriticalDataForSet<Uri> s_cachedNavigateUri; 564private static void CacheNavigateUri(DependencyObject d, Uri targetUri) 586private static void NavigateToUri(IInputElement sourceElement, Uri targetUri, string targetWindow) 599Uri cachedUri = Hyperlink.s_cachedNavigateUri.Value; 647Uri targetUri = (Uri)dObject.GetValue(GetNavigateUriProperty(element)); 783Uri IUriContext.BaseUri 798protected virtual Uri BaseUri 802return (Uri)GetValue(BaseUriHelper.BaseUriProperty); 939Uri navigateUri = (Uri)e.NewValue; 1221Uri inputUri = (Uri)dObject.GetValue(GetNavigateUriProperty(element)); 1232internal static void RaiseNavigate(IInputElement element, Uri targetUri, string targetWindow)
src\Framework\System\Windows\Documents\NLGSpellerInterop.cs (1)
365internal override object LoadDictionary(Uri item, string trustedFolder)
src\Framework\System\Windows\Documents\PageContent.cs (13)
147Uri uriToLoad = _ResolveUri(); 239typeof(Uri), 242(Uri) null, 254public Uri Source 256get { return (Uri) GetValue(SourceProperty); } 330Uri IUriContext.BaseUri 334return (Uri)GetValue(BaseUriHelper.BaseUriProperty); 396Uri uriToLoad = _ResolveUri(); 514private Uri _ResolveUri() 516Uri uriToNavigate = this.Source; 556Uri uriToLoad = _ResolveUri(); 613internal static void _LoadPageImpl(Uri baseUri, Uri uriToLoad, out FixedPage fixedPage, out Stream pageStream)
src\Framework\System\Windows\Documents\PageContentAsyncResult.cs (4)
57internal PageContentAsyncResult(AsyncCallback callback, object state, Dispatcher dispatcher, Uri baseUri, Uri source, FixedPage child) 273private Uri _baseUri; 274private Uri _source;
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (1)
8423if (!Uri.IsWellFormedUriString(pictureUri, UriKind.Absolute))
src\Framework\System\Windows\Documents\Serialization\ISerializerFactory.cs (1)
49Uri ManufacturerWebsite
src\Framework\System\Windows\Documents\Serialization\SerializerDescriptor.cs (2)
278public Uri ManufacturerWebsite 398private Uri _manufacturerWebsite;
src\Framework\System\Windows\Documents\Speller.cs (19)
305foreach (Uri item in dictionaryLocations) 354internal void OnDictionaryUriAdded(Uri uri) 369Uri pathUri; 394internal void OnDictionaryUriRemoved(Uri uri) 477private Dictionary<Uri, DictionaryInfo> UriMap 484_uriMap = new Dictionary<Uri, DictionaryInfo>(); 1636private static Uri ResolvePathUri(Uri uri) 1638Uri fileUri; 1663private void LoadDictionaryFromPackUri(Uri item) 1666Uri tempLocationUri; 1701private void CleanupDictionaryTempFile(Uri tempLocationUri) 1738private static Uri LoadPackFile(Uri uri) 1742Uri resolvedUri = MS.Internal.Utility.BindUriHelper.GetResolvedUri(BaseUriHelper.PackAppBaseUri, uri); 2063internal DictionaryInfo(Uri pathUri, object lexicon) 2072internal Uri PathUri 2108private readonly Uri _pathUri; 2200private Dictionary<Uri, DictionaryInfo> _uriMap;
src\Framework\System\Windows\Documents\SpellerInteropBase.cs (1)
208internal abstract object LoadDictionary(Uri item, string trustedFolder);
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (1)
287internal override object LoadDictionary(Uri item, string trustedFolder)
src\Framework\System\Windows\Documents\WpfPayload.cs (8)
341Uri payloadUri = new Uri("payload://wpf" + newWpfPayoutCount, UriKind.Absolute); 342Uri entryPartUri = PackUriHelper.Create(payloadUri, xamlEntryPart.Uri); // gives an absolute uri of the entry part 343Uri packageUri = PackUriHelper.GetPackageUri(entryPartUri); // extracts package uri from combined package+part uri 488Uri imagePartUri = new Uri(XamlPayloadDirectory + imagePartUriString, UriKind.Relative); 724Uri imagePartUri = new Uri(XamlPayloadDirectory + imagePartUriString, UriKind.Relative); 743Uri imagePartUri = new Uri(XamlPayloadDirectory + imageSourceString, UriKind.Relative); 808Uri entryPartUri = new Uri(XamlPayloadDirectory + XamlEntryName, UriKind.Relative); 854Uri entryPartUri = entryPartRelationship.TargetUri;
src\Framework\System\Windows\Documents\XPSS0ValidatingLoader.cs (11)
30internal object Load(Stream stream, Uri parentUri, ParserContext pc, ContentType mimeType) 35internal void Validate(Stream stream, Uri parentUri, ParserContext pc, ContentType mimeType, string rootElement) 56private object Load(Stream stream, Uri parentUri, ParserContext pc, ContentType mimeType, string rootElement) 70Uri uri = pc.BaseUri; 74Uri packageUri; 75Uri partUri; 80Uri parentPackageUri = null; 112Uri targetUri = PackUriHelper.ResolvePartUri(partUri, relationShip.TargetUri); 113Uri absTargetUri = PackUriHelper.Create(packageUri, targetUri); 177internal void UriHitHandler(int node,Uri uri) 201foreach (Uri resUri in validResources.Keys)
src\Framework\System\Windows\Interop\BrowserInteropHelper.cs (1)
157public static Uri Source
src\Framework\System\Windows\Interop\DocobjHost.cs (6)
279Uri activationUri = new UriBuilder(path).Uri; 848Uri requestedUri = new Uri(url, UriKind.Absolute); 972private ApplicationProxyInternal CreateAppDomainForLooseXaml(Uri uri) 1450Uri _deploymentManifest; 1453SecurityCriticalDataForSet<Uri> _debugSecurityZoneURL = new SecurityCriticalDataForSet<Uri>(null);
src\Framework\System\Windows\Interop\IErrorPage.cs (2)
16Uri DeploymentPath { get; set;} 41Uri SupportUri { get; set;}
src\Framework\System\Windows\Interop\IProgressPage.cs (1)
14Uri DeploymentPath { get; set;}
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (2)
76case 1: assembly = typeof(System.Uri).Assembly; break; 796case 704: t = () => typeof(Uri); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (2)
7487typeof(System.Uri), // type 7492bamlMember.SetDelegate = delegate(object target, object value) { ((System.Windows.ResourceDictionary)target).Source = (System.Uri)value; };
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10822typeof(System.Uri),
src\Framework\System\Windows\Markup\Baml2006\WpfSharedBamlSchemaContext.cs (1)
110case 1: assembly = new Baml6Assembly(typeof(System.Uri).Assembly); break;
src\Framework\System\Windows\Markup\BamlRecordReader.cs (3)
4409Uri GetBaseUri( ) 4412Uri baseuri = ParserContext.BaseUri; 4533Uri baseuri = GetBaseUri();
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6248case KnownElements.Uri: t = typeof(System.Uri); break;
src\Framework\System\Windows\Markup\ParserContext.cs (3)
383public Uri BaseUri 483Uri sameUri = new Uri(serializedSafe); 848private Uri _baseUri;
src\Framework\System\Windows\Markup\ProvideValueServiceProvider.cs (1)
72Uri IUriContext.BaseUri
src\Framework\System\Windows\Markup\WpfXamlLoader.cs (4)
17public static object Load(System.Xaml.XamlReader xamlReader, bool skipJournaledProperties, Uri baseUri) 26bool skipJournaledProperties, Object rootObject, XamlObjectWriterSettings parentSettings, Uri baseUri) 34Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) 68bool skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
src\Framework\System\Windows\Markup\XamlParseException.cs (6)
129internal XamlParseException(string message, int lineNumber, int linePosition, Uri baseUri, Exception innerException) 210public Uri BaseUri 291internal static string GetMarkupFilePath(Uri resourceUri) 331Uri baseUri, 434Uri baseUri, 569Uri _baseUri = null;
src\Framework\System\Windows\Markup\XamlReader.cs (8)
219internal static bool ShouldReWrapException(Exception e, Uri baseUri) 406internal static void RewrapException(Exception e, Uri baseUri) 411internal static void RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) 416internal static XamlParseException WrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) 908Uri baseUri = (uriContext != null) ? uriContext.BaseUri : null; 1085static Uri GetBaseUri(Uri uri) 1117private Uri _baseUri;
src\Framework\System\Windows\Navigation\JournalEntry.cs (8)
106internal JournalEntry(JournalEntryGroupState jeGroupState, Uri uri) 123_source = (Uri)info.GetValue("_source", typeof(Uri)); 239public Uri Source 363internal static string GetDisplayName(Uri uri, Uri siteOfOrigin) 376Uri relative = BaseUriHelper.MakeRelativeToSiteOfOriginIfPossible(uri); 490private Uri _source;
src\Framework\System\Windows\Navigation\NavigatingCancelEventArgs.cs (3)
39Uri uri, Object content, CustomContentState customContentState, 56public Uri Uri 165 private Uri _uri;
src\Framework\System\Windows\Navigation\NavigationEventArgs.cs (3)
35internal NavigationEventArgs(Uri uri, Object content, Object extraData, WebResponse response, object Navigator, bool isNavigationInitiator) 48public Uri Uri 122private Uri _uri;
src\Framework\System\Windows\Navigation\NavigationFailedEventArgs.cs (3)
36internal NavigationFailedEventArgs(Uri uri, Object extraData, Object navigator, WebRequest request, WebResponse response, Exception e) 49public Uri Uri 127Uri _uri;
src\Framework\System\Windows\Navigation\NavigationProgressEventArgs.cs (3)
36internal NavigationProgressEventArgs(Uri uri, long bytesRead, long maxBytes, object Navigator) 47public Uri Uri 87Uri _uri;
src\Framework\System\Windows\Navigation\NavigationService.cs (61)
120Uri bpu = e.Uri; 243static private bool IsSameUri(Uri baseUri, Uri a, Uri b, bool withFragment) 254Uri aResolved = BindUriHelper.GetResolvedUri(baseUri, a); 255Uri bResolved = BindUriHelper.GetResolvedUri(baseUri, b); 282private void NavigateToFragmentOrCustomContentState(Uri uri, object navState) 335Uri resolvedUri = BindUriHelper.GetResolvedUri(_currentSource, uri); 560private bool ShouldDelegateXamlViewerNavigationToBrowser(NavigateInfo navigateInfo, Uri resolvedUri) 590Uri source = _currentSource; 892private void SetBaseUri(DependencyObject dobj, Uri fullUri) 896Uri curBaseUri; 901curBaseUri = (Uri)(dobj.GetValue(BaseUriHelper.BaseUriProperty)); 909Uri baseUri = fullUri; 1003private bool HookupNewTree(Object newTree, NavigateInfo navInfo, Uri newUri) 1125private bool OnBeforeSwitchContent(Object newBP, NavigateInfo navInfo, Uri newUri) 1274void IContentContainer.OnContentReady(ContentType contentType, Object bp, Uri bpu, Object navState) 1307Uri bpuClean = BindUriHelper.GetUriRelativeToPackAppBase(bpu); 1397void IContentContainer.OnNavigationProgress(Uri sourceUri, long bytesRead, long maxBytes) 1446void IContentContainer.OnStreamClosed(Uri sourceUri) 1504public Uri Source 1545public Uri CurrentSource 1640public bool Navigate(Uri source) 1661public bool Navigate(Uri source, Object navigationState) 1670public bool Navigate(Uri source, Object navigationState, bool sandboxExternalContent) 1680internal bool Navigate(Uri source, Object navigationState, bool sandboxExternalContent, bool navigateOnSourceChanged) 1701Uri resolvedSource = null; 1843Uri source = navigateInfo == null ? null : navigateInfo.Source; 2210private bool FireNavigating(Uri source, Object bp, Object navState, WebRequest request) 2213Uri cleanSource = BindUriHelper.GetUriRelativeToPackAppBase(source); 2279private bool HandleNavigating(Uri source, Object content, Object navState, WebRequest newRequest, bool navigateOnSourceChanged) 2552private void FireNavigationProgress(Uri source) 2845internal void DoNavigate(Uri source, NavigationMode f, Object navState) 2870Uri requestUri = BindUriHelper.GetUriRelativeToPackAppBase(_request.RequestUri); 2955private WebRequest CreateWebRequest(Uri resolvedDestinationUri, NavigateInfo navInfo) 3131private void GetObjectFromResponse(WebRequest request, WebResponse response, Uri destinationUri, Object navState) 3143Uri requestUri = BindUriHelper.GetUriRelativeToPackAppBase(_request.RequestUri); 3150Uri cleanSource = BindUriHelper.GetUriRelativeToPackAppBase(destinationUri); 3242private void DelegateToBrowser(bool isPack, Uri destinationUri) 3317Uri source = navigateInfo == null ? null : navigateInfo.Source; 3320Uri resolvedSource = BindUriHelper.GetResolvedUri(null, source); 3462Uri baseUri = pfBase.GetValue(BaseUriHelper.BaseUriProperty) as Uri; 3468Uri markupUri; 4360private Uri _currentSource; 4361private Uri _currentCleanSource; 4479internal RequestState(WebRequest request, Uri source, Object navState, Dispatcher callbackDispatcher) 4495internal Uri Source 4520private Uri _source; 4536internal BPReadyEventArgs(Object content, Uri uri) 4554internal Uri Uri 4563Uri _uri; 4571internal NavigateInfo(Uri source) 4576internal NavigateInfo(Uri source, NavigationMode navigationMode) 4582internal NavigateInfo(Uri source, NavigationMode navigationMode, JournalEntry journalEntry) 4589internal Uri Source 4626private Uri _source; 4642internal PageFunctionReturnInfo(PageFunctionBase finishingChildPageFunction, Uri source, NavigationMode navigationMode, JournalEntry journalEntry, object returnEventArgs) 4668internal NavigateQueueItem(Uri source, object content, NavigationMode mode, Object navState, NavigationService nc) 4705internal Uri Source 4740Uri _source;
src\Framework\System\Windows\Navigation\NavigationWindow.cs (11)
279public bool Navigate(Uri source) 295public bool Navigate(Uri source, Object extraData) 424Uri IUriContext.BaseUri 428return (Uri)GetValue(BaseUriHelper.BaseUriProperty); 596(Uri)null, 616Uri uriToNavigate = BindUriHelper.GetUriToNavigate(navWin, d.GetValue(BaseUriHelper.BaseUriProperty) as Uri, (Uri)e.NewValue); 653public Uri Source 655get { return (Uri)GetValue(SourceProperty); } 664public Uri CurrentSource
src\Framework\System\Windows\Navigation\RequestNavigateEventArgs.cs (3)
22Uri _uri; 40public RequestNavigateEventArgs(Uri uri, string target) : base() 55public Uri Uri
src\Framework\System\Windows\ResourceDictionary.cs (13)
136public Uri Source 153Uri sourceUri; 175Uri uri = BindUriHelper.GetResolvedUri(_baseUri, sourceUri); 195Uri classicResourceUri = ThemeDictionaryExtension.GenerateFallbackUri(this, SystemResources.ClassicResourceName); 208Uri genericResourceUri = ThemeDictionaryExtension.GenerateFallbackUri(this, SystemResources.GenericResourceName); 319Uri System.Windows.Markup.IUriContext.BaseUri 1401Uri baseUri = (_rootElement is IUriContext) ? ((IUriContext)_rootElement).BaseUri : _baseUri; 2556public ResourceDictionarySourceUriWrapper(Uri originalUri, Uri versionedUri) : base(originalUri.OriginalString, UriKind.RelativeOrAbsolute) 2562internal Uri OriginalUri 2568internal Uri VersionedUri 2598private Uri _source = null; 2599private Uri _baseUri = null;
src\Framework\System\Windows\Standard\Verify.cs (1)
228public static void UriIsAbsolute(Uri uri, string parameterName)
src\Framework\System\Windows\SystemResources.cs (5)
912private ResourceDictionary LoadDictionary(Assembly assembly, string assemblyName, string resourceName, bool isTraceEnabled, out Uri dictionarySourceUri) 964Uri streamUri = null; 966if (Uri.TryCreate(packUri, UriKind.Absolute, out streamUri)) 1031private Uri _themedDictionarySourceUri; 1032private Uri _genericDictionarySourceUri;
src\Framework\System\Windows\TemplateContent.cs (1)
1232type == typeof(string) || type == typeof(Uri) || type == typeof(Type)
src\Framework\System\Windows\ThemeDictionaryExtension.cs (3)
27[MarkupExtensionReturnType(typeof(Uri))] 113private static Uri GenerateUri(string assemblyName, string resourceName, string themeName) 134internal static Uri GenerateFallbackUri(ResourceDictionary dictionary, string resourceName)
src\Shared\MS\Utility\BindUriHelper.cs (11)
60internal static string UriToString(Uri uri) 79static internal Uri BaseUri 92static internal bool DoSchemeAndHostMatch(Uri first, Uri second) 98static internal Uri GetResolvedUri(Uri baseUri, Uri orgUri) 100Uri newUri; 110Uri baseuri = (baseUri == null) ? BindUriHelper.BaseUri : baseUri; 159internal static string GetReferer(Uri destinationUri) 163Uri sourceUri = MS.Internal.AppModel.SiteOfOriginContainer.BrowserSource;
SMSvcHost (21)
System\ServiceModel\Activation\DupHandleConnectionReader.cs (2)
57protected abstract bool CanDupHandle(out Uri viaString); 88Uri via = null;
System\ServiceModel\Activation\ListenerSessionConnection.cs (3)
16Uri via; 20internal ListenerSessionConnection(IConnection connection, byte[] data, Uri via, 30internal Uri Via { get { return via; } }
System\ServiceModel\Activation\ListenerSessionConnectionReader.cs (1)
22protected override bool CanDupHandle(out Uri via)
System\ServiceModel\Activation\ListenerSingletonConnectionReader.cs (1)
22protected override bool CanDupHandle(out Uri via)
System\ServiceModel\Activation\MessageQueue.cs (2)
415if (path.BaseAddress.Scheme == Uri.UriSchemeNetTcp) 425else if (path.BaseAddress.Scheme == Uri.UriSchemeNetPipe)
System\ServiceModel\Activation\MsmqActivation.cs (2)
492object AddQueueToGroup(Uri queue) 572public QueueMonitor(Uri uri, QueueMonitorGroup group)
System\ServiceModel\Activation\NamedPipeActivation.cs (1)
19: base(ListenerConstants.NamedPipeActivationServiceName, Uri.UriSchemeNetPipe)
System\ServiceModel\Activation\RoutingTable.cs (6)
26Uri uri; 28internal MessageQueueAndPath(MessageQueue messageQueue, Uri uri) 35internal Uri Uri { get { return uri; } } 79internal static MessageQueue Lookup(Uri uri, IPAddress address, int port) 86Uri wildCardUri = uri; 196static IPEndPoint GetEndPoint(Uri path)
System\ServiceModel\Activation\SharingService.cs (1)
143Uri formattedUri = Utility.FormatListenerEndpoint(serviceName, listenerEndPoint);
System\ServiceModel\Activation\TcpActivation.cs (1)
18: base(ListenerConstants.TcpActivationServiceName, Uri.UriSchemeNetTcp)
System\ServiceModel\Activation\WorkerProcess.cs (1)
334bool IConnectionRegister.ValidateUriRoute(Uri uri, System.Net.IPAddress address, int port)
System (537)
compmod\microsoft\win32\NativeMethods.cs (1)
257Uri uri = new Uri(fileName);
compmod\microsoft\win32\SystemEvents.cs (2)
1261Uri codeBase = new Uri(ecb); 1270Uri exeUri = new Uri(executablePath);
compmod\system\componentmodel\design\DesigntimeLicenseContext.cs (3)
77Uri uri = new Uri(fileName); 89Uri licenseFile = null; 247static Stream OpenRead(Uri resourceUri) {
net\System\_DomainName.cs (2)
326bidiStrippedHost = Uri.StripBidiControlCharacter(hostname, start, end - start); 395string unescapedHostname = Uri.StripBidiControlCharacter(hostname, start, (end - start));
net\System\_IPv6Address.cs (2)
192if (havePrefix ? (name[i] >= '0' && name[i] <= '9') : Uri.IsHexDigit(name[i])) { 510number = number * 16 + Uri.FromHex(address[i++]);
net\System\_UriSyntax.cs (7)
394internal void InternalValidate(Uri thisUri, out UriFormatException parsingError) 400internal string InternalResolve(Uri thisBaseUri, Uri uriLink, out UriFormatException parsingError) 406internal bool InternalIsBaseOf(Uri thisBaseUri, Uri uriLink) 412internal string InternalGetComponents(Uri thisUri, UriComponents uriComponents, UriFormat uriFormat) 418internal bool InternalIsWellFormedOriginalString(Uri thisUri)
net\System\_UriTypeConverter.cs (11)
46if (typeof(Uri).IsAssignableFrom(sourceType)) 60if (destinationType == typeof(Uri)) 72Uri uri = value as Uri; 82Uri uri = value as Uri; 86ConstructorInfo ci = typeof(Uri).GetConstructor(BindingFlags.Public | BindingFlags.Instance, null, new Type[]{typeof(string), typeof(UriKind)}, null); 94if (uri != null && destinationType == typeof(Uri)) 104Uri temp; 106return Uri.TryCreate(str, m_UriKind, out temp); 108return value is Uri;
net\System\IriHelper.cs (4)
92return (component == (UriComponents)0) ? Uri.IsGenDelim(ch) : false; 167if (ch == Uri.c_DummyChar || ch == '%' || CheckIsReserved(ch, component) || UriHelper.IsNotSafeForUnescape(ch)) 213if (ch == Uri.c_DummyChar) 290if (!Uri.IsBidiControlCharacter(ch) || !UriParser.DontKeepUnicodeBidiFormattingCharacters)
net\System\Net\_AuthenticationManager2.cs (2)
148if (httpWebRequest.ChallengedUri.Scheme == Uri.UriSchemeHttps) 263public override void BindModule(Uri uri, Authorization response, IAuthenticationModule module)
net\System\Net\_AuthenticationManagerBase.cs (2)
221public abstract void BindModule(Uri uri, Authorization response, IAuthenticationModule module); 228protected static string generalize(Uri location)
net\System\Net\_AuthenticationManagerDefault.cs (2)
277if (httpWebRequest.ChallengedUri.Scheme == Uri.UriSchemeHttps) 410public override void BindModule(Uri uri, Authorization response, IAuthenticationModule module)
net\System\Net\_AuthenticationState.cs (2)
44internal Uri ChallengedUri; 96Uri newUri = IsProxyAuth ? httpWebRequest.ServicePoint.InternalAddress : httpWebRequest.GetRemoteResourceUri();
net\System\Net\_AutoWebProxyScriptEngine.cs (4)
27private Uri automaticConfigurationScript; 181internal Uri AutomaticConfigurationScript 205internal bool GetProxies(Uri destination, out IList<string> proxyList) 211internal bool GetProxies(Uri destination, out IList<string> proxyList, ref int syncStatus)
net\System\Net\_AutoWebProxyScriptWrapper.cs (2)
477bool Load(Uri scriptLocation, string script, Type helperType); 850internal bool Compile(Uri engineScriptLocation, string scriptBody, byte[] buffer)
net\System\Net\_Connection.cs (3)
1073if ((httpWebRequest.IsWebSocketRequest || httpWebRequest.Address.Scheme == Uri.UriSchemeHttps) && 1157if (request.Address.Scheme == Uri.UriSchemeHttps) { 3787private bool TunnelThroughProxy(Uri proxy, HttpWebRequest originalRequest, bool async) {
net\System\Net\_DigestClient.cs (5)
312Uri remoteUri = httpWebRequest.GetRemoteResourceUri(); 530internal Uri ChallengedUri; 1245wa[dp++] = Uri.HexLowerChars[rawbytes[i]>>4]; 1246wa[dp++] = Uri.HexLowerChars[rawbytes[i]&0x0F]; 1261digits[i] = Uri.HexLowerChars[randomBytes[i]&0x0F];
net\System\Net\_emptywebproxy.cs (4)
23public Uri GetProxy(Uri uri) { 27public bool IsBypassed(Uri uri) { 42ProxyChain IAutoWebProxy.GetProxies(Uri destination)
net\System\Net\_FtpControlStream.cs (6)
62private Uri m_ResponseUri; 776Uri uri, 854internal Uri ResponseUri { 936Uri baseUri = request.RequestUri; 966Uri newUri; 967if (!Uri.TryCreate(baseUri, escapedFilename, out newUri))
net\System\Net\_IAuthenticationManager.cs (1)
58void BindModule(Uri uri, Authorization response, IAuthenticationModule module);
net\System\Net\_ProxyChain.cs (22)
14ProxyChain GetProxies(Uri destination); 17internal abstract class ProxyChain : IEnumerable<Uri>, IDisposable 19private List<Uri> m_Cache = new List<Uri>(); 22private Uri m_Destination; 25protected ProxyChain(Uri destination) 30public IEnumerator<Uri> GetEnumerator() 47internal IEnumerator<Uri> Enumerator 55internal Uri Destination 84protected abstract bool GetNextProxy(out Uri proxy); 87private class ProxyEnumerator : IEnumerator<Uri> 99public Uri Current 153Uri nextProxy; 195private Uri[] m_ScriptProxies; 199internal ProxyScriptChain(WebProxy proxy, Uri destination) : 205protected override bool GetNextProxy(out Uri proxy) 240internal DirectProxy(Uri destination) : base(destination) { } 242protected override bool GetNextProxy(out Uri proxy) 257private Uri m_Proxy; 259internal StaticProxy(Uri destination, Uri proxy) : 269protected override bool GetNextProxy(out Uri proxy)
net\System\Net\_ServiceNameStore.cs (2)
126if (Uri.IsWellFormedUriString(uriPrefix, UriKind.Absolute)) 128Uri hostUri = new Uri(uriPrefix);
net\System\Net\_SpnDictionary.cs (1)
196Uri uri = new Uri(key);
net\System\Net\_WebProxyDataBuilder.cs (3)
72Uri scriptLocation = null; 73if (Uri.TryCreate(autoConfigUrl, UriKind.Absolute, out scriptLocation)) 88private static Uri ParseProxyUri(string proxyString) {
net\System\Net\AuthenticationManager.cs (2)
29Uri challengeUri, 250internal static void BindModule(Uri uri, Authorization response, IAuthenticationModule module)
net\System\Net\BaseWebProxyFinder.cs (1)
29public abstract bool GetProxies(Uri destination, out IList<string> proxyList);
net\System\Net\Cache\_RequestCacheProtocol.cs (1)
76internal CacheValidationStatus GetRetrieveStatus (Uri cacheUri, WebRequest request)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (2)
1498((object)ctx.Uri.Scheme == (object)Uri.UriSchemeHttp || 1499(object)ctx.Uri.Scheme == (object)Uri.UriSchemeHttps))
net\System\Net\Cache\RequestCacheManager.cs (6)
57if ((object)internedScheme == (object)Uri.UriSchemeHttp || (object)internedScheme == (object)Uri.UriSchemeHttps) 60if ((object)internedScheme == (object)Uri.UriSchemeFtp) 91else if (uriScheme == Uri.UriSchemeHttp || uriScheme == Uri.UriSchemeHttps) 93else if (uriScheme == Uri.UriSchemeFtp)
net\System\Net\Cache\RequestCacheValidator.cs (3)
77private Uri _Uri; 123protected internal Uri Uri {get {return _Uri;}} 192internal void FetchRequest(Uri uri, WebRequest request)
net\System\Net\Configuration\ProxyElement.cs (6)
64public Uri ScriptLocation 66get { return (Uri)this[this.scriptLocation]; } 78public Uri ProxyAddress 80get { return (Uri) this[this.proxyaddress]; } 103typeof(Uri), 121typeof(Uri),
net\System\Net\cookie.cs (5)
63Uri m_commentUri = null; 148public Uri CommentUri { 353internal bool VerifySetDefaults(CookieVariant variant, Uri uri, bool isLocalDomain, string localDomain, bool set_default, bool isThrow) { 1391Uri parsed; 1392if (Uri.TryCreate(CheckQuoted(m_tokenizer.Value), UriKind.Absolute, out parsed)) {
net\System\Net\cookiecontainer.cs (15)
234Uri uri; 239uriSb.Append(cookie.Secure ? Uri.UriSchemeHttps : Uri.UriSchemeHttp).Append(Uri.SchemeDelimiter); 259if (!Uri.TryCreate(uriSb.ToString(), UriKind.Absolute, out uri)) 599public void Add(Uri uri, Cookie cookie) { 617public void Add(Uri uri, CookieCollection cookies) { 632internal CookieCollection CookieCutter(Uri uri, string headerName, string setCookieHeader, bool isThrow) { 697public CookieCollection GetCookies(Uri uri) { 704internal CookieCollection InternalGetCookies(Uri uri) { 706bool isSecure = (uri.Scheme == Uri.UriSchemeHttps); 758private void BuildCookieCollectionFromDomainMatches(Uri uri, bool isSecure, int port, CookieCollection cookies, List<string> domainAttribute, bool matchOnlyPlainCookie) { 864public string GetCookieHeader(Uri uri) { 873internal string GetCookieHeader(Uri uri, out string optCookie2) { 898public void SetCookies(Uri uri, string cookieHeader) {
net\System\Net\CredentialCache.cs (8)
55public void Add(Uri uriPrefix, string authType, NetworkCredential cred) { 136public void Remove(Uri uriPrefix, string authType) { 187public NetworkCredential GetCredential(Uri uriPrefix, string authType) { 477internal Uri UriPrefix; 481internal CredentialKey(Uri uriPrefix, string authenticationType) { 487internal bool Match(Uri uri, string authenticationType) { 517internal bool IsPrefix(Uri uri, Uri prefixUri) {
net\System\Net\DNS.cs (4)
634Uri uri; 635if (Uri.TryCreate(Uri.UriSchemeHttp + Uri.SchemeDelimiter + host, UriKind.Absolute, out uri))
net\System\Net\filewebrequest.cs (8)
40Uri m_uri; 49internal FileWebRequest(Uri uri) 51if ((object)uri.Scheme != (object)Uri.UriSchemeFile) 68m_uri = (Uri)serializationInfo.GetValue("uri", typeof(Uri)); 96serializationInfo.AddValue("uri", m_uri, typeof(Uri)); 205public override Uri RequestUri { 555public WebRequest Create(Uri uri) {
net\System\Net\filewebresponse.cs (6)
27Uri m_uri; 31internal FileWebResponse(FileWebRequest request, Uri uri, FileAccess access, bool asyncHint) { 75m_uri = (Uri)serializationInfo.GetValue("uri", typeof(Uri)); 99serializationInfo.AddValue("uri", m_uri, typeof(Uri)); 135public override Uri ResponseUri {
net\System\Net\FtpWebRequest.cs (12)
191private readonly Uri m_Uri; 265RequestCachePolicy policy = RequestCacheManager.GetBinding(Uri.UriSchemeFtp).Policy; 274RequestCacheBinding binding = RequestCacheManager.GetBinding(Uri.UriSchemeFtp); 275RequestCacheManager.SetBinding(Uri.UriSchemeFtp, new RequestCacheBinding(binding.Cache, binding.Validator, value)); 351public override Uri RequestUri { 516internal FtpWebRequest(Uri uri) { 521if ((object)uri.Scheme != (object)Uri.UriSchemeFtp) 536username = Uri.UnescapeDataString(userInfo.Substring(0, index)); 538password = Uri.UnescapeDataString(userInfo.Substring(index, userInfo.Length - index)); 2041Uri cacheUri = RequestUri; 2044username = Uri.EscapeDataString(username); 2276public WebRequest Create(Uri uri) {
net\System\Net\FtpWebResponse.cs (3)
25private Uri m_ResponseUri; 36internal FtpWebResponse(Stream responseStream, long contentLength, Uri responseUri, FtpStatusCode statusCode, string statusLine, DateTime lastModified, string bannerMessage, string welcomeMessage, string exitMessage) { 167public override Uri ResponseUri {
net\System\Net\HttpListenerRequest.cs (7)
213private Uri m_RequestUri; 534public /* override */ Uri Url { 540public /* override */ Uri UrlReferrer { 546Uri urlReferrer; 547bool success = Uri.TryCreate(referrer, UriKind.RelativeOrAbsolute, out urlReferrer); 660private CookieCollection ParseCookies(Uri uri, string setCookieHeader) { 987private Uri RequestUri {
net\System\Net\HttpListenerRequestUriBuilder.cs (9)
48private Uri requestUri; 80public static Uri GetRequestUri(string rawUri, string cookedUriScheme, string cookedUriHost, 89private Uri Build() 118bool isValid = Uri.TryCreate(cookedUriScheme + Uri.SchemeDelimiter + cookedUriHost + cookedUriPath + 147isValid = Uri.TryCreate(cookedUriScheme + Uri.SchemeDelimiter + cookedUriHost + path + cookedUriQuery, 197requestUriString.Append(Uri.SchemeDelimiter); 208if (!Uri.TryCreate(requestUriString.ToString(), UriKind.Absolute, out requestUri))
net\System\Net\HttpWebRequest.cs (40)
187private Uri _HostUri; 205private Uri _Uri; 207private Uri _OriginUri; 701RequestCachePolicy policy = RequestCacheManager.GetBinding(Uri.UriSchemeHttp).Policy; 716RequestCacheBinding binding = RequestCacheManager.GetBinding(Uri.UriSchemeHttp); 717RequestCacheManager.SetBinding(Uri.UriSchemeHttp, new RequestCacheBinding(binding.Cache, binding.Validator, value)); 877(((object)_Uri.Scheme != (object)Uri.UriSchemeHttps && !IsWebSocketRequest) || (IsTunnelRequest)); 881internal Uri ChallengedUri { 972public override Uri RequestUri { // read-only 2397public Uri Address { 2461Uri hostUri; 4213Uri cacheUri = GetRemoteResourceUri(); 4714private static string GetSafeHostAndPort(Uri sourceUri, bool addDefaultPort, bool forcePunycode) { 4734private bool TryGetHostUri(string hostName, out Uri hostUri) 4743return Uri.TryCreate(sb.ToString(), UriKind.Absolute, out hostUri); 4778if ((object)_Uri.Scheme == (object)Uri.UriSchemeFtp) { 4907internal Uri GetRemoteResourceUri() { 4942bool isTunnelRequestForHttp = IsTunnelRequest && _OriginUri.Scheme == Uri.UriSchemeHttp; 5132internal HttpWebRequest(Uri uri, ServicePoint servicePoint) { 5181internal HttpWebRequest(Uri proxyUri, Uri requestUri, HttpWebRequest orginalRequest) : this(proxyUri, null) { 5230internal HttpWebRequest(Uri uri, bool returnResponseOnFailureStatusCode, string connectionGroupName, 5251internal HttpWebRequest(Uri uri, ServicePoint servicePoint, bool isWebSocketRequest, string connectionGroupName) 5305_OriginUri = (Uri)serializationInfo.GetValue("_OriginUri", typeof(Uri)); 5368serializationInfo.AddValue("_OriginUri", _OriginUri, typeof(Uri)); 5415if ((_Uri.Scheme == Uri.UriSchemeHttps) || IsTunnelRequest) { 5745Uri newUri; 5757if (newUri.Scheme == Uri.UriSchemeWs) 5760newUriBuilder.Scheme = Uri.UriSchemeHttp; 5763else if (newUri.Scheme == Uri.UriSchemeWss) 5766newUriBuilder.Scheme = Uri.UriSchemeHttps; 5771if (newUri.Scheme != Uri.UriSchemeHttp && newUri.Scheme != Uri.UriSchemeHttps) 5782Uri oldUri = _Uri; 5784_RedirectedToDifferentHost = Uri.Compare(_OriginUri, _Uri, UriComponents.HostAndPort, 5789Uri hostUri; 5878if(_OriginUri.Scheme == Uri.UriSchemeHttps) { 5926private bool HasRedirectPermission(Uri uri, ref Exception resultException) 5944private void CheckConnectPermission(Uri uri, bool needExecutionContext)
net\System\Net\HttpWebResponse.cs (6)
33private Uri m_Uri; 503internal HttpWebResponse(Uri responseUri, KnownHttpVerb verb, CoreResponseData coreData, string mediaType, 576m_Uri = (Uri)serializationInfo.GetValue("m_Uri", typeof(Uri)); 617serializationInfo.AddValue("m_Uri", m_Uri, typeof(Uri)); 690public override Uri ResponseUri { // read-only
net\System\Net\HybridWebProxyFinder.cs (1)
47public bool GetProxies(Uri destination, out IList<string> proxyList)
net\System\Net\ICredentials.cs (1)
38NetworkCredential GetCredential(Uri uri, String authType);
net\System\Net\Internal.cs (6)
418internal static readonly Uri[] EmptyUriArray = new Uri[0]; 1685public WebRequest Create( Uri Uri ) { 1709m_httpScheme = usingHttps ? Uri.UriSchemeHttps : Uri.UriSchemeHttp; 1730public WebRequest Create(Uri Uri)
net\System\Net\IntranetCredentialPolicy.cs (1)
78public virtual bool ShouldSendCredential(Uri challengeUri, WebRequest request, NetworkCredential credential, IAuthenticationModule authModule)
net\System\Net\iwebproxy.cs (3)
22Uri GetProxy( Uri destination ); 26bool IsBypassed(Uri host);
net\System\Net\IWebProxyFinder.cs (1)
11bool GetProxies(Uri destination, out IList<string> proxyList);
net\System\Net\IWebRequestCreate.cs (1)
27WebRequest Create(Uri uri);
net\System\Net\Logging.cs (1)
282if (obj is Uri || obj is System.Net.IPAddress || obj is System.Net.IPEndPoint) {
net\System\Net\mail\AlternateView.cs (1)
57public Uri BaseUri
net\System\Net\mail\Attachment.cs (3)
266internal Uri ContentLocation 270Uri uri; 271if (!Uri.TryCreate(part.ContentLocation, UriKind.RelativeOrAbsolute, out uri))
net\System\Net\mail\LinkedResource.cs (1)
45public Uri ContentLink
net\System\Net\mail\QEncodedStream.cs (1)
265else if (Uri.IsAsciiLetterOrDigit((char)buffer[cur]))
net\System\Net\NetWebProxyFinder.cs (9)
30private Uri engineScriptLocation; 31private Uri scriptLocation; 45public override bool GetProxies(Uri destination, out IList<string> proxyList) 215private AutoWebProxyState DownloadAndCompile(Uri location) 442Uri uri = null; 443bool tryParse = Uri.TryCreate("http://" + proxyAuthority, UriKind.Absolute, out uri); 495private static unsafe Uri SafeDetectAutoProxyUrl( 498Uri autoProxy = null; 521bool parsed = Uri.TryCreate(url, UriKind.Absolute, out autoProxy);
net\System\Net\NetworkCredential.cs (1)
231public NetworkCredential GetCredential(Uri uri, String authType) {
net\System\Net\ServicePoint.cs (6)
49private Uri m_Address; 107internal ServicePoint(Uri address, TimerThread.Queue defaultIdlingQueue, int defaultConnectionLimit, string lookupString, bool userChangedLimit, bool proxyServicePoint) { 176internal void SetCachedChannelBinding(Uri uri, ChannelBinding binding) 178if (uri.Scheme == Uri.UriSchemeHttps) 458public Uri Address { 474internal Uri InternalAddress
net\System\Net\ServicePointManager.cs (12)
628internal static string MakeQueryString(Uri address) { 635internal static string MakeQueryString(Uri address1, bool isProxy) { 652public static ServicePoint FindServicePoint(Uri address) { 662Uri uri = new Uri(uriString); 672/// <para>Findes an existing <see cref='System.Net.ServicePoint'/> or creates a new <see cref='System.Net.ServicePoint'/> to manage communications to the specified <see cref='System.Uri'/> 675public static ServicePoint FindServicePoint(Uri address, IWebProxy proxy) { 683internal static ServicePoint FindServicePoint(Uri address, IWebProxy proxy, out ProxyChain chain, ref HttpAbortDelegate abortDelegate, ref int abortState) 696Uri proxyAddress = null; 762Uri proxyAddress = chain.Enumerator.Current; 766private static ServicePoint FindServicePointHelper(Uri address, bool isProxyServicePoint) 772if (address.Scheme != Uri.UriSchemeHttp) 836/// <para>Findes an existing <see cref='System.Net.ServicePoint'/> or creates a new <see cref='System.Net.ServicePoint'/> to manage communications to the specified <see cref='System.Uri'/>
net\System\Net\webclient.cs (70)
38Uri m_baseAddress; 280protected virtual WebRequest GetWebRequest(Uri address) { 329public byte[] DownloadData(Uri address) { 348private byte[] DownloadDataInternal(Uri address, out WebRequest request) { 383public void DownloadFile(Uri address, string fileName) { 435public Stream OpenRead(Uri address) { 473public Stream OpenWrite(Uri address) { 486public Stream OpenWrite(Uri address, string method) { 528public byte[] UploadData(Uri address, byte[] data) { 541public byte[] UploadData(Uri address, string method, byte[] data) { 564private byte[] UploadDataInternal(Uri address, string method, byte[] data, out WebRequest request) { 677public byte[] UploadFile(Uri address, string fileName) { 693public byte[] UploadFile(Uri address, string method, string fileName) { 708Uri uri = GetUri(address); 709bool needsHeaderAndBoundary = (uri.Scheme != Uri.UriSchemeFile); 776public byte[] UploadValues(Uri address, NameValueCollection data) { 789public byte[] UploadValues(Uri address, string method, NameValueCollection data) { 838public string UploadString(Uri address, string data) { 851public string UploadString(Uri address, string method, string data) { 882public string DownloadString(Uri address) { 965private Uri GetUri(string path) { 967Uri uri; 971if (!Uri.TryCreate(m_baseAddress, path, out uri)) 975if (!Uri.TryCreate(path, UriKind.Absolute, out uri)) 985private Uri GetUri(Uri address) { 989Uri uri = address; 993if (!Uri.TryCreate(m_baseAddress, address, out uri)) 1541if (request.RequestUri.Scheme == Uri.UriSchemeFile) 1657private string MapToDefaultMethod(Uri address) { 1658Uri uri; 1822public void OpenReadAsync(Uri address) 1828public void OpenReadAsync(Uri address, object userToken) 1895public void OpenWriteAsync(Uri address) { 1900public void OpenWriteAsync(Uri address, string method) 1906public void OpenWriteAsync(Uri address, string method, object userToken) 1973public void DownloadStringAsync(Uri address) 1978public void DownloadStringAsync(Uri address, object userToken) 2026public void DownloadDataAsync(Uri address) 2032public void DownloadDataAsync(Uri address, object userToken) 2082public void DownloadFileAsync(Uri address, string fileName) 2087public void DownloadFileAsync(Uri address, string fileName, object userToken) 2186public void UploadStringAsync(Uri address, string data) { 2191public void UploadStringAsync(Uri address, string method, string data) 2197public void UploadStringAsync(Uri address, string method, string data, object userToken) 2277public void UploadDataAsync(Uri address, byte[] data) { 2282public void UploadDataAsync(Uri address, string method, byte[] data) 2288public void UploadDataAsync(Uri address, string method, byte[] data, object userToken) 2374public void UploadFileAsync(Uri address, string fileName) { 2381public void UploadFileAsync(Uri address, string method, string fileName) 2389public void UploadFileAsync(Uri address, string method, string fileName, object userToken) 2408Uri uri = GetUri(address); 2409bool needsHeaderAndBoundary = (uri.Scheme != Uri.UriSchemeFile); 2476public void UploadValuesAsync(Uri address, NameValueCollection data) { 2481public void UploadValuesAsync(Uri address, string method, NameValueCollection data) 2487public void UploadValuesAsync(Uri address, string method, NameValueCollection data, object userToken) 2549public Task<string> DownloadStringTaskAsync(Uri address) 2579public Task<Stream> OpenReadTaskAsync(Uri address) 2610public Task<Stream> OpenWriteTaskAsync(Uri address) 2624public Task<Stream> OpenWriteTaskAsync(Uri address, string method) 2657public Task<string> UploadStringTaskAsync(Uri address, string data) 2673public Task<string> UploadStringTaskAsync(Uri address, string method, string data) 2704public Task<byte[]> DownloadDataTaskAsync(Uri address) 2735public Task DownloadFileTaskAsync(Uri address, string fileName) 2768public Task<byte[]> UploadDataTaskAsync(Uri address, byte[] data) 2784public Task<byte[]> UploadDataTaskAsync(Uri address, string method, byte[] data) 2817public Task<byte[]> UploadFileTaskAsync(Uri address, string fileName) 2833public Task<byte[]> UploadFileTaskAsync(Uri address, string method, string fileName) 2877public Task<byte[]> UploadValuesTaskAsync(Uri address, NameValueCollection data) 2885public Task<byte[]> UploadValuesTaskAsync(Uri address, string method, NameValueCollection data)
net\System\Net\WebPermission.cs (26)
275m_connectList[i] is Uri? (object)((Uri)m_connectList[i]).GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped) : 298m_acceptList[i] is Uri? (object)((Uri)m_acceptList[i]).GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped) : 360internal WebPermission(NetworkAccess access, Uri uri) { 382Uri uri; 383if (Uri.TryCreate(uriString, UriKind.Absolute, out uri)) 414internal void AddPermission(NetworkAccess access, Uri uri) { 435if ((permObj is Uri) && uri.Equals(permObj)) 625Uri uri; 633else if ((uri = uriPattern as Uri) != null) { 685result.AddPermission(NetworkAccess.Connect, (Uri)m_connectList[i]); 705result.AddPermission(NetworkAccess.Accept, (Uri)m_acceptList[i]); 920Uri uri = obj as Uri; 952Uri uri = obj as Uri; 999string s = stringUri != null? stringUri: ((Uri)uriToCheck).GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped); 1012s = ((Uri)uriToCheck).GetComponents(UriComponents.HttpRequestUrl, UriFormat.SafeUnescaped); 1048if (a is Uri) 1094if (resultUri == (obj is Uri)) 1132isUri = R is Uri; 1133string uriString = isUri? ((Uri)R).GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped): R.ToString(); 1144isUri = L is Uri; 1145string uriString = isUri? ((Uri)L).GetComponents(UriComponents.HttpRequestUrl, UriFormat.UriEscaped): L.ToString(); 1155isUri = L is Uri;
net\System\Net\webproxy.cs (40)
21internal Uri proxyAddress; 23internal Uri scriptLocation; 44private Uri _ProxyAddress; 56: this((Uri) null, false, null, null) { 62public WebProxy(Uri Address) 69public WebProxy(Uri Address, bool BypassOnLocal) 76public WebProxy(Uri Address, bool BypassOnLocal, string[] BypassList) 83public WebProxy(Uri Address, bool BypassOnLocal, string[] BypassList, ICredentials Credentials) { 132public Uri Address { 167internal Uri ScriptLocation { 268public Uri GetProxy(Uri destination) { 275Uri result; 283Uri proxy = proxyHostAddresses!=null ? proxyHostAddresses[destination.Scheme] as Uri : _ProxyAddress; 291private static Uri CreateProxyUri(string address) { 330private bool IsMatchInBypassList(Uri input) { 347private bool IsLocal(Uri host) { 376private bool IsLocalInProxyHash(Uri host) { 379Uri proxy = (Uri) proxyHostAddresses[host.Scheme]; 391public bool IsBypassed(Uri host) { 405private bool IsBypassedManual(Uri host) { 443_ProxyAddress = (Uri)serializationInfo.GetValue("_ProxyAddress", typeof(Uri)); 555ProxyChain IAutoWebProxy.GetProxies(Uri destination) { 583private bool GetProxyAuto(Uri destination, out Uri proxyUri) { 608private bool IsBypassedAuto(Uri destination, out bool isBypassed) { 629internal Uri[] GetProxiesAuto(Uri destination, ref int syncStatus) 642Uri[] proxyUris = null; 644proxyUris = new Uri[] { }; 647proxyUris = new Uri[] { null }; 650proxyUris = new Uri[proxyList.Count]; 666internal Uri GetProxyAutoFailover(Uri destination) 673Uri proxy = _ProxyAddress; 677proxy = proxyHostAddresses[destination.Scheme] as Uri; 696private static Uri ProxyUri(string proxyName) {
net\System\Net\WebRequest.cs (16)
63public WebRequest Create(Uri uri) 117private static WebRequest Create(Uri requestUri, bool useUriBase) { 262public static WebRequest Create(Uri requestUri) { 292public static WebRequest CreateDefault(Uri requestUri) { 312public static HttpWebRequest CreateHttp(Uri requestUri) { 316if ((requestUri.Scheme != Uri.UriSchemeHttp) && (requestUri.Scheme != Uri.UriSchemeHttps)) { 379Uri tempUri; 380if (Uri.TryCreate(prefix, UriKind.Absolute, out tempUri)) 647/// <para>When overridden in a derived class, gets a <see cref='Uri'/> 651public virtual Uri RequestUri { // read-only 1118public Uri GetProxy(Uri destination) 1123public bool IsBypassed(Uri host) 1141public ProxyChain GetProxies(Uri destination) 1167internal void SetupCacheProtocol(Uri uri)
net\System\Net\WebResponse.cs (1)
212public virtual Uri ResponseUri {
net\System\Net\WebSockets\ClientWebSocket.cs (5)
120public Task ConnectAsync(Uri uri, CancellationToken cancellationToken) 130if (uri.Scheme != Uri.UriSchemeWs && uri.Scheme != Uri.UriSchemeWss) 150private async Task ConnectAsyncCore(Uri uri, CancellationToken cancellationToken) 213private HttpWebRequest CreateAndConfigureRequest(Uri uri)
net\System\Net\WebSockets\HttpListenerWebSocketContext.cs (3)
17private Uri m_RequestUri; 33Uri requestUri, 69public override Uri RequestUri
net\System\Net\WebSockets\WebSocket.cs (2)
116WebRequest.RegisterPrefix(Uri.UriSchemeWs + ":", new WebSocketHttpRequestCreator(false)); 117WebRequest.RegisterPrefix(Uri.UriSchemeWss + ":", new WebSocketHttpRequestCreator(true));
net\System\Net\WebSockets\WebSocketContext.cs (1)
16public abstract Uri RequestUri { get; }
net\System\Net\WinHttpWebProxyFinder.cs (3)
49public override bool GetProxies(Uri destination, out IList<string> proxyList) 152private int GetProxies(Uri destination, Uri scriptLocation, out string proxyListString)
net\System\URI.cs (19)
423public Uri(Uri baseUri, string relativeUri, bool dontEscape){ 452public Uri(Uri baseUri, string relativeUri){ 462private void CreateUri(Uri baseUri, string relativeUri, bool dontEscape) 471Uri uriResult = ResolveHelper(baseUri, this, ref relativeUri, ref dontEscape, out e); 504public Uri(Uri baseUri, Uri relativeUri) 553private unsafe static ParsingError GetCombinedString(Uri baseUri, string relativeStr, 1003SetEscapedDotSlashSettings(section, Uri.UriSchemeWs); 1004SetEscapedDotSlashSettings(section, Uri.UriSchemeWss); 1688public static bool operator == (Uri uri1, Uri uri2) { 1703public static bool operator != (Uri uri1, Uri uri2) { 1741Uri obj = comparand as Uri; 1911public Uri MakeRelativeUri(Uri uri) 4996private static string CombineUri(Uri basePart, string relativePart, UriFormat uriFormat) { 5310public string MakeRelative(Uri toUri)
net\System\uribuilder.cs (15)
28private string m_schemeDelimiter = Uri.SchemeDelimiter; 29private Uri m_uri; 46Uri tryUri = new Uri(uri, UriKind.RelativeOrAbsolute); 52uri = Uri.UriSchemeHttp + Uri.SchemeDelimiter + uri; 60public UriBuilder(Uri uri) { 68private void Init(Uri uri) { 75m_schemeDelimiter = uri.HasAuthority? Uri.SchemeDelimiter: ":"; 245m_path = Uri.InternalEscapeString(ConvertSlashes(value)); 304if (!Uri.CheckSchemeName(value)) { 317public Uri Uri { 378private void SetFieldsFromUri(Uri uri) { 385m_schemeDelimiter = uri.HasAuthority? Uri.SchemeDelimiter: ":"; 418? Uri.SchemeDelimiter 421m_schemeDelimiter = m_host.Length != 0? Uri.SchemeDelimiter: ":";
net\System\UriExt.cs (19)
334public static bool TryCreate(string uriString, UriKind uriKind, out Uri result) 346public static bool TryCreate(Uri baseUri, string relativeUri, out Uri result) 348Uri relativeLink; 361public static bool TryCreate(Uri baseUri, Uri relativeUri, out Uri result) 424public static int Compare(Uri uri1, Uri uri2, UriComponents partsToCompare, UriFormat compareFormat, 460Uri result; 462if (!Uri.TryCreate(uriString, uriKind, out result)) 690internal static Uri CreateHelper(string uriString, bool dontEscape, UriKind uriKind, ref UriFormatException e) 716Uri result = new Uri(flags, syntax, uriString); 742internal static Uri ResolveHelper(Uri baseUri, Uri relativeUri, ref string newUriString, ref bool userEscaped, 932public bool IsBaseOf(Uri uri) 948internal bool IsBaseOfHelper(Uri uriLink) 994private void CreateThisFromUri(Uri otherUri)
net\System\UriHelper.cs (11)
128if (end - start >= Uri.c_MaxUriBufferSize) 185if(i + 2 < end && EscapedAscii(pStr[i+1], pStr[i+2]) != Uri.c_DummyChar) 276bool iriParsing = Uri.IriParsingStatic(syntax) 310if (ch == Uri.c_DummyChar) 321else if (ch == Uri.c_DummyChar) 462if (ch == Uri.c_DummyChar) 568else if (!Uri.IsBidiControlCharacter(unescapedCharsPtr[j]) || !UriParser.DontKeepUnicodeBidiFormattingCharacters) 632return Uri.c_DummyChar; 646return Uri.c_DummyChar; 711if (Uri.IsAsciiLetterOrDigit(c)) 724if (Uri.IsAsciiLetterOrDigit(c))
net\System\UriScheme.cs (11)
81protected virtual void InitializeAndValidate(Uri uri, out UriFormatException parsingError) 94protected virtual string Resolve(Uri baseUri, Uri relativeUri, out UriFormatException parsingError) 105Uri result = Uri.ResolveHelper(baseUri, relativeUri, ref newUriString, ref userEscaped, out parsingError); 119protected virtual bool IsBaseOf(Uri baseUri, Uri relativeUri) 136protected virtual string GetComponents(Uri uri, UriComponents components, UriFormat format) 156protected virtual bool IsWellFormedOriginalString(Uri uri) 180if (!Uri.CheckSchemeName(schemeName)) 197if (!Uri.CheckSchemeName(schemeName))
security\system\security\Authentication\ExtendedProtection\ServiceNameCollection.cs (6)
121UriHostNameType hostType = Uri.CheckHostName(hostPortAndDistinguisher); 157hostType = Uri.CheckHostName(host); // Revaidate the host 171Uri constructedUri; 173if (!Uri.TryCreate(Uri.UriSchemeHttp + Uri.SchemeDelimiter + host, UriKind.Absolute, out constructedUri))
sys\system\Media\SoundPlayer.cs (3)
28private Uri uri = null; 388private static Uri ResolveUri(string partialUri) { 389Uri result = null;
System.Activities.Core.Presentation (3)
System\Activities\Core\Presentation\DesignerMetadata.cs (1)
136builder.AddCustomAttributes(typeof(InArgument<Uri>), new EditorReuseAttribute(false));
System\ServiceModel\Activities\Presentation\ContentCorrelationTypeExpander.xaml.cs (1)
61typeof(Uri),
System\ServiceModel\Activities\Presentation\MessagingContentPropertyEditorResources.xaml.cs (1)
21Uri resourceLocator = new Uri(
System.Activities.DurableInstancing (3)
System\Activities\DurableInstancing\XmlPropertyBag.cs (3)
147else if (value is Uri) 296else if (value is Uri) 298return ((Uri)value).ToString();
System.Activities.Presentation (11)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Resources\PropertyInspectorResources.cs (1)
90Uri resourceLocator = new Uri(
System.Activities.Presentation\System\Activities\Presentation\CachedResourceDictionaryExtension.cs (3)
17static Dictionary<Uri, ResourceDictionary> Cache = new Dictionary<Uri, ResourceDictionary>(); 19public Uri Source { get; set; }
System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (1)
425if (type.IsPrimitive || computedValue is string || type.IsEnum || computedValue is Uri)
System.Activities.Presentation\System\Activities\Presentation\View\EditorResources.cs (1)
21Uri resourceLocator = new Uri(
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
1071bool shouldBeQuoted = typeof(string) == context.ExpressionType || typeof(Uri) == context.ExpressionType;
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerColors.cs (2)
113Uri resourceLocator = new Uri( 131Uri resourceLocator = new Uri(
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (2)
128Uri resourceUri = new Uri(string.Concat(typeof(WorkflowDesignerIcons).Assembly.GetName().Name, @";component/Themes/Icons.WindowsApp.xaml"), UriKind.RelativeOrAbsolute); 166Uri resourceUri = new Uri(string.Concat(typeof(WorkflowDesignerIcons).Assembly.GetName().Name, @";component/Themes/Icons.Default.xaml"), UriKind.RelativeOrAbsolute);
System.Configuration (1)
System\Configuration\ClientConfigurationSystem.cs (1)
51string dummy = System.Uri.SchemeDelimiter;
System.Core (4)
System\Diagnostics\Eventing\Reader\ProviderMetadata.cs (1)
127public Uri HelpLink {
System\Security\Cryptography\X509Certificates\AuthenticodeSignatureInformation.cs (3)
20private Uri m_descriptionUrl; 40Uri.TryCreate(descriptionUrl, UriKind.RelativeOrAbsolute, out m_descriptionUrl); 79public Uri DescriptionUrl {
System.Data (15)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Resources\PropertyInspectorResources.cs (1)
90Uri resourceLocator = new Uri(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CachedResourceDictionaryExtension.cs (3)
17static Dictionary<Uri, ResourceDictionary> Cache = new Dictionary<Uri, ResourceDictionary>(); 19public Uri Source { get; set; }
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (1)
425if (type.IsPrimitive || computedValue is string || type.IsEnum || computedValue is Uri)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\EditorResources.cs (1)
21Uri resourceLocator = new Uri(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
1071bool shouldBeQuoted = typeof(string) == context.ExpressionType || typeof(Uri) == context.ExpressionType;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerColors.cs (2)
113Uri resourceLocator = new Uri( 131Uri resourceLocator = new Uri(
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (2)
128Uri resourceUri = new Uri(string.Concat(typeof(WorkflowDesignerIcons).Assembly.GetName().Name, @";component/Themes/Icons.WindowsApp.xaml"), UriKind.RelativeOrAbsolute); 166Uri resourceUri = new Uri(string.Concat(typeof(WorkflowDesignerIcons).Assembly.GetName().Name, @";component/Themes/Icons.Default.xaml"), UriKind.RelativeOrAbsolute);
fx\src\data\System\Data\Common\DataStorage.cs (1)
97typeof(Uri),
fx\src\data\System\Data\Common\ObjectStorage.cs (1)
280if (type == typeof (Uri)){
fx\src\data\System\Data\xmlsaver.cs (1)
240if (type == typeof(Uri))
fx\src\data\System\Data\XMLSchema.cs (1)
1568new NameType("anyURI" , typeof(System.Uri) ), /* XSD Apr */
System.Data.Entity (3)
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (2)
350Uri uri = null; 353Uri.TryCreate(baseUri, UriKind.Absolute, out uri) &&
System\Data\Metadata\Helper.cs (1)
329internal static string GetFileNameFromUri(Uri uri)
System.Data.Services (119)
parent\Client\System\Data\Services\Client\Common.cs (1)
73internal static string UriToString(Uri uri)
parent\Client\System\Data\Services\Client\XmlUtil.cs (9)
32private static Uri CreateBaseComparableUri(Uri uri) 54Uri uri = null; 80internal static bool IsBaseOf(Uri baseUriWithSlash, Uri requestUri) 91internal static bool UriInvariantInsensitiveIsBaseOf(Uri current, Uri uri) 96Uri upperCurrent = CreateBaseComparableUri(current); 97Uri upperUri = CreateBaseComparableUri(uri);
System\Data\Services\BatchServiceHost.cs (5)
48private readonly Uri absoluteRequestUri; 51private readonly Uri absoluteServiceUri; 81internal BatchServiceHost(Uri absoluteServiceUri, BatchStream batchStream, string contentId, string boundary, StreamWriter writer) 121Uri IDataServiceHost.AbsoluteRequestUri 128Uri IDataServiceHost.AbsoluteServiceUri
System\Data\Services\DataService.cs (1)
2618private static DataServiceOperationContext CreateOperationContextFromBatchStream(Uri absoluteServiceUri, BatchStream batchStream, HashSet<int> contentIds, string boundary, StreamWriter writer)
System\Data\Services\DataServiceHost.cs (1)
37public DataServiceHost(Type serviceType, Uri[] baseAddresses)
System\Data\Services\DataServiceHostFactory.cs (1)
33protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses)
System\Data\Services\DataServiceHostWrapper.cs (4)
94private Uri absoluteRequestUri; 97private Uri absoluteServiceUri; 184internal Uri AbsoluteRequestUri 206internal Uri AbsoluteServiceUri
System\Data\Services\DataServiceOperationContext.cs (2)
109public Uri AbsoluteRequestUri 117public Uri AbsoluteServiceUri
System\Data\Services\HttpContextServiceHost.cs (6)
44private Uri absoluteRequestUri; 47private Uri absoluteServiceUri; 193Uri IDataServiceHost.AbsoluteRequestUri 202this.absoluteRequestUri = property as Uri; 295Uri IDataServiceHost.AbsoluteServiceUri 304this.absoluteServiceUri = property as Uri;
System\Data\Services\IDataServiceHost.cs (2)
32Uri AbsoluteRequestUri 38Uri AbsoluteServiceUri
System\Data\Services\Parsing\WebConvert.cs (1)
153result = Uri.EscapeDataString(result);
System\Data\Services\ProcessRequestArgs.cs (3)
23private readonly Uri requestUri; 36internal ProcessRequestArgs(Uri requestUri, bool isBatchOperation, DataServiceOperationContext operationContext) 50public Uri RequestUri
System\Data\Services\Providers\DataServiceStreamProviderWrapper.cs (3)
280internal Uri GetReadStreamUri(object entity, DataServiceOperationContext operationContext, string mediaLinkEntryUri) 285Uri readStreamUri = InvokeApiCallAndValidateHeaders("IDataServiceStreamProvider.GetReadStreamUri", () => this.StreamProvider.GetReadStreamUri(entity, operationContext), operationContext); 363internal void GetStreamDescription(object entity, DataServiceOperationContext operationContext, string mediaLinkEntryUri, out string etag, out Uri readStreamUri, out string contentType)
System\Data\Services\Providers\IDataServiceStreamProvider.cs (1)
227Uri GetReadStreamUri(object entity, DataServiceOperationContext operationContext);
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
412type == typeof(TimeSpan) || type == typeof(DateTimeOffset) || type == typeof(Uri) ||
System\Data\Services\RequestDescription.cs (4)
71private readonly Uri resultUri; 106internal RequestDescription(RequestTargetKind targetKind, RequestTargetSource targetSource, Uri resultUri) 138Uri resultUri) 212internal Uri ResultUri
System\Data\Services\RequestUriProcessor.cs (20)
68internal static RequestDescription ProcessRequestUri(Uri absoluteRequestUri, IDataService service) 86Uri resultUri = GetResultUri(service.OperationContext); 190internal static Uri AppendEscapedSegment(Uri uri, string text) 209internal static Uri AppendUnescapedSegment(Uri uri, string text) 213return AppendEscapedSegment(uri, Uri.EscapeDataString(text)); 220internal static Uri GetAbsoluteUriFromReference(string reference, DataServiceOperationContext operationContext) 229internal static Uri GetAbsoluteUriFromReference(string reference, Uri absoluteServiceUri) 235Uri referenceAsUri = new Uri(reference, UriKind.RelativeOrAbsolute); 268/// <param name="uri"><see cref="Uri"/> to get string for.</param> 270internal static string GetHttpRequestUrl(Uri uri) 286internal static Uri GetResultUri(DataServiceOperationContext operationContext) 289Uri requestUri = operationContext.AbsoluteRequestUri; 312internal static string[] EnumerateSegments(Uri absoluteRequestUri, Uri baseUri) 327Uri uri = absoluteRequestUri; 356segments[segmentIndex++] = Uri.UnescapeDataString(segment); 376internal static KeyInstance ExtractKeyValuesFromUri(Uri absoluteRequestUri, IDataService service, out string containerName)
System\Data\Services\ResponseBodyWriter.cs (1)
80internal Uri AbsoluteServiceUri
System\Data\Services\Serializers\AtomServiceDocumentSerializer.cs (1)
47Uri baseUri,
System\Data\Services\Serializers\DataStringEscapeBuilder.cs (3)
83this.output.Append(Uri.EscapeDataString(current.ToString())); 116this.output.Append(Uri.EscapeDataString(this.quotedDataBuilder.ToString())); 130this.output.Append(Uri.EscapeDataString(this.quotedDataBuilder.ToString()));
System\Data\Services\Serializers\Deserializer.cs (1)
916Uri referencedUri = RequestUriProcessor.GetAbsoluteUriFromReference(uri, this.Service.OperationContext);
System\Data\Services\Serializers\JsonSerializer.cs (16)
50Uri absoluteServiceUri, 111Uri parentUri = this.RequestDescription.ResultUri; 195Uri uri = Serializer.GetUri(element, this.Provider, this.CurrentContainer, this.AbsoluteServiceUri); 237Uri uri = Serializer.GetUri(o, this.Provider, this.CurrentContainer, this.AbsoluteServiceUri); 290private void WriteNextPageLink(object lastElement, IExpandedResult skipTokenExpandedResult, Uri absoluteUri) 299private void WriteLinkObject(Uri uri) 387private string WriteMetadataObject(object resource, ResourceType resourceType, Uri uriPath) 421Uri readStreamUri; 453private void WriteElementWithName(IExpandedResult expanded, object element, string elementName, Uri elementUri, bool topLevel) 582Uri entityUri = Serializer.GetUri(element, this.Provider, this.CurrentContainer, this.AbsoluteServiceUri); 619private void WriteResourceProperties(IExpandedResult expanded, object resource, ResourceType resourceType, Uri uri) 633private void WriteComplexTypeProperties(object complexObject, ResourceType resourceType, Uri parentUri) 647private void WriteDeferredContentElement(Uri uri) 671private void WriteObjectDeclaredProperty(IExpandedResult expanded, object customObject, ResourceProperty property, Uri parentUri) 717private void WriteObjectOpenProperty(string propertyName, object propertyValue, Uri parentUri) 758private void WriteObjectProperties(IExpandedResult expanded, object customObject, ResourceType resourceType, Uri parentUri, bool objectIsResource)
System\Data\Services\Serializers\MetadataSerializer.cs (1)
43Uri baseUri,
System\Data\Services\Serializers\PlainXmlSerializer.cs (3)
41Uri absoluteServiceUri, 215Uri uri = Serializer.GetUri(element, this.Provider, this.CurrentContainer, this.AbsoluteServiceUri); 272private void WriteNextPageLink(object lastElement, IExpandedResult expandedResult, Uri absoluteUri)
System\Data\Services\Serializers\Serializer.cs (8)
49private readonly Uri absoluteServiceUri; 85internal Serializer(RequestDescription requestDescription, Uri absoluteServiceUri, IDataService service, string httpETagHeaderValue) 141protected Uri AbsoluteServiceUri 181internal static Uri GetUri(object resource, DataServiceProviderWrapper provider, ResourceSetWrapper container, Uri absoluteServiceUri) 194internal static Uri AppendEntryToUri(Uri currentUri, string entry) 356protected String GetNextLinkUri(object lastObject, IExpandedResult skipTokenExpandedResult, Uri absoluteUri)
System\Data\Services\Serializers\SyndicationDeserializer.cs (1)
500Uri referencedUri = RequestUriProcessor.GetAbsoluteUriFromReference(link.Uri.OriginalString, this.Service.OperationContext);
System\Data\Services\Serializers\SyndicationSerializer.cs (9)
84Uri absoluteServiceUri, 449private void WriteEntryElement(IExpandedResult expanded, object element, ResourceType expectedType, Uri absoluteUri, string relativeUri, SyndicationItem target) 497Uri readStreamUri = null; 571Uri absoluteUri, 582var uri = new Uri(relativeUri, UriKind.Relative); 613private void WriteNextPageLink(object lastElement, IExpandedResult expandedResult, Uri absoluteUri) 698private void WriteOtherElements(object element, ResourceType type, string title, Uri absoluteUri, string relativeUri, string mediaETag, SyndicationItem item) 745private void WriteObjectProperties(IExpandedResult expanded, object customObject, ResourceType resourceType, Uri absoluteUri, string relativeUri, SyndicationItem item, DictionaryContent content, EpmSourcePathSegment currentSourceRoot) 1072Uri propertyAbsoluteUri = RequestUriProcessor.AppendUnescapedSegment(absoluteUri, segmentIdentifier);
System\Data\Services\Serializers\XmlDocumentSerializer.cs (3)
27private readonly Uri baseUri; 45Uri baseUri, 62protected Uri BaseUri
System\Data\Services\UpdatableWrapper.cs (1)
360success = KeyInstance.TryParseNullableTokens(Uri.UnescapeDataString(strippedETag), out keyInstance);
System\Data\Services\WebUtil.cs (6)
143internal static Uri ApplyHostHeader(Uri baseUri, string requestHost) 311internal static Uri EnsureLastSegmentEmpty(Uri absoluteUri) 1628Uri result; 1629if (Uri.TryCreate(scheme + hostHeader, UriKind.Absolute, out result))
System.Data.Services.Client (103)
parent\Server\System\Data\Services\Parsing\WebConvert.cs (1)
153result = Uri.EscapeDataString(result);
System\Data\Services\Client\ALinq\DataServiceQueryProvider.cs (1)
141Uri uri;
System\Data\Services\Client\ALinq\QueryComponents.cs (3)
28private readonly Uri uri; 52internal QueryComponents(Uri uri, Version version, Type lastSegmentType, LambdaExpression projection, Dictionary<Expression, Expression> normalizerRewrites) 64internal Uri Uri
System\Data\Services\Client\ALinq\UriWriter.cs (1)
63internal static void Translate(DataServiceContext context, bool addTrailingParens, Expression e, out Uri uri, out Version version)
System\Data\Services\Client\AtomEntry.cs (4)
92public Uri MediaContentUri 99public Uri MediaEditUri 120public Uri EditLink 127public Uri QueryLink
System\Data\Services\Client\AtomFeed.cs (1)
48public Uri NextLink
System\Data\Services\Client\AtomMaterializer.cs (4)
678Uri nextLinkUri = continuation == null ? null : continuation.NextLinkUri; 1570private void MergeLists(AtomEntry entry, ClientType.ClientProperty property, IEnumerable list, Uri nextLink, ProjectionPlan plan) 1801Uri nextLink, 1860private void FoundNextLinkForCollection(IEnumerable collection, Uri link, ProjectionPlan plan)
System\Data\Services\Client\AtomParser.cs (4)
928Uri idUri = Util.CreateUri(idText, UriKind.RelativeOrAbsolute); 1040private Uri ConvertHRefAttributeValueIntoURI(string href) 1042Uri uri = Util.CreateUri(href, UriKind.RelativeOrAbsolute); 1045Uri baseUri = Util.CreateUri(this.reader.BaseURI, UriKind.RelativeOrAbsolute);
System\Data\Services\Client\ClientConvert.cs (2)
349return ((Uri)propertyValue).ToString(); 484types[(int)StorageType.Uri] = typeof(Uri);
System\Data\Services\Client\Common.cs (1)
73internal static string UriToString(Uri uri)
System\Data\Services\Client\DataServiceContext.cs (44)
52private readonly System.Uri baseUri; 55private readonly System.Uri baseUriWithSlash; 89private Uri typeScheme; 139public DataServiceContext(Uri serviceRoot) 163!Uri.IsWellFormedUriString(CommonUtil.UriToString(serviceRoot), UriKind.Absolute) || 242public Uri BaseUri 374public Uri TypeScheme 461internal Uri BaseUriWithSlash 595public Uri GetMetadataUri() 598Uri metadataUri = Util.CreateUri(this.baseUriWithSlash.OriginalString + XmlConstants.UriMetadataSegment, UriKind.Absolute); 616return this.BeginLoadProperty(entity, propertyName, (Uri)null, callback, state); 628public IAsyncResult BeginLoadProperty(object entity, string propertyName, Uri nextLinkUri, AsyncCallback callback, object state) 682return this.LoadProperty(entity, propertyName, (Uri)null); 702public QueryOperationResponse LoadProperty(object entity, string propertyName, Uri nextLinkUri) 770public Uri GetReadStreamUri(object entity) 1011public IAsyncResult BeginExecute<TElement>(Uri requestUri, AsyncCallback callback, object state) 1061public IEnumerable<TElement> Execute<TElement>(Uri requestUri) 1498Uri editLink = GenerateEditLinkUri(this.baseUriWithSlash, entitySetName, entity); 1598public bool TryGetEntity<TEntity>(Uri identity, out TEntity entity) where TEntity : class 1619public bool TryGetUri(object entity, out Uri identity) 1710internal void AttachIdentity(String identity, Uri selfLink, Uri editLink, object entity, string etag) 1748Uri editLink = new Uri(location, UriKind.Absolute); 1910internal HttpWebRequest CreateRequest(Uri requestUri, string method, bool allowAnyType, string contentType, Version requestVersion, bool sendChunked) 2308private static Uri GenerateEditLinkUri(Uri baseUriWithSlash, string entitySetName, object entity) 2689private Uri CreateRequestUri(EntityDescriptor sourceResource, LinkDescriptor binding) 2691Uri requestUri = Util.CreateUri(sourceResource.GetResourceUri(this.baseUriWithSlash, false /*queryLink*/), this.CreateRequestRelativeUri(binding)); 2700private Uri CreateRequestRelativeUri(LinkDescriptor binding) 2702Uri relative; 2715Uri navigationPropertyUri = this.BaseUriWithSlash.MakeRelativeUri(DataServiceContext.GenerateEditLinkUri(this.BaseUriWithSlash, binding.SourceProperty, targetResource.Entity)); 2744Uri relative = this.CreateRequestRelativeUri(binding); 2825Uri requestUri = box.GetResourceUri(this.baseUriWithSlash, false /*queryLink*/); 2849Uri requestUri = box.GetResourceUri(this.baseUriWithSlash, false /*queryLink*/); 3094private void HandleResponsePost(EntityDescriptor entry, MaterializeAtom materializer, Uri editLink, string etag) 3231private LoadPropertyResult CreateLoadPropertyRequest(object entity, string propertyName, AsyncCallback callback, object state, Uri requestUri, DataServiceQueryContinuation continuation) 3263Uri relativeUri; 3558Uri tmp = Util.CreateUri(entitySetName, UriKind.RelativeOrAbsolute); 3608Uri requestUri = box.GetMediaResourceUri(this.baseUriWithSlash); 4720Uri requestUri = box.GetEditMediaResourceUri(this.Context.baseUriWithSlash); 4745private HttpWebRequest CreateMediaResourceRequest(Uri requestUri, string method, bool sendChunked) 5050Uri requestUri = Util.CreateUri(this.Context.baseUriWithSlash, Util.CreateUri("$batch", UriKind.Relative)); 5088Uri requestUri = Util.CreateUri(this.Context.baseUriWithSlash, this.Queries[i].QueryComponents.Uri); 5393Uri editLink = null;
System\Data\Services\Client\DataServiceQueryContinuation.cs (5)
29private readonly Uri nextLinkUri; 41internal DataServiceQueryContinuation(Uri nextLinkUri, ProjectionPlan plan) 55public Uri NextLinkUri 87internal static DataServiceQueryContinuation Create(Uri nextLinkUri, ProjectionPlan plan) 125internal DataServiceQueryContinuation(Uri nextLinkUri, ProjectionPlan plan)
System\Data\Services\Client\DataServiceQueryOfT.cs (1)
91public override Uri RequestUri
System\Data\Services\Client\DataServiceRequest.cs (2)
41public abstract Uri RequestUri 105internal static DataServiceRequest GetInstance(Type elementType, Uri requestUri)
System\Data\Services\Client\DataServiceRequestOfT.cs (2)
39public DataServiceRequest(Uri requestUri) 67public override Uri RequestUri
System\Data\Services\Client\EntityDescriptor.cs (17)
47private Uri selfLink; 51private Uri editLink; 56private Uri readStreamLink; 61private Uri editMediaLink; 109internal EntityDescriptor(String identity, Uri selfLink, Uri editLink, object entity, EntityDescriptor parentEntity, string parentProperty, string entitySetName, string etag, EntityStates state) 164public Uri SelfLink 171public Uri EditLink 182public Uri ReadStreamUri 204public Uri EditStreamUri 376internal Uri GetResourceUri(Uri baseUriWithSlash, bool queryLink) 438internal Uri GetMediaResourceUri(Uri serviceBaseUri) 448internal Uri GetEditMediaResourceUri(Uri serviceBaseUri) 460private Uri GetLink(bool queryLink)
System\Data\Services\Client\EntityPropertyMappingAttribute.cs (2)
243Uri uri; 244if (!Uri.TryCreate(targetNamespaceUri, UriKind.Absolute, out uri))
System\Data\Services\Client\Util.cs (4)
266internal static Uri CreateUri(string value, UriKind kind) 275internal static Uri CreateUri(Uri baseUri, Uri requestUri)
System\Data\Services\Client\Xml\XmlWrappingReader.cs (3)
467Uri newBaseUri = null; 568internal XmlBaseState(Uri baseUri, int depth) 575public Uri BaseUri
System\Data\Services\Client\XmlUtil.cs (1)
54Uri uri = null;
System.Data.SqlXml (30)
System\Xml\Xsl\Runtime\XmlCollation.cs (2)
147Uri collationUri; 154if (!Uri.TryCreate(collationLiteral, UriKind.Absolute, out collationUri)) {
System\Xml\Xsl\Runtime\XmlQueryContext.cs (2)
116Uri uriResolvedBase, uriResolved; 154private XPathNavigator ConstructDocument(object dataSource, string uriRelative, Uri uriResolved) {
System\Xml\Xsl\Runtime\XsltConvert.cs (1)
52internal static readonly Type UriType = typeof(Uri);
System\Xml\Xsl\SourceLineInfo.cs (2)
85Uri uri; 88System.Uri.TryCreate(uriString, UriKind.Absolute, out uri) &&
System\Xml\Xsl\Xslt\Stylesheet.cs (2)
30public List<Uri> ImportHrefs = new List<Uri>();
System\Xml\Xsl\Xslt\XsltLoader.cs (9)
67Uri resolvedUri = origResolver.ResolveUri(null, uri); 167private Uri ResolveUri(string relativeUri, string baseUri) { 168Uri resolvedBaseUri = (baseUri.Length != 0) ? xmlResolver.ResolveUri(null, baseUri) : null; 169Uri resolvedUri = xmlResolver.ResolveUri(resolvedBaseUri, relativeUri); 176private XmlReader CreateReader(Uri uri, XmlResolver xmlResolver) { 197private Stylesheet LoadStylesheet(Uri uri, bool include) { 221List<Uri> importHrefs = curStylesheet.ImportHrefs; 399Uri uri = ResolveUri(input.Value, input.BaseUri); 423Uri uri = ResolveUri(input.Value, input.BaseUri);
System\Xml\Xsl\XsltOld\Compiler.cs (3)
507internal Uri ResolveUri(string relativeUri) { 510Uri uri = this.xmlResolver.ResolveUri((baseUri.Length != 0) ? this.xmlResolver.ResolveUri(null, baseUri) : null, relativeUri); 518internal NavigatorInput ResolveDocument(Uri absoluteUri) {
System\Xml\Xsl\XsltOld\ContainerAction.cs (5)
169internal Stylesheet CompileImport(Compiler compiler, Uri uri, int id) { 195Uri uri = imports[i] as Uri; 207Uri uri = compiler.ResolveUri(compiler.GetSingleAttribute(compiler.Input.Atoms.Href)); 438Uri uri = compiler.ResolveUri(compiler.GetSingleAttribute(compiler.Input.Atoms.Href));
System\Xml\Xsl\XsltOld\Processor.cs (1)
155internal XPathNavigator GetNavigator(Uri ruri) {
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (3)
213private Uri ComposeUri(string thisUri, string baseUri) { 216Uri uriBase = null; 234Uri uri = ComposeUri(it.Current.Value, baseUri ?? it.Current.BaseURI);
System.Drawing (1)
commonui\System\Drawing\Icon.cs (1)
240Uri uri;
System.IdentityModel (203)
System\IdentityModel\Claims\Claim.cs (1)
178public static Claim CreateUriClaim(Uri uri)
System\IdentityModel\Claims\ClaimsConversionHelper.cs (2)
189else if (StringComparer.Ordinal.Equals(claim.ClaimType, ClaimTypes.Uri) && claim.Resource is Uri) 192_value = ((Uri)claim.Resource).ToString();
System\IdentityModel\Metadata\EncryptionMethod.cs (3)
14Uri _algorithm; 21public EncryptionMethod(Uri algorithm) 35public Uri Algorithm
System\IdentityModel\Metadata\IndexedProtocolEndpoint.cs (2)
29public IndexedProtocolEndpoint(int index, Uri binding, Uri location)
System\IdentityModel\Metadata\LocalizedUri.cs (3)
14Uri _uri; 29public LocalizedUri(Uri uri, CultureInfo language) 38public Uri Uri
System\IdentityModel\Metadata\MetadataSerializer.cs (12)
895Uri bindingUri; 903Uri locationUri; 922Uri responseUri; 1144Uri uri; 1329Uri bindingUri; 1337Uri locationUri; 1347Uri responseUri; 1412Uri errorUrl; 1840Uri tokenTypeUri; 2783foreach (Uri protocol in roleDescriptor.ProtocolsSupported) 3019foreach (Uri nameId in singleSignOnDescriptor.NameIdentifierFormats) 3106foreach (Uri tokenType in wsDescriptor.TokenTypesOffered)
System\IdentityModel\Metadata\ProtocolEndpoint.cs (8)
14Uri binding; 15Uri location; 16Uri responseLocation; 31public ProtocolEndpoint(Uri binding, Uri location) 40public Uri Binding 50public Uri Location 60public Uri ResponseLocation
System\IdentityModel\Metadata\RoleDescriptor.cs (7)
17Uri errorUrl; 20Collection<Uri> protocolsSupported = new Collection<Uri>(); 27: this(new Collection<Uri>()) 35protected RoleDescriptor(Collection<Uri> protocolsSupported) 51public Uri ErrorUrl 77public ICollection<Uri> ProtocolsSupported
System\IdentityModel\Metadata\SingleSignOnDescriptor.cs (3)
17Collection<Uri> nameIdFormats = new Collection<Uri>(); 29public ICollection<Uri> NameIdentifierFormats
System\IdentityModel\Metadata\WebServiceDescriptor.cs (3)
21Collection<Uri> _tokenTypesOffered = new Collection<Uri>(); 75public ICollection<Uri> TokenTypesOffered
System\IdentityModel\Protocols\WSTrust\BinaryExchange.cs (7)
15Uri _valueType; 16Uri _encodingType; 24public BinaryExchange( byte[] binaryData, Uri valueType ) 36public BinaryExchange( byte[] binaryData, Uri valueType, Uri encodingType ) 79public Uri ValueType 87public Uri EncodingType
System\IdentityModel\Protocols\WSTrust\ContextItem.cs (8)
14Uri _name; 15Uri _scope; 22public ContextItem(Uri name) 32public ContextItem(Uri name, string value) 45public ContextItem(Uri name, string value, Uri scope) 70public Uri Name 79public Uri Scope
System\IdentityModel\Protocols\WSTrust\EndpointReference.cs (3)
16Uri uri; 33Uri tempUri = new Uri(uri); 43public Uri Uri
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (4)
603Uri name = null; 604Uri scope = null; 2211Uri valueType; 2225Uri encodingType;
System\IdentityModel\Selectors\SamlSecurityTokenAuthenticator.cs (2)
151else if (Uri.IsWellFormedUriString(this.allowedAudienceUris[j], UriKind.Absolute)) 153Uri uri = new Uri(this.allowedAudienceUris[j]);
System\IdentityModel\Tokens\AbsoluteUriCollection.cs (3)
15internal class AbsoluteUriCollection : Collection<Uri> 21protected override void InsertItem(int index, Uri item) 31protected override void SetItem(int index, Uri item)
System\IdentityModel\Tokens\AudienceRestriction.cs (3)
17Collection<Uri> _audience = new Collection<Uri>(); 47public Collection<Uri> AllowedAudienceUris
System\IdentityModel\Tokens\Saml2Action.cs (3)
16private Uri actionNamespace; 24public Saml2Action(string value, Uri actionNamespace) 60public Uri Namespace
System\IdentityModel\Tokens\Saml2Advice.cs (2)
49/// Gets a collection of <see cref="Uri"/> representing the assertions in the <see cref="Saml2Advice"/>. 51public Collection<Uri> AssertionUriReferences
System\IdentityModel\Tokens\Saml2Attribute.cs (2)
20private Uri nameFormat; 103public Uri NameFormat
System\IdentityModel\Tokens\Saml2AudienceRestriction.cs (7)
22private Collection<Uri> audiences = new Collection<Uri>(); 35public Saml2AudienceRestriction(Uri audience) 36: this(new Uri[] { audience }) 44public Saml2AudienceRestriction(IEnumerable<Uri> audiences) 51foreach (Uri audience in audiences) 65public Collection<Uri> Audiences
System\IdentityModel\Tokens\Saml2AuthenticationContext.cs (9)
26private Collection<Uri> authenticatingAuthorities = new AbsoluteUriCollection(); 27private Uri classReference; 28private Uri declarationReference; 42public Saml2AuthenticationContext(Uri classReference) 52public Saml2AuthenticationContext(Uri classReference, Uri declarationReference) 75public Collection<Uri> AuthenticatingAuthorities 85public Uri ClassReference 107public Uri DeclarationReference
System\IdentityModel\Tokens\Saml2AuthorizationDecisionStatement.cs (7)
22public static readonly Uri EmptyResource = new Uri(string.Empty, UriKind.Relative); 27private Uri resource; 33/// <param name="resource">The <see cref="Uri"/> of the resource to be authorized.</param> 35public Saml2AuthorizationDecisionStatement(Uri resource, SamlAccessDecision decision) 44/// <param name="resource">The <see cref="Uri"/> of the resource to be authorized.</param> 47public Saml2AuthorizationDecisionStatement(Uri resource, SamlAccessDecision decision, IEnumerable<Saml2Action> actions) 128public Uri Resource
System\IdentityModel\Tokens\Saml2Constants.cs (41)
25public static readonly Uri Rwedc = new Uri(RwedcString); 30public static readonly Uri RwedcNegation = new Uri(RwedcNegationString); 35public static readonly Uri Ghpp = new Uri(GhppString); 40public static readonly Uri Unix = new Uri(UnixString); 80public static readonly Uri InternetProtocol = new Uri(InternetProtocolString); 83public static readonly Uri InternetProtocolPassword = new Uri(InternetProtocolPasswordString); 86public static readonly Uri Kerberos = new Uri(KerberosString); 89public static readonly Uri MobileOneFactorUnregistered = new Uri(MobileOneFactorUnregisteredString); 92public static readonly Uri MobileTwoFactorUnregistered = new Uri(MobileTwoFactorUnregisteredString); 95public static readonly Uri MobileOneFactorContract = new Uri(MobileOneFactorContractString); 98public static readonly Uri MobileTwoFactorContract = new Uri(MobileTwoFactorContractString); 101public static readonly Uri Password = new Uri(PasswordString); 104public static readonly Uri PasswordProtectedTransport = new Uri(PasswordProtectedTransportString); 107public static readonly Uri PreviousSession = new Uri(PreviousSessionString); 110public static readonly Uri X509 = new Uri(X509String); 113public static readonly Uri Pgp = new Uri(PgpString); 116public static readonly Uri Spki = new Uri(SpkiString); 119public static readonly Uri XmlDSig = new Uri(XmlDsigString); 122public static readonly Uri Smartcard = new Uri(SmartcardString); 125public static readonly Uri SmartcardPki = new Uri(SmartcardPkiString); 128public static readonly Uri SoftwarePki = new Uri(SoftwarePkiString); 131public static readonly Uri Telephony = new Uri(TelephonyString); 134public static readonly Uri NomadTelephony = new Uri(NomadTelephonyString); 137public static readonly Uri PersonalTelephony = new Uri(PersonalTelephonyString); 140public static readonly Uri AuthenticatedTelephony = new Uri(AuthenticatedTelephonyString); 143public static readonly Uri SecureRemotePassword = new Uri(SecureRemotePasswordString); 146public static readonly Uri TlsClient = new Uri(TlsClientString); 149public static readonly Uri TimeSyncToken = new Uri(TimeSyncTokenString); 152public static readonly Uri Unspecified = new Uri(UnspecifiedString); 192public static readonly Uri Bearer = new Uri(BearerString); 198public static readonly Uri HolderOfKey = new Uri(HolderOfKeyString); 204public static readonly Uri SenderVouches = new Uri(SenderVouchesString); 256public static readonly Uri Unspecified = new Uri(UnspecifiedString); 263public static readonly Uri EmailAddress = new Uri(EmailAddressString); 270public static readonly Uri X509SubjectName = new Uri(X509SubjectNameString); 276public static readonly Uri WindowsDomainQualifiedName = new Uri(WindowsDomainQualifiedNameString); 283public static readonly Uri Kerberos = new Uri(KerberosString); 292public static readonly Uri Entity = new Uri(EntityString); 300public static readonly Uri Persistent = new Uri(PersistentString); 307public static readonly Uri Transient = new Uri(TransientString); 313public static readonly Uri Encrypted = new Uri(EncryptedString);
System\IdentityModel\Tokens\Saml2Evidence.cs (5)
62/// Initializes a new instance of <see cref="Saml2Evidence"/> class from a <see cref="Uri"/>. 64/// <param name="uriReference"><see cref="Uri"/> containing the evidence.</param> 65public Saml2Evidence(Uri uriReference) 92/// Gets a collection of <see cref="Uri"/> for use by the <see cref="Saml2Evidence"/>. 94public Collection<Uri> AssertionUriReferences
System\IdentityModel\Tokens\Saml2NameIdentifier.cs (4)
17private Uri format; 39/// <param name="format"><see cref="Uri"/> specifying the identifier format.</param> 40public Saml2NameIdentifier(string name, Uri format) 79public Uri Format
System\IdentityModel\Tokens\Saml2ProxyRestriction.cs (2)
17private Collection<Uri> audiences = new AbsoluteUriCollection(); 31public Collection<Uri> Audiences
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (13)
922internal static Uri ReadSimpleUriElement(XmlReader reader) 928internal static Uri ReadSimpleUriElement(XmlReader reader, UriKind kind) 934internal static Uri ReadSimpleUriElement(XmlReader reader, UriKind kind, bool allowLaxReading) 1371Uri saml2AuthenticationClass; 2368Uri actionNamespace; 2566foreach (Uri uri in data.AssertionUriReferences) 3509foreach (Uri audience in data.Audiences) 3561Uri classRef = null; 3562Uri declRef = null; 3657foreach (Uri authority in data.AuthenticatingAuthorities) 3851Uri resource; 4320foreach (Uri uri in data.AssertionUriReferences) 4864foreach (Uri uri in data.Audiences)
System\IdentityModel\Tokens\Saml2SubjectConfirmation.cs (8)
17private Uri method; 21/// Initializes an instance of <see cref="Saml2SubjectConfirmation"/> from a <see cref="Uri"/> indicating the 24/// <param name="method">The <see cref="Uri"/> to use for initialization.</param> 25public Saml2SubjectConfirmation(Uri method) 31/// Initializes an instance of <see cref="Saml2SubjectConfirmation"/> from a <see cref="Uri"/> indicating the 34/// <param name="method">The <see cref="Uri"/> to use for initialization.</param> 36public Saml2SubjectConfirmation(Uri method, Saml2SubjectConfirmationData data) 56public Uri Method
System\IdentityModel\Tokens\Saml2SubjectConfirmationData.cs (2)
23private Uri recipient; 89public Uri Recipient
System\IdentityModel\Tokens\SamlAudienceRestrictionCondition.cs (5)
19readonly ImmutableCollection<Uri> audiences = new ImmutableCollection<Uri>(); 22public SamlAudienceRestrictionCondition(IEnumerable<Uri> audiences) 27foreach (Uri audience in audiences) 43public IList<Uri> Audiences
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (1)
287conditions.Conditions.Add(new SamlAudienceRestrictionCondition(new Uri[] { new Uri(relyingPartyAddress) }));
System\IdentityModel\Tokens\SamlSecurityTokenRequirement.cs (7)
328public virtual void ValidateAudienceRestriction(IList<Uri> allowedAudienceUris, IList<Uri> tokenAudiences) 353foreach (Uri audience in tokenAudiences) 361Uri audienceLeftPart; 368Uri baseUri = new Uri("http://www.example.com"); 369Uri resolved = new Uri(baseUri, audience); 394foreach (Uri a in tokenAudiences)
System\IdentityModel\Tokens\SessionSecurityToken.cs (5)
61Uri _secureConversationVersion; 219Uri securityContextSecurityTokenWrapperSecureConversationVersion) 415Uri scVersion; 646public Uri SecureConversationVersion 1619writer.WriteString(((Uri)claim.Resource).AbsoluteUri);
System\IdentityModel\UniqueId.cs (1)
114public static Uri CreateRandomUri()
System\IdentityModel\UriUtil.cs (3)
23Uri tempUri; 37public static bool TryCreateValidUri(string uriString, UriKind uriKind, out Uri result) 39return Uri.TryCreate(uriString, uriKind, out result);
System\IdentityModel\WSSecureConversation13Constants.cs (1)
16public static readonly Uri NamespaceUri = new Uri( Namespace );
System\IdentityModel\WSSecureConversationFeb2005Constants.cs (1)
16public static readonly Uri NamespaceUri = new Uri( Namespace );
System.IdentityModel.Selectors (3)
infocard\client\System\IdentityModel\Selectors\CardSpacePolicyElement.cs (3)
25Uri m_policyNoticeLink; 53public Uri PolicyNoticeLink 70public CardSpacePolicyElement(XmlElement target, XmlElement issuer, Collection<XmlElement> parameters, Uri privacyNoticeLink, int privacyNoticeVersion, bool isManagedIssuer)
System.Net (2)
net\HttpPolicyDownloaderProtocol.cs (1)
14public HttpPolicyDownloaderProtocol(Uri appUri, IPAddress address) { }
net\IUnsafeWebRequestCreate.cs (1)
13WebRequest Create(Uri uri);
System.Runtime.Remoting (6)
channels\core\corechannel.cs (1)
880Uri requestUrl = httpContext.Request.Url;
channels\core\socketcache.cs (1)
48private Uri _uri;
channels\tcp\tcpclientchannel.cs (1)
359Uri uri = new Uri(simpleChannelUri);
metadata\wsdlparser.cs (3)
735Uri uri = new Uri(currentReaderStream.Uri, location); 3182internal Uri Uri 3219private Uri _uri;
System.Runtime.Serialization (27)
System\Runtime\Serialization\CodeExporter.cs (2)
1491Uri uri = null; 1493if (Uri.TryCreate(dataContractNamespace, UriKind.RelativeOrAbsolute, out uri))
System\Runtime\Serialization\DataContract.cs (4)
774type = typeof(Uri); 857else if (type == typeof(Uri)) 1777Uri uri; 1778if (Uri.TryCreate(dataContractNs, UriKind.RelativeOrAbsolute, out uri))
System\Runtime\Serialization\ExtensionDataReader.cs (3)
727Uri uri = isTypedNode ? ((DataNode<Uri>)dataNode).GetValue() : (Uri)dataNode.Value;
System\Runtime\Serialization\Globals.cs (3)
216typeOfUri = typeof(Uri); 1096static Uri dataContractXsdBaseNamespaceUri; 1097internal static Uri DataContractXsdBaseNamespaceUri
System\Runtime\Serialization\PrimitiveDataContract.cs (2)
799: base(typeof(Uri), DictionaryGlobals.UriLocalName, DictionaryGlobals.SchemaNamespace) 808writer.WriteUri((Uri)obj);
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (3)
326public virtual void WriteUri(XmlWriterDelegator xmlWriter, Uri value) 330public virtual void WriteUri(XmlWriterDelegator xmlWriter, Uri value, XmlDictionaryString name, XmlDictionaryString ns) 333WriteNull(xmlWriter, typeof(Uri), true/*isMemberTypeSerializable*/, name, ns);
System\Runtime\Serialization\XmlObjectSerializerWriteContextComplex.cs (3)
198public override void WriteUri(XmlWriterDelegator xmlWriter, Uri value) 203public override void WriteUri(XmlWriterDelegator xmlWriter, Uri value, XmlDictionaryString name, XmlDictionaryString ns) 206WriteNull(xmlWriter, typeof(Uri), true/*isMemberTypeSerializable*/, name, ns);
System\Runtime\Serialization\XmlReaderDelegator.cs (3)
336return new DataNode<Uri>(ReadContentAsUri()); 760public Uri ReadElementContentAsUri() 780internal Uri ReadContentAsUri()
System\Runtime\Serialization\XmlWriterDelegator.cs (3)
354WriteUri((Uri)value); 433WriteUri(((DataNode<Uri>)dataNode).GetValue()); 649internal void WriteUri(Uri value)
System\Xml\XmlMtomReader.cs (1)
360contentID = String.Format(CultureInfo.InvariantCulture, "<{0}>", Uri.UnescapeDataString(uri.Substring(MimeGlobals.ContentIDScheme.Length)));
System.Security (1)
system\security\cryptography\xml\reference.cs (1)
415System.Uri uri = new System.Uri(m_uri, UriKind.RelativeOrAbsolute);
System.ServiceModel (1421)
System\ServiceModel\Activation\AspNetEnvironment.cs (6)
156public virtual List<Uri> GetBaseAddresses(Uri addressTemplate) 193public virtual BaseUriWithWildcard GetBaseUri(string transportScheme, Uri listenUri) 208public virtual void ProcessNotMatchedEndpointAddress(Uri uri, string endpointName) 245internal virtual void AddMetadataBindingParameters(Uri listenUri, KeyedByTypeCollection<IServiceBehavior> serviceBehaviors, BindingParameterCollection bindingParameters) 308public virtual AuthenticationSchemes GetAuthenticationSchemes(Uri baseAddress)
System\ServiceModel\Activation\DuplicateContext.cs (3)
18Uri via; 23protected DuplicateContext(Uri via, byte[] readData) 29public Uri Via
System\ServiceModel\Activation\IAspNetMessageProperty.cs (1)
9Uri OriginalRequestUri { get; }
System\ServiceModel\Activation\IConnectionRegister.cs (2)
19bool ValidateUriRoute(Uri uri, IPAddress address, int port); 30IAsyncResult BeginValidateUriRoute(System.Uri uri, IPAddress address, int port, AsyncCallback callback, object asyncState);
System\ServiceModel\Activation\NamedPipeDuplicateContext.cs (1)
17public NamedPipeDuplicateContext(IntPtr handle, Uri via, byte[] readData)
System\ServiceModel\Activation\ServiceHostFactoryBase.cs (1)
8public abstract ServiceHostBase CreateServiceHost(string constructorString, Uri[] baseAddresses);
System\ServiceModel\Activation\TcpDuplicateContext.cs (1)
20public TcpDuplicateContext(SocketInformation socketInformation, Uri via, byte[] readData)
System\ServiceModel\Activation\Utility.cs (2)
26internal static Uri FormatListenerEndpoint(string serviceName, string listenerEndPoint) 28UriBuilder builder = new UriBuilder(Uri.UriSchemeNetPipe, serviceName);
System\ServiceModel\Administration\EndpointInfo.cs (3)
16Uri address; 40public Uri Address 45public Uri ListenUri
System\ServiceModel\Administration\EndpointInstanceProvider.cs (3)
21internal static string EndpointReference(Uri uri, string contractName) 48Uri uri; 49if (Uri.TryCreate(address, UriKind.Absolute, out uri))
System\ServiceModel\Administration\ServiceInfo.cs (1)
54Uri addressUri = this.Endpoints[0].Address;
System\ServiceModel\ChannelFactory.cs (6)
687public virtual TChannel CreateChannel(EndpointAddress address, Uri via) 743public TChannel CreateChannelWithIssuedToken(SecurityToken issuedToken, EndpointAddress address, Uri via) 770public TChannel CreateChannelWithActAsToken(SecurityToken actAsToken, EndpointAddress address, Uri via) 797public TChannel CreateChannelWithOnBehalfOfToken(SecurityToken onBehalfOf, EndpointAddress address, Uri via) 812internal UChannel CreateChannel<UChannel>(EndpointAddress address, Uri via) 900public static TChannel CreateChannel(Binding binding, EndpointAddress endpointAddress, Uri via)
System\ServiceModel\Channels\Addressing.cs (15)
349Uri to; 355protected ToHeader(Uri to, AddressingVersion version) 391public Uri To 396public static ToHeader Create(Uri toUri, XmlDictionaryString dictionaryTo, AddressingVersion addressingVersion) 414public static ToHeader Create(Uri to, AddressingVersion addressingVersion) 438public static Uri ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version) 443public static Uri ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version, UriCache uriCache) 465Uri to = ReadHeaderValue(reader, version, uriCache); 504public DictionaryToHeader(Uri to, XmlDictionaryString dictionaryTo, AddressingVersion version) 522public FullToHeader(Uri to, string actor, bool mustUnderstand, bool relay, AddressingVersion version) 764internal static readonly Uri ReplyRelationshipType = new Uri(Addressing10Strings.ReplyRelationship); 787public virtual Uri RelationshipType 801public static RelatesToHeader Create(UniqueId messageId, AddressingVersion addressingVersion, Uri relationshipType) 824public static void ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version, out Uri relationshipType, out UniqueId messageId) 849Uri relationship;
System\ServiceModel\Channels\AddressingVersion.cs (4)
18Uri anonymousUri; 19Uri noneUri; 143internal Uri AnonymousUri 148internal Uri NoneUri
System\ServiceModel\Channels\BaseUriWithWildcard.cs (13)
18Uri baseAddress; 33public BaseUriWithWildcard(Uri baseAddress, HostNameComparisonMode hostNameComparisonMode) 94internal Uri BaseAddress 179if (protocol.Equals(Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase)) 183return new BaseUriWithWildcard(Uri.UriSchemeHttp, HttpUriDefaultPort, binding, 3, path, ":80:"); 185else if (protocol.Equals(Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase)) 188return new BaseUriWithWildcard(Uri.UriSchemeHttps, HttpsUriDefaultPort, binding, 3, path, ":443:"); 190else if (protocol.Equals(Uri.UriSchemeNetTcp, StringComparison.OrdinalIgnoreCase)) 193return new BaseUriWithWildcard(Uri.UriSchemeNetTcp, TcpUri.DefaultPort, binding, 2, path, "808:*"); 195else if (protocol.Equals(Uri.UriSchemeNetPipe, StringComparison.OrdinalIgnoreCase)) 214return new BaseUriWithWildcard(Uri.UriSchemeNetPipe, -1, binding, 1, path, "*"); 238internal bool IsBaseOf(Uri fullAddress) 322if ((this.comparand.Port == -1) && ((object)this.comparand.Scheme == (object)Uri.UriSchemeNetTcp))
System\ServiceModel\Channels\Binding.cs (6)
205public virtual IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, params object[] parameters) 211public virtual IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, string listenUriRelativeAddress, params object[] parameters) 217public virtual IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, string listenUriRelativeAddress, ListenUriMode listenUriMode, params object[] parameters) 230public virtual IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, BindingParameterCollection parameters) 236public virtual IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, string listenUriRelativeAddress, BindingParameterCollection parameters) 242public virtual IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, string listenUriRelativeAddress, ListenUriMode listenUriMode, BindingParameterCollection parameters)
System\ServiceModel\Channels\BindingContext.cs (5)
17Uri listenUriBaseAddress; 27public BindingContext(CustomBinding binding, BindingParameterCollection parameters, Uri listenUriBaseAddress, string listenUriRelativeAddress, ListenUriMode listenUriMode) 48Uri listenUriBaseAddress, 58Uri listenUriBaseAddress, 81public Uri ListenUriBaseAddress
System\ServiceModel\Channels\BufferedConnection.cs (2)
316public IConnection Connect(Uri uri, TimeSpan timeout) 321public IAsyncResult BeginConnect(Uri uri, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\CallbackContextMessageProperty.cs (2)
45public CallbackContextMessageProperty(Uri listenAddress, IDictionary<string, string> context) 97public EndpointAddress CreateCallbackAddress(Uri listenAddress)
System\ServiceModel\Channels\ChannelBuilder.cs (1)
16Uri listenUri;
System\ServiceModel\Channels\ChannelDemuxer.cs (2)
1262public override Uri Via 2920public Uri Via
System\ServiceModel\Channels\ChannelFactoryBase.cs (3)
110public TChannel CreateChannel(EndpointAddress address, Uri via) 121TChannel InternalCreateChannel(EndpointAddress address, Uri via) 142protected abstract TChannel OnCreateChannel(EndpointAddress address, Uri via);
System\ServiceModel\Channels\ChannelListenerBase.cs (1)
59public abstract Uri Uri { get; }
System\ServiceModel\Channels\ChannelPool.cs (3)
56protected override ChannelPoolKey GetPoolKey(EndpointAddress address, Uri via) 98Uri via; 100public ChannelPoolKey(EndpointAddress address, Uri via)
System\ServiceModel\Channels\ClientContextProtocol.cs (5)
22Uri uri; 23Uri callbackAddress; 25public ClientContextProtocol(ContextExchangeMechanism contextExchangeMechanism, Uri uri, IChannel owner, Uri callbackAddress, bool contextManagementEnabled) 40protected Uri Uri
System\ServiceModel\Channels\ClientReliableChannelBinder.cs (10)
20Uri via; 22protected ClientReliableChannelBinder(EndpointAddress to, Uri via, IChannelFactory<TChannel> factory, 83public Uri Via 125public static IClientReliableChannelBinder CreateBinder(EndpointAddress to, Uri via, 322public DuplexClientReliableChannelBinder(EndpointAddress to, Uri via, 412public DuplexClientReliableChannelBinder(EndpointAddress to, Uri via, 443public DuplexSessionClientReliableChannelBinder(EndpointAddress to, Uri via, 500public RequestClientReliableChannelBinder(EndpointAddress to, Uri via, 670public RequestClientReliableChannelBinder(EndpointAddress to, Uri via, 701public RequestSessionClientReliableChannelBinder(EndpointAddress to, Uri via,
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (1)
34public ClientWebSocketTransportDuplexSessionChannel(HttpChannelFactory<IDuplexSessionChannel> channelFactory, ClientWebSocketFactory connectionFactory, EndpointAddress remoteAddresss, Uri via, ConnectionBufferPool bufferPool)
System\ServiceModel\Channels\CompositeDuplexBindingElement.cs (2)
18Uri clientBaseAddress; 31public Uri ClientBaseAddress
System\ServiceModel\Channels\ConnectAlgorithms.cs (12)
24Dictionary<Uri, PeerNodeAddress> nodeAddresses = new Dictionary<Uri, PeerNodeAddress>(); 26Dictionary<Uri, PeerNodeAddress> pendingConnectedNeighbor = new Dictionary<Uri, PeerNodeAddress>(); 104ICollection<Uri> keys = nodeAddresses.Keys; 106Uri key = null; 107foreach (Uri uri in keys) 245static Uri GetEndpointUri(PeerNodeAddress address) 298Uri key = GetEndpointUri(address); 311Uri address = GetEndpointUri(neighbor.ListenAddress); 333Uri address = GetEndpointUri(neighbor.ListenAddress); 382Uri key = GetEndpointUri(referral.Address);
System\ServiceModel\Channels\Connection.cs (6)
40IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state); 47IConnection Connect(Uri uri, TimeSpan timeout); 48IAsyncResult BeginConnect(Uri uri, TimeSpan timeout, AsyncCallback callback, object state); 120public virtual IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state) 431public IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state) 674public IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state)
System\ServiceModel\Channels\ConnectionDemuxer.cs (2)
39Action<Uri> viaDelegate; 467public void StartDemuxing(Action<Uri> viaDelegate)
System\ServiceModel\Channels\ConnectionOrientedTransportChannelFactory.cs (1)
207protected override TChannel OnCreateChannel(EndpointAddress address, Uri via)
System\ServiceModel\Channels\ConnectionOrientedTransportChannelListener.cs (1)
346protected override void ValidateUri(Uri uri)
System\ServiceModel\Channels\ConnectionOrientedTransportManager.cs (4)
113TChannelListener GetChannelListener(Uri via) 140Uri via = serverSingletonPreambleReader.Via; 168Uri via = serverSessionPreambleReader.Via; 193internal IConnectionOrientedTransportFactorySettings OnGetTransportFactorySettings(Uri via)
System\ServiceModel\Channels\ConnectionPool.cs (4)
52protected abstract TKey GetPoolKey(EndpointAddress address, Uri via); 210public TItem TakeConnection(EndpointAddress address, Uri via, TimeSpan timeout, out TKey key) 672Uri via; 689public ConnectionPoolHelper(ConnectionPool connectionPool, IConnectionInitiator connectionInitiator, Uri via)
System\ServiceModel\Channels\ContextBindingElement.cs (3)
45public ContextBindingElement(ProtectionLevel protectionLevel, ContextExchangeMechanism contextExchangeMechanism, Uri clientCallbackAddress) 51public ContextBindingElement(ProtectionLevel protectionLevel, ContextExchangeMechanism contextExchangeMechanism, Uri clientCallbackAddress, bool contextManagementEnabled) 69public Uri ClientCallbackAddress
System\ServiceModel\Channels\ContextChannelFactory.cs (3)
17Uri callbackAddress; 20public ContextChannelFactory(BindingContext context, ContextExchangeMechanism contextExchangeMechanism, Uri callbackAddress, bool contextManagementEnabled) 33protected override TChannel OnCreateChannel(EndpointAddress address, Uri via)
System\ServiceModel\Channels\ContextChannelListener.cs (1)
17Uri listenBaseAddress;
System\ServiceModel\Channels\ContextDuplexSessionChannel.cs (2)
16ContextExchangeMechanism contextExchangeMechanism, Uri address, Uri callbackAddress, bool contextManagementEnabled)
System\ServiceModel\Channels\ContextOutputChannel.cs (1)
16ContextExchangeMechanism contextExchangeMechanism, Uri callbackAddress, bool contextManagementEnabled)
System\ServiceModel\Channels\ContextOutputChannelBase.cs (1)
23public Uri Via
System\ServiceModel\Channels\ContextOutputSessionChannel.cs (1)
16ContextExchangeMechanism contextExchangeMechanism, Uri callbackAddress, bool contextManagementEnabled)
System\ServiceModel\Channels\ContextProtocol.cs (1)
68public static string EncodeContextAsHttpSetCookieHeader(ContextMessageProperty context, Uri uri)
System\ServiceModel\Channels\ContextRequestChannel.cs (1)
14ContextExchangeMechanism contextExchangeMechanism, Uri callbackAddress, bool contextManagementEnabled)
System\ServiceModel\Channels\ContextRequestChannelBase.cs (2)
16ContextExchangeMechanism contextExchangeMechanism, Uri callbackAddress, bool contextManagementEnabled) 27public Uri Via
System\ServiceModel\Channels\ContextRequestSessionChannel.cs (1)
14ContextExchangeMechanism contextExchangeMechanism, Uri callbackAddress, bool contextManagementEnabled)
System\ServiceModel\Channels\DatagramAdapter.cs (4)
1122Uri via; 1150public Uri Via 1352Uri via; 1380public Uri Via
System\ServiceModel\Channels\DnsCache.cs (1)
63public static IPHostEntry Resolve(Uri uri)
System\ServiceModel\Channels\DuplexChannel.cs (1)
27public abstract Uri Via { get; }
System\ServiceModel\Channels\ExclusiveNamedPipeTransportManager.cs (1)
20public ExclusiveNamedPipeTransportManager(Uri listenUri, NamedPipeChannelListener channelListener)
System\ServiceModel\Channels\ExclusiveTcpTransportManager.cs (1)
174public ExclusiveTcpTransportManagerRegistration(Uri listenUri, TcpChannelListener channelListener)
System\ServiceModel\Channels\FramingChannels.cs (10)
26EndpointAddress localAddress, Uri localVia, EndpointAddress remoteAddresss, Uri via, bool exposeConnectionProperty) 33EndpointAddress remoteAddresss, Uri via, bool exposeConnectionProperty) 41EndpointAddress localAddress, Uri localVia, bool exposeConnectionProperty) 191EndpointAddress remoteAddresss, Uri via, IConnectionInitiator connectionInitiator, ConnectionPool connectionPool, 940Uri via, string contentType, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state) 952Uri via, string contentType, ref TimeoutHelper timeoutHelper) 1045public static bool ValidatePreambleResponse(byte[] buffer, int count, ClientFramingDecoder decoder, Uri via) 1093Uri via; 1099Uri via, string contentType, ref TimeoutHelper timeoutHelper,
System\ServiceModel\Channels\FramingDecoders.cs (5)
207Uri via; 234public Uri ValueAsUri 633public Uri Via 1007public Uri Via 1278public Uri Via
System\ServiceModel\Channels\HttpAnonymousUriPrefixMatcher.cs (6)
13UriPrefixTable<Uri> anonymousUriPrefixes; 24this.anonymousUriPrefixes = new UriPrefixTable<Uri>(objectToClone.anonymousUriPrefixes); 28public void Register(Uri anonymousUriPrefix) 42this.anonymousUriPrefixes = new UriPrefixTable<Uri>(true); 51internal bool IsAnonymousUri(Uri to) 60Uri returnValue;
System\ServiceModel\Channels\HttpChannelFactory.cs (33)
47volatile MruCache<Uri, Uri> credentialCacheUriPrefixCache; 275return Uri.UriSchemeHttp; 367internal Exception CreateToMustEqualViaException(Uri to, Uri via) 394EndpointAddress target, Uri via, ChannelParameterCollection channelParameters) 428protected virtual void ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) 438protected override TChannel OnCreateChannel(EndpointAddress remoteAddress, Uri via) 444Uri httpVia = WebSocketHelper.IsWebSocketUri(via) ? WebSocketHelper.NormalizeWsSchemeWithHttpScheme(via) : via; 448protected virtual TChannel OnCreateChannelCore(EndpointAddress remoteAddress, Uri via) 703Uri GetCredentialCacheUriPrefix(Uri via) 705Uri result; 713this.credentialCacheUriPrefixCache = new MruCache<Uri, Uri>(10); 731HttpWebRequest GetWebRequest(EndpointAddress to, Uri via, NetworkCredential credential, 735Uri httpWebRequestUri = isWebSocketRequest ? WebSocketHelper.GetWebSocketUri(via) : via; 814void ApplyManualAddressing(ref EndpointAddress to, ref Uri via, Message message) 818Uri toHeader = message.Headers.To; 856void CreateAndOpenTokenProvidersCore(EndpointAddress to, Uri via, ChannelParameterCollection channelParameters, TimeSpan timeout, out SecurityTokenProviderContainer tokenProvider, out SecurityTokenProviderContainer proxyTokenProvider) 870internal void CreateAndOpenTokenProviders(EndpointAddress to, Uri via, ChannelParameterCollection channelParameters, TimeSpan timeout, out SecurityTokenProviderContainer tokenProvider, out SecurityTokenProviderContainer proxyTokenProvider) 883internal HttpWebRequest GetWebRequest(EndpointAddress to, Uri via, SecurityTokenProviderContainer tokenProvider, 920public HttpRequestChannel(HttpChannelFactory<IRequestChannel> factory, EndpointAddress to, Uri via, bool manualAddressing) 1107public virtual HttpWebRequest GetWebRequest(EndpointAddress to, Uri via, ref TimeoutHelper timeoutHelper) 1112protected HttpWebRequest GetWebRequest(EndpointAddress to, Uri via, SecurityTokenContainer clientCertificateToken, ref TimeoutHelper timeoutHelper) 1147EndpointAddress to, Uri via, SecurityTokenContainer clientCertificateToken, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state) 1153EndpointAddress to, Uri via, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state) 1178Uri via; 1404Uri via; 1932Uri via; 1935EndpointAddress to, Uri via, SecurityTokenContainer clientCertificateToken, ref TimeoutHelper timeoutHelper, 2116Uri address; 2120public WebProxyFactory(Uri address, bool bypassOnLocal, AuthenticationSchemes authenticationScheme)
System\ServiceModel\Channels\HttpChannelHelpers.cs (2)
3392Uri uri; 3393if (Uri.TryCreate(value, UriKind.RelativeOrAbsolute, out uri))
System\ServiceModel\Channels\HttpChannelListener.cs (5)
285get { return Uri.UriSchemeHttp; } 312internal override ITransportManagerRegistration CreateTransportManagerRegistration(Uri listenUri) 720static ExtendedProtectionPolicy GetPolicyWithDefaultSpnCollection(ExtendedProtectionPolicy policy, AuthenticationSchemes authenticationScheme, HostNameComparisonMode hostNameComparisonMode, Uri listenUri, out bool usingDefaultSpnList) 726string.Equals(listenUri.Scheme, Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase))//SPN list not used for HTTPS (CBT is used instead). 736static ServiceNameCollection GetDefaultSpnList(HostNameComparisonMode hostNameComparisonMode, Uri listenUri)
System\ServiceModel\Channels\HttpsChannelFactory.cs (11)
45return Uri.UriSchemeHttps; 96protected override void ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) 127protected override TChannel OnCreateChannelCore(EndpointAddress address, Uri via) 185internal SecurityTokenProvider CreateAndOpenCertificateTokenProvider(EndpointAddress target, Uri via, ChannelParameterCollection channelParameters, TimeSpan timeout) 207EndpointAddress to, Uri via, ChannelParameterCollection channelParameters, ref TimeoutHelper timeoutHelper) 287public HttpsRequestChannel(HttpsChannelFactory<IRequestChannel> factory, EndpointAddress to, Uri via, bool manualAddressing) 356public IAsyncResult BeginBaseGetWebRequest(EndpointAddress to, Uri via, SecurityTokenContainer clientCertificateToken, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state) 366public override HttpWebRequest GetWebRequest(EndpointAddress to, Uri via, ref TimeoutHelper timeoutHelper) 374public override IAsyncResult BeginGetWebRequest(EndpointAddress to, Uri via, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state) 406Uri via; 412public GetWebRequestAsyncResult(HttpsRequestChannel httpsChannel, EndpointAddress to, Uri via,
System\ServiceModel\Channels\HttpsChannelListener.cs (2)
94return Uri.UriSchemeHttps; 136internal override ITransportManagerRegistration CreateTransportManagerRegistration(Uri listenUri)
System\ServiceModel\Channels\HttpTransportBindingElement.cs (2)
33Uri proxyAddress; 307public Uri ProxyAddress
System\ServiceModel\Channels\HttpTransportManager.cs (8)
17readonly Uri listenUri; 25internal HttpTransportManager(Uri listenUri, HostNameComparisonMode hostNameComparisonMode) 32internal HttpTransportManager(Uri listenUri, HostNameComparisonMode hostNameComparisonMode, string realm) 65return Uri.UriSchemeHttp; 77public Uri ListenUri 120protected void StartReceiveBytesActivity(ServiceModelActivity activity, Uri requestUri) 126protected void TraceMessageReceived(EventTraceActivity eventTraceActivity, Uri listenUri) 134protected bool TryLookupUri(Uri requestUri, string requestMethod,
System\ServiceModel\Channels\IAnonymousUriPrefixMatcher.cs (1)
8void Register(Uri anonymousUriPrefix);
System\ServiceModel\Channels\IChannelFactory.cs (1)
18TChannel CreateChannel(EndpointAddress to, Uri via);
System\ServiceModel\Channels\IChannelListener.cs (1)
11Uri Uri { get; }
System\ServiceModel\Channels\InitialServerConnectionReader.cs (1)
17delegate IConnectionOrientedTransportFactorySettings TransportSettingsCallback(Uri via);
System\ServiceModel\Channels\InternalDuplexChannelFactory.cs (3)
51protected override IDuplexChannel OnCreateChannel(EndpointAddress address, Uri via) 75public IDuplexChannel CreateChannel(EndpointAddress address, Uri via, MessageFilter filter, int priority, bool usesUniqueHeader) 80public IDuplexChannel CreateChannel(EndpointAddress remoteAddress, Uri via, EndpointAddress localAddress, MessageFilter filter, int priority, bool usesUniqueHeader)
System\ServiceModel\Channels\InternalDuplexChannelListener.cs (3)
21IOutputChannel GetOutputChannel(Uri to, TimeoutHelper timeoutHelper) 141public Uri Via 264Uri to = message.Properties.Via;
System\ServiceModel\Channels\IOutputChannel.cs (1)
12Uri Via { get; }
System\ServiceModel\Channels\IReliableChannelBinder.cs (1)
56Uri Via { get; }
System\ServiceModel\Channels\IRequestChannel.cs (1)
12Uri Via { get; }
System\ServiceModel\Channels\LayeredChannelFactory.cs (1)
195public Uri Via
System\ServiceModel\Channels\LayeredChannelListener.cs (1)
74public override Uri Uri
System\ServiceModel\Channels\Message.cs (7)
2107public Uri CreateUri(string uriString) 2109Uri uri = Get(uriString); 2118Uri Get(string key) 2128void Set(string key, Uri value) 2146Uri value; 2148public Entry(string key, Uri value) 2159public Uri Value
System\ServiceModel\Channels\MessageBuffer.cs (1)
83Uri to;
System\ServiceModel\Channels\MessageHeaders.cs (7)
292public Uri To 705int FindRelatesTo(Uri relationshipType, out UniqueId messageId) 713Uri tempRelationship; 988internal UniqueId GetRelatesTo(Uri relationshipType) 998void GetRelatesToValues(int index, out Uri relationshipType, out UniqueId messageId) 1492internal void SetRelatesTo(Uri relationshipType, UniqueId messageId) 1512void SetRelatesTo(Uri relationshipType, RelatesToHeader relatesToHeader)
System\ServiceModel\Channels\MessageProperties.cs (3)
17Uri via; 268public Uri Via 673Via = (Uri)value;
System\ServiceModel\Channels\Msmq4PoisonHandler.cs (1)
47Uri ListenUri
System\ServiceModel\Channels\MsmqBindingElementBase.cs (2)
18Uri customDeadLetterQueue; 82public Uri CustomDeadLetterQueue
System\ServiceModel\Channels\MsmqBindingFilter.cs (1)
44public Uri CreateServiceUri(string host, string name, bool isPrivate)
System\ServiceModel\Channels\MsmqChannelFactory.cs (2)
46protected override IOutputChannel OnCreateChannel(EndpointAddress to, Uri via) 60protected override IOutputSessionChannel OnCreateChannel(EndpointAddress to, Uri via)
System\ServiceModel\Channels\MsmqChannelFactoryBase.cs (4)
17Uri customDeadLetterQueue; 63public Uri CustomDeadLetterQueue 163internal SecurityTokenProvider CreateTokenProvider(EndpointAddress to, Uri via) 175internal SecurityTokenProviderContainer CreateX509TokenProvider(EndpointAddress to, Uri via)
System\ServiceModel\Channels\MsmqChannelListenerBase.cs (1)
81internal override ITransportManagerRegistration CreateTransportManagerRegistration(Uri listenUri)
System\ServiceModel\Channels\MsmqDiagnostics.cs (1)
191public static void FoundBaseAddress(Uri uri, string virtualPath)
System\ServiceModel\Channels\MsmqOutputChannel.cs (1)
20public MsmqOutputChannel(MsmqChannelFactory<IOutputChannel> factory, EndpointAddress to, Uri via, bool manualAddressing)
System\ServiceModel\Channels\MsmqOutputSessionChannel.cs (1)
24public MsmqOutputSessionChannel(MsmqChannelFactory<IOutputSessionChannel> factory, EndpointAddress to, Uri via, bool manualAddressing)
System\ServiceModel\Channels\MsmqReceiveHelper.cs (3)
56Uri uri; 64internal MsmqReceiveHelper(MsmqReceiveParameters receiveParameters, Uri uri, IMsmqMessagePool messagePool, MsmqInputChannelBase channel, MsmqChannelListenerBase listener) 102internal Uri ListenUri
System\ServiceModel\Channels\MsmqUri.cs (20)
80public static string UriToFormatNameByScheme(Uri uri) 124string UriToFormatName(Uri uri); 125Uri CreateUri(string host, string name, bool isPrivate); 135public string UriToFormatName(Uri uri) 161MsmqUri.AppendQueueName(builder, Uri.UnescapeDataString(uri.PathAndQuery), "\\"); 166public Uri CreateUri(string host, string name, bool isPrivate) 185public virtual string UriToFormatName(Uri uri) 205MsmqUri.AppendQueueName(builder, Uri.UnescapeDataString(uri.PathAndQuery), "\\"); 210public Uri CreateUri(string host, string name, bool isPrivate) 221protected virtual Uri PostVerify(Uri uri) 229public override string UriToFormatName(Uri uri) 237protected override Uri PostVerify(Uri uri) 265public string UriToFormatName(Uri uri) 284string relativePath = Uri.UnescapeDataString(uri.PathAndQuery); 293public Uri CreateUri(string host, string name, bool isPrivate) 328public string UriToFormatName(Uri uri) 334return Uri.UnescapeDataString(uri.AbsoluteUri.Substring(this.Scheme.Length + 1)); 337public Uri CreateUri(string host, string name, bool isPrivate)
System\ServiceModel\Channels\MsmqVerifier.cs (1)
65internal static void VerifyReceiver(MsmqReceiveParameters receiveParameters, Uri listenUri)
System\ServiceModel\Channels\NamedPipeChannelFactory.cs (1)
27get { return Uri.UriSchemeNetPipe; }
System\ServiceModel\Channels\NamedPipeChannelListener.cs (2)
184get { return Uri.UriSchemeNetPipe; } 219internal override ITransportManagerRegistration CreateTransportManagerRegistration(Uri listenUri)
System\ServiceModel\Channels\NamedPipeConnectionPool.cs (11)
40protected override string GetPoolKey(EndpointAddress address, Uri via) 89Dictionary<Uri, string> forwardTable = new Dictionary<Uri, string>(); 90Dictionary<string, ICollection<Uri>> reverseTable = new Dictionary<string, ICollection<Uri>>(); 92public void Add(Uri uri, string pipeName) 96ICollection<Uri> uris; 99uris = new Collection<Uri>(); 113ICollection<Uri> uris; 117foreach (Uri uri in uris) 124public bool TryGetValue(Uri uri, out string pipeName)
System\ServiceModel\Channels\NamedPipeTransportManager.cs (4)
16Uri listenUri; 18protected NamedPipeTransportManager(Uri listenUri) 59public Uri ListenUri 69get { return Uri.UriSchemeNetPipe; }
System\ServiceModel\Channels\OneWayChannelFactory.cs (8)
88protected override IOutputChannel OnCreateChannel(EndpointAddress to, Uri via) 115public override Uri Via 265protected override IOutputChannel OnCreateChannel(EndpointAddress address, Uri via) 288public override Uri Via 426protected override IOutputChannel OnCreateChannel(EndpointAddress address, Uri via) 439Uri via; 442EndpointAddress remoteAddress, Uri via) 457public override Uri Via
System\ServiceModel\Channels\OutputChannel.cs (1)
20public abstract Uri Via { get; }
System\ServiceModel\Channels\PeerChannelFactory.cs (1)
131protected override TChannel OnCreateChannel(EndpointAddress to, Uri via)
System\ServiceModel\Channels\PeerChannelListener.cs (1)
285internal override ITransportManagerRegistration CreateTransportManagerRegistration(Uri listenUri)
System\ServiceModel\Channels\PeerDuplexChannel.cs (3)
17Uri via; 25EndpointAddress localAddress, Uri via) 44public override Uri Via
System\ServiceModel\Channels\PeerDuplexChannelListener.cs (2)
18Uri via; 21public PeerDuplexChannelAcceptor(PeerNodeImplementation peerNode, PeerNodeImplementation.Registration registration, ChannelManagerBase channelManager, EndpointAddress localAddress, Uri via)
System\ServiceModel\Channels\PeerFlooder.cs (2)
352Uri via; 353Uri to;
System\ServiceModel\Channels\PeerHelpers.cs (17)
60Uri listenUri; 88Uri listenUri, IPAddress listenIPAddress, int port, 147public Uri ListenUri 275static Uri BuildUri(string host, int port, Guid guid) 282uriBuilder.Scheme = Uri.UriSchemeNetTcp; 287public Uri GetSelfUri() 289Uri uri = null; 303public Uri GetMeshUri() 332public static Uri GetHeaderUri(MessageHeaders headers, string name, string ns) 334Uri result = null; 556&& string.Compare(address.EndpointAddress.Uri.Scheme, Uri.UriSchemeNetTcp, StringComparison.OrdinalIgnoreCase) == 0 796Uri via = null; 797Uri to = null; 960static internal PeerDictionaryHeader CreateViaHeader(Uri via) 970static internal PeerDictionaryHeader CreateToHeader(Uri to) 986public Uri PeerVia; 987public Uri PeerTo;
System\ServiceModel\Channels\PeerInputChannel.cs (2)
16Uri via; 21EndpointAddress localAddress, Uri via)
System\ServiceModel\Channels\PeerInputChannelListener.cs (2)
17Uri via; 20public PeerInputChannelAcceptor(PeerNodeImplementation peerNode, PeerNodeImplementation.Registration registration, ChannelManagerBase channelManager, EndpointAddress localAddress, Uri via)
System\ServiceModel\Channels\PeerIPHelper.cs (2)
334public static Uri GetIPUri(Uri uri, IPAddress ipAddress)
System\ServiceModel\Channels\PeerMessageDispatcher.cs (10)
44Uri via; 53public PeerMessageDispatcher(PeerMessageQueueAdapter queueHandler, PeerNodeImplementation peerNode, ChannelManagerBase channelManager, EndpointAddress to, Uri via) 153Uri via; 154Uri actingAs; 156public PeerMessageFilter(Uri via) : this(via, null) { } 157public PeerMessageFilter(Uri via, EndpointAddress to) 165public bool Match(Uri peerVia, Uri toCond) 172else if (Uri.Compare(this.via, peerVia, 180result = Uri.Compare(this.actingAs, toCond,
System\ServiceModel\Channels\PeerNodeImplementation.cs (36)
31Uri listenUri; 76Dictionary<Uri, RefCountedSecurityProtocol> uri2SecurityProtocol; 102uri2SecurityProtocol = new Dictionary<Uri, RefCountedSecurityProtocol>(); 161public Uri ListenUri 344public Guid ProcessOutgoingMessage(Message message, Uri via) 365public void SecureOutgoingMessage(ref Message message, Uri via, TimeSpan timeout, SecurityProtocol securityProtocol) 373public IAsyncResult BeginSend(object registrant, Message message, Uri via, 685bool CompareVia(Uri via1, Uri via2) 687return (Uri.Compare(via1, via2, 747static internal Dictionary<Uri, PeerNodeImplementation> peerNodes = new Dictionary<Uri, PeerNodeImplementation>(); 749internal static PeerNodeImplementation Get(Uri listenUri) 760internal protected static bool TryGet(Uri listenUri, out PeerNodeImplementation result) 775Uri baseUri = new UriBuilder(PeerStrings.Scheme, listenUri.Host).Uri; 798public static PeerNodeImplementation Get(Uri listenUri, Registration registration) 810Uri baseUri = new UriBuilder(PeerStrings.Scheme, listenUri.Host).Uri; 874bool IPeerNodeMessageHandling.ValidateIncomingMessage(ref Message message, Uri via) 891internal bool TryGetSecurityProtocol(Uri via, out SecurityProtocol protocol) 908int index, MessageHeader hopHeader, Uri via, Uri to) 1408Uri via, 1409Uri peerTo, 1420Uri to = peerTo; 1577internal void RegisterMessageFilter(object registrant, Uri via, PeerMessageFilter[] filters, 1657internal void UnregisterMessageFilter(object registrant, Uri via) 1673internal static void ValidateVia(Uri uri) 1684public Uri via; 1704Uri listenUri; 1712public Registration(Uri listenUri, IPeerFactory factory) 1750public void CheckIfCompatible(PeerNodeImplementation peerNode, Uri via) 1871bool IPeerNodeMessageHandling.IsKnownVia(Uri via) 1901void HandleIncomingMessage(MessageBuffer messageBuffer, PeerMessagePropagation propagateFlags, int index, MessageHeader header, Uri via, Uri to); 1904bool ValidateIncomingMessage(ref Message data, Uri via); 1905bool IsKnownVia(Uri via);
System\ServiceModel\Channels\PeerOutputChannel.cs (2)
16Uri via; 23EndpointAddress localAddress, Uri via, MessageVersion messageVersion)
System\ServiceModel\Channels\PeerSecurityHelpers.cs (3)
193protected override SecurityProtocol OnCreateSecurityProtocol(EndpointAddress target, Uri via, object listenerSecurityState, TimeSpan timeout) 319Uri status; 393public Uri Status
System\ServiceModel\Channels\PipeConnection.cs (26)
1096public IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state) 1644Exception CreateConnectFailedException(Uri remoteUri, PipeException innerException) 1650public IConnection Connect(Uri remoteUri, TimeSpan timeout) 1680internal static string GetPipeName(Uri uri, IPipeTransportFactorySettings transportFactorySettings) 1764public IAsyncResult BeginConnect(Uri uri, TimeSpan timeout, AsyncCallback callback, object state) 1774void PrepareConnect(Uri remoteUri, TimeSpan timeout, out string resolvedAddress, out BackoffTimeoutHelper backoffHelper) 1799IConnection TryConnect(Uri remoteUri, string resolvedAddress, BackoffTimeoutHelper backoffHelper) 1886Uri remoteUri; 1893public ConnectAsyncResult(PipeConnectionInitiator parent, Uri remoteUri, TimeSpan timeout, 1969Uri pipeUri; 1981public PipeConnectionListener(Uri pipeUri, HostNameComparisonMode hostNameComparisonMode, int bufferSize, 2165Uri tempUri = new Uri(pipeUri, Guid.NewGuid().ToString()); 2505Uri pipeUri; 2507PipeSharedMemory(SafeFileMappingHandle fileMapping, Uri pipeUri) 2512PipeSharedMemory(SafeFileMappingHandle fileMapping, Uri pipeUri, string pipeName) 2519public static PipeSharedMemory Create(List<SecurityIdentifier> allowedSids, Uri pipeUri, string sharedMemoryName) 2533public unsafe static bool TryCreate(List<SecurityIdentifier> allowedSids, Uri pipeUri, string sharedMemoryName, out PipeSharedMemory result) 2607public static PipeSharedMemory Open(string sharedMemoryName, Uri pipeUri) 2711public static Exception CreatePipeNameInUseException(int error, Uri pipeUri) 2717static Exception CreatePipeNameCannotBeAccessedException(int error, Uri pipeUri) 2753public static string BuildSharedMemoryName(Uri uri, HostNameComparisonMode hostNameComparisonMode, bool global) 2800builder.Append(Uri.UriSchemeNetPipe); 2834builder.Append(Uri.UriSchemeNetPipe); 2859public static string GetPath(Uri uri) 2876public static void Validate(Uri uri) 2878if (uri.Scheme != Uri.UriSchemeNetPipe)
System\ServiceModel\Channels\PnrpPeerResolver.cs (3)
544if (name == Uri.UriSchemeNetTcp) 557return Uri.UriSchemeNetTcp; 563void ParseServiceUri(Uri uri, out string scheme, out Guid[] result)
System\ServiceModel\Channels\PrivacyNoticeBindingElement.cs (2)
13Uri url; 28public Uri Url
System\ServiceModel\Channels\RedirectionLocation.cs (2)
17public RedirectionLocation(Uri address) 33public Uri Address { get; private set; }
System\ServiceModel\Channels\ReliableChannelFactory.cs (1)
177protected override TChannel OnCreateChannel(EndpointAddress address, Uri via)
System\ServiceModel\Channels\ReliableDuplexSessionChannel.cs (1)
80public override Uri Via
System\ServiceModel\Channels\ReliableOutputSessionChannel.cs (1)
95public override Uri Via
System\ServiceModel\Channels\RequestChannel.cs (3)
19Uri via; 23protected RequestChannel(ChannelManagerBase channelFactory, EndpointAddress to, Uri via, bool manualAddressing) 55public Uri Via
System\ServiceModel\Channels\SecurityChannelFactory.cs (10)
195protected override TChannel OnCreateChannel(EndpointAddress address, Uri via) 315Uri via; 320UChannel innerChannel, EndpointAddress to, Uri via) 339public Uri Via 542public SecurityOutputChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IOutputChannel innerChannel, EndpointAddress to, Uri via) 581public SecurityOutputSessionChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IOutputSessionChannel innerChannel, EndpointAddress to, Uri via) 597public SecurityRequestChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IRequestChannel innerChannel, EndpointAddress to, Uri via) 690public SecurityRequestSessionChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IRequestSessionChannel innerChannel, EndpointAddress to, Uri via) 706public SecurityDuplexChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IDuplexChannel innerChannel, EndpointAddress to, Uri via) 845public SecurityDuplexSessionChannel(ChannelManagerBase factory, SecurityProtocolFactory securityProtocolFactory, IDuplexSessionChannel innerChannel, EndpointAddress to, Uri via)
System\ServiceModel\Channels\SecurityChannelListener.cs (1)
1036public Uri Via
System\ServiceModel\Channels\ServerWebSocketTransportDuplexSessionChannel.cs (1)
28Uri localVia,
System\ServiceModel\Channels\ServiceChannel.cs (3)
283public Uri ListenUri 388public Uri Via 632Uri localUri = localAddress.Uri;
System\ServiceModel\Channels\ServiceChannelFactory.cs (10)
326public virtual ServiceChannel CreateServiceChannel(EndpointAddress address, Uri via) 348public TChannel CreateChannel<TChannel>(EndpointAddress address, Uri via) 366public object CreateChannel(Type channelType, EndpointAddress address, Uri via) 423protected abstract IChannelBinder CreateInnerChannelBinder(EndpointAddress address, Uri via); 505protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via) 524protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via) 544protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via) 565protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via) 602protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via) 628protected override IChannelBinder CreateInnerChannelBinder(EndpointAddress to, Uri via)
System\ServiceModel\Channels\ServiceContextProtocol.cs (2)
61Uri requestUri = null; 121void OnSendHttpCookies(Message message, ContextMessageProperty context, Uri requestUri)
System\ServiceModel\Channels\ServiceWebSocketContext.cs (1)
54public override Uri RequestUri
System\ServiceModel\Channels\SessionConnectionReader.cs (4)
41Uri via; 42Action<Uri> viaDelegate; 81public Uri Via 325public void StartReading(Action<Uri> viaDelegate, TimeSpan receiveTimeout)
System\ServiceModel\Channels\SharedConnectionListener.cs (9)
39Func<Uri, int> onDuplicatedViaCallback; 43Func<Uri, int> onDuplicatedViaCallback) 325Func<Uri, int> onDuplicatedViaCallback; 339this.isTcp = parent.baseAddress.BaseAddress.Scheme.Equals(Uri.UriSchemeNetTcp); 767IAsyncResult BeginValidateUriRoute(Uri uri, IPAddress address, int port, AsyncCallback callback, object state) 803Uri uri; 808public ValidateUriRouteAsyncResult(SharedListenerProxy proxy, Uri uri, IPAddress address, int port, AsyncCallback callback, object state) 1021public override IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state) 1061public override IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state)
System\ServiceModel\Channels\SharedHttpsTransportManager.cs (2)
14public SharedHttpsTransportManager(Uri listenUri, HttpChannelListener factory) 24return Uri.UriSchemeHttps;
System\ServiceModel\Channels\SharedHttpTransportManager.cs (1)
31internal SharedHttpTransportManager(Uri listenUri, HttpChannelListener channelListener)
System\ServiceModel\Channels\SharedTcpTransportManager.cs (9)
19Uri listenUri; 22Func<Uri, int> onDuplicatedViaCallback; 25public SharedTcpTransportManager(Uri listenUri, TcpChannelListener channelListener) 34protected SharedTcpTransportManager(Uri listenUri) 66public Uri ListenUri 79protected virtual Action<Uri> GetOnViaCallback() 85int OnDuplicatedVia(Uri via) 87Action<Uri> onVia = GetOnViaCallback(); 147this.onDuplicatedViaCallback = new Func<Uri, int>(OnDuplicatedVia);
System\ServiceModel\Channels\SingletonConnectionReader.cs (6)
40Uri via; 47Action<Uri> viaDelegate; 94public Uri Via 942public void StartReading(Action<Uri> viaDelegate, TimeSpan timeout) 1050Uri via; 1054IConnectionOrientedTransportFactorySettings transportSettings, Uri via)
System\ServiceModel\Channels\SocketConnection.cs (9)
671public IAsyncResult BeginValidate(Uri uri, AsyncCallback callback, object state) 1581public static Exception ConvertConnectException(SocketException socketException, Uri remoteUri, TimeSpan timeSpent, Exception innerException) 1628static IPAddress[] GetIPAddresses(Uri uri) 1658static TimeoutException CreateTimeoutException(Uri uri, TimeSpan timeout, IPAddress[] addresses, int invalidAddressCount, 1681public IConnection Connect(Uri uri, TimeSpan timeout) 1751public IAsyncResult BeginConnect(Uri uri, TimeSpan timeout, AsyncCallback callback, object state) 1768public static void TraceConnectFailure(Socket socket, SocketException socketException, Uri remoteUri, 1790Uri uri; 1794public ConnectAsyncResult(Uri uri, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (3)
85Uri listenUri = TransportSecurityHelpers.GetListenUri(context.ListenUriBaseAddress, context.ListenUriRelativeAddress); 248public override StreamUpgradeInitiator CreateUpgradeInitiator(EndpointAddress remoteAddress, Uri via) 763EndpointAddress remoteAddress, Uri via)
System\ServiceModel\Channels\StreamedFramingRequestChannel.cs (1)
24EndpointAddress remoteAddresss, Uri via, IConnectionInitiator connectionInitiator, ConnectionPool connectionPool)
System\ServiceModel\Channels\StreamSecurityUpgradeInitiatorBase.cs (3)
13Uri via; 19protected StreamSecurityUpgradeInitiatorBase(string upgradeString, EndpointAddress remoteAddress, Uri via) 34protected Uri Via
System\ServiceModel\Channels\StreamUpgradeProvider.cs (1)
45public abstract StreamUpgradeInitiator CreateUpgradeInitiator(EndpointAddress remoteAddress, Uri via);
System\ServiceModel\Channels\TcpChannelFactory.cs (1)
43get { return Uri.UriSchemeNetTcp; }
System\ServiceModel\Channels\TcpChannelListener.cs (4)
259get { return Uri.UriSchemeNetTcp; } 278internal static void FixIpv6Hostname(UriBuilder uriBuilder, Uri originalUri) 289Uri listenUri = this.BaseUri; 300internal override ITransportManagerRegistration CreateTransportManagerRegistration(Uri listenUri)
System\ServiceModel\Channels\TcpConnectionPool.cs (1)
34protected override string GetPoolKey(EndpointAddress address, Uri via)
System\ServiceModel\Channels\TcpTransportManager.cs (1)
19get { return Uri.UriSchemeNetTcp; }
System\ServiceModel\Channels\TracingConnection.cs (1)
105internal void ActivityStart(Uri uri)
System\ServiceModel\Channels\TracingConnectionInitiator.cs (3)
19Uri connectedUri; 29public IConnection Connect(Uri uri, TimeSpan timeout) 44public IAsyncResult BeginConnect(Uri uri, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Channels\TracingConnectionListener.cs (1)
23internal TracingConnectionListener(IConnectionListener listener, Uri uri)
System\ServiceModel\Channels\TransactionChannelFactory.cs (3)
87protected override TChannel OnCreateChannel(EndpointAddress remoteAddress, Uri via) 233public Uri Via 290public Uri Via
System\ServiceModel\Channels\TransactionChannelListener.cs (1)
527public Uri Via
System\ServiceModel\Channels\TransportBindingElementImporter.cs (1)
93if (address.Uri.Scheme == Uri.UriSchemeHttps && transportBindingElement is HttpTransportBindingElement && !(transportBindingElement is HttpsTransportBindingElement))
System\ServiceModel\Channels\TransportChannelFactory.cs (1)
175internal void ValidateScheme(Uri via)
System\ServiceModel\Channels\TransportChannelListener.cs (25)
29Uri baseUri; 38Uri uri; 148internal Uri BaseUri 273public override Uri Uri 304internal bool IsScopeIdCompatible(HostNameComparisonMode hostNameComparisonMode, Uri uri) 338static Uri AddSegment(Uri baseUri, Uri fullUri) 340Uri result = null; 350Uri relativeUri = baseUri.MakeRelativeUri(fullUri); 365internal abstract ITransportManagerRegistration CreateTransportManagerRegistration(Uri listenUri); 549Uri nextUri = AddSegment(registration.ListenUri, this.Uri); 572if ((String.Compare(this.Uri.Scheme, Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase) == 0) || 573(String.Compare(this.Uri.Scheme, Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase) == 0) 580else if ((String.Compare(this.Uri.Scheme, Uri.UriSchemeNetTcp, StringComparison.OrdinalIgnoreCase) == 0) || 581(String.Compare(this.Uri.Scheme, Uri.UriSchemeNetPipe, StringComparison.OrdinalIgnoreCase) == 0) 594protected void SetUri(Uri baseAddress, string relativeAddress) 596Uri fullUri = baseAddress; 623protected virtual void ValidateUri(Uri uri) 665Uri ListenUri { get; } 672Uri listenUri; 674protected TransportManagerRegistration(Uri listenUri, HostNameComparisonMode hostNameComparisonMode) 685public Uri ListenUri 698Uri uri; 700public UriTraceRecord(Uri uri)
System\ServiceModel\Channels\TransportDefaults.cs (2)
157internal const Uri CustomDeadLetterQueue = null; 338internal const Uri ProxyAddress = null;
System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (4)
28Uri localVia; 35Uri localVia, 37Uri via) 86protected Uri LocalVia
System\ServiceModel\Channels\TransportOutputChannel.cs (4)
20Uri via; 24protected TransportOutputChannel(ChannelManagerBase channelManager, EndpointAddress to, Uri via, bool manualAddressing, MessageVersion messageVersion) 34Uri toUri; 87public override Uri Via
System\ServiceModel\Channels\TransportSecurityHelpers.cs (15)
46public static bool AddIdentityMapping(Uri via, EndpointAddress target) 91public static void RemoveIdentityMapping(Uri via, EndpointAddress target, bool validateState) 136Fx.Assert(request.RequestUri.Scheme == Uri.UriSchemeHttps, 343public static SecurityTokenRequirement CreateSspiTokenRequirement(string transportScheme, Uri listenUri) 353static SecurityTokenRequirement CreateSspiTokenRequirement(EndpointAddress target, Uri via, string transportScheme) 365SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme, AuthenticationSchemes authenticationScheme, ChannelParameterCollection channelParameters) 385SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme, 405SecurityTokenManager tokenManager, EndpointAddress target, Uri via, 427public static SecurityTokenAuthenticator GetCertificateTokenAuthenticator(SecurityTokenManager tokenManager, string transportScheme, Uri listenUri) 440SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme, ChannelParameterCollection channelParameters) 507EndpointAddress target, Uri via, string transportScheme) 519SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme, AuthenticationSchemes authenticationScheme, 536public static Uri GetListenUri(Uri baseAddress, string relativeAddress) 538Uri fullUri = baseAddress;
System\ServiceModel\Channels\UniqueTransportManagerRegistration.cs (1)
15public UniqueTransportManagerRegistration(TransportManager uniqueManager, Uri listenUri, HostNameComparisonMode hostNameComparisonMode)
System\ServiceModel\Channels\UriHelper.cs (2)
9internal static string NormalizedHost(this Uri uri) 14internal static string NormalizedAbsoluteUri(this Uri uri)
System\ServiceModel\Channels\UriPrefixTable.cs (7)
74Uri uri = key.BaseAddress; 122public bool TryLookupUri(Uri uri, HostNameComparisonMode hostNameComparisonMode, out TItem item) 147public void RegisterUri(Uri uri, HostNameComparisonMode hostNameComparisonMode, TItem item) 168public void UnregisterUri(Uri uri, HostNameComparisonMode hostNameComparisonMode) 234internal static string[] ToPath(Uri uriPath, HostNameComparisonMode hostNameComparisonMode, 251Uri uri; 253internal UriSegmentEnum(Uri uri)
System\ServiceModel\Channels\WebSocketHelper.cs (9)
82internal static Uri GetWebSocketUri(Uri httpUri) 87if (Uri.UriSchemeHttp.Equals(httpUri.Scheme, StringComparison.OrdinalIgnoreCase)) 94Uri.UriSchemeHttps.Equals(httpUri.Scheme, StringComparison.OrdinalIgnoreCase), 102internal static bool IsWebSocketUri(Uri uri) 109internal static Uri NormalizeWsSchemeWithHttpScheme(Uri uri) 122builder.Scheme = Uri.UriSchemeHttp; 125builder.Scheme = Uri.UriSchemeHttps;
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (2)
40public WebSocketTransportDuplexSessionChannel(HttpChannelListener channelListener, EndpointAddress localAddress, Uri localVia, ConnectionBufferPool bufferPool) 51public WebSocketTransportDuplexSessionChannel(HttpChannelFactory<IDuplexSessionChannel> channelFactory, EndpointAddress remoteAddresss, Uri via, ConnectionBufferPool bufferPool)
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (3)
32Uri listenUri; 126public override StreamUpgradeInitiator CreateUpgradeInitiator(EndpointAddress remoteAddress, Uri via) 313WindowsStreamSecurityUpgradeProvider parent, EndpointAddress remoteAddress, Uri via)
System\ServiceModel\Channels\WsrmMessageInfo.cs (2)
833Uri to; 891public Uri To
System\ServiceModel\ClientBase.cs (3)
1185Uri IClientChannel.Via 1353Uri IOutputChannel.Via 1388Uri IRequestChannel.Via
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceRecords.cs (6)
140Uri from = null; 154Uri from = null; 209public static void Trace(TraceEventType type, int traceCode, string description, ServiceInfo info, Uri from, string action, string callerIdentity, 245public static void Trace(TraceEventType type, int traceCode, string description, ServiceInfo info, Uri from, string action, string callerIdentity, 256public static void Trace(TraceEventType type, int traceCode, string description, ServiceInfo info, Uri from, string action, string callerIdentity, 391public static void Trace(TraceEventType type, int traceCode, string description, Uri address, Type contractType)
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceSchemas.cs (12)
153Uri address; 160Uri address, string binding) 381Uri from; 399Uri from, 431Uri from, 539Uri from; 566Uri from, 602Uri from, 630Uri from, 656Uri from, 1008Uri address; 1014Uri address,
System\ServiceModel\ComIntegration\ComPlusInstanceProvider.cs (1)
100Uri from = null;
System\ServiceModel\ComIntegration\ComPlusThreadInitializer.cs (4)
84Uri from = null; 267Uri from; 274Uri from, 286public Uri From
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (3)
421static bool UriSchemeSupportsDisco(Uri serviceUri) 423return (serviceUri.Scheme == Uri.UriSchemeHttp) || (serviceUri.Scheme == Uri.UriSchemeHttps);
System\ServiceModel\ComIntegration\WasHostedComPlusFactory.cs (1)
10public override ServiceHostBase CreateServiceHost(string constructorString, Uri[] baseAddresses)
System\ServiceModel\ComIntegration\WebHostedComPlusServiceHost.cs (2)
15public WebHostedComPlusServiceHost(string webhostParams, Uri[] baseAddresses) 17foreach (Uri address in baseAddresses)
System\ServiceModel\Configuration\BaseAddressPrefixFilterElement.cs (3)
17public BaseAddressPrefixFilterElement(Uri prefix) 28public Uri Prefix 30get { return (Uri)base[ConfigurationStrings.Prefix]; }
System\ServiceModel\Configuration\ChannelEndpointElement.cs (2)
92public Uri Address 94get { return (Uri)base[ConfigurationStrings.Address]; }
System\ServiceModel\Configuration\ClientViaElement.cs (2)
17public Uri ViaUri 19get { return (Uri)base[ConfigurationStrings.ViaUri]; }
System\ServiceModel\Configuration\CompositeDuplexElement.cs (2)
50public Uri ClientBaseAddress 52get { return (Uri)base[ConfigurationStrings.ClientBaseAddress]; }
System\ServiceModel\Configuration\ContextBindingElementExtensionElement.cs (2)
39public Uri ClientCallbackAddress 41get { return (Uri)base[ConfigurationStrings.ClientCallbackAddressName]; }
System\ServiceModel\Configuration\EndpointAddressElementBase.cs (2)
20public Uri Address 22get { return (Uri)base[ConfigurationStrings.Address]; }
System\ServiceModel\Configuration\HttpBindingBaseElement.cs (2)
73public Uri ProxyAddress 75get { return (Uri)base[ConfigurationStrings.ProxyAddress]; }
System\ServiceModel\Configuration\HttpTransportElement.cs (2)
110public Uri ProxyAddress 112get { return (Uri)base[ConfigurationStrings.ProxyAddress]; }
System\ServiceModel\Configuration\MexHttpBindingCollectionElement.cs (1)
25return MetadataExchangeBindings.GetBindingForScheme(Uri.UriSchemeHttp);
System\ServiceModel\Configuration\MexHttpsBindingCollectionElement.cs (1)
25return MetadataExchangeBindings.GetBindingForScheme(Uri.UriSchemeHttps);
System\ServiceModel\Configuration\MexNamedPipeBindingCollectionElement.cs (1)
25return MetadataExchangeBindings.GetBindingForScheme(Uri.UriSchemeNetPipe);
System\ServiceModel\Configuration\MexTcpBindingCollectionElement.cs (1)
25return MetadataExchangeBindings.GetBindingForScheme(Uri.UriSchemeNetTcp);
System\ServiceModel\Configuration\MsmqBindingElementBase.cs (2)
24public Uri CustomDeadLetterQueue 26get { return (Uri)base[ConfigurationStrings.CustomDeadLetterQueue]; }
System\ServiceModel\Configuration\MsmqElementBase.cs (2)
16public Uri CustomDeadLetterQueue 18get { return (Uri)base[ConfigurationStrings.CustomDeadLetterQueue]; }
System\ServiceModel\Configuration\NetTcpContextBindingElement.cs (2)
35public Uri ClientCallbackAddress 37get { return (Uri)base[ConfigurationStrings.ClientCallbackAddressName]; }
System\ServiceModel\Configuration\PeerCustomResolverElement.cs (2)
20public Uri Address 22get { return (Uri)base[ConfigurationStrings.Address]; }
System\ServiceModel\Configuration\PrivacyNoticeElement.cs (2)
14public Uri Url 16get { return (Uri)base[ConfigurationStrings.Url]; }
System\ServiceModel\Configuration\Properties.cs (28)
142properties.Add(new ConfigurationProperty("clientCallbackAddress", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 169properties.Add(new ConfigurationProperty("clientCallbackAddress", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 195properties.Add(new ConfigurationProperty("clientCallbackAddress", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 391properties.Add(new ConfigurationProperty("prefix", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 647properties.Add(new ConfigurationProperty("address", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 706properties.Add(new ConfigurationProperty("viaUri", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 885properties.Add(new ConfigurationProperty("clientBaseAddress", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1118properties.Add(new ConfigurationProperty("address", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.IsRequired)); 1258properties.Add(new ConfigurationProperty("proxyAddress", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1369properties.Add(new ConfigurationProperty("proxyAddress", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1803properties.Add(new ConfigurationProperty("customDeadLetterQueue", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 1914properties.Add(new ConfigurationProperty("customDeadLetterQueue", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2520properties.Add(new ConfigurationProperty("address", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2676properties.Add(new ConfigurationProperty("url", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 2735properties.Add(new ConfigurationProperty("proxyAddress", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3170properties.Add(new ConfigurationProperty("address", typeof(System.Uri), "", null, null, System.Configuration.ConfigurationPropertyOptions.IsKey)); 3181properties.Add(new ConfigurationProperty("listenUri", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3313properties.Add(new ConfigurationProperty("externalMetadataLocation", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3315properties.Add(new ConfigurationProperty("httpGetUrl", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3317properties.Add(new ConfigurationProperty("httpsGetUrl", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3784properties.Add(new ConfigurationProperty("clientBaseAddress", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 3790properties.Add(new ConfigurationProperty("proxyAddress", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 4187properties.Add(new ConfigurationProperty("targetUri", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.IsRequired | System.Configuration.ConfigurationPropertyOptions.IsKey)); 4397properties.Add(new ConfigurationProperty("privacyNoticeAt", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 4503properties.Add(new ConfigurationProperty("httpHelpPageUrl", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 4505properties.Add(new ConfigurationProperty("httpsHelpPageUrl", typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 4537properties.Add(new ConfigurationProperty(ConfigurationStrings.HttpGetUrl, typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None)); 4539properties.Add(new ConfigurationProperty(ConfigurationStrings.HttpsGetUrl, typeof(System.Uri), null, null, null, System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\ServiceDebugElement.cs (4)
25public Uri HttpHelpPageUrl 27get { return (Uri)base[ConfigurationStrings.HttpHelpPageUrl]; } 39public Uri HttpsHelpPageUrl 41get { return (Uri)base[ConfigurationStrings.HttpsHelpPageUrl]; }
System\ServiceModel\Configuration\ServiceEndpointElement.cs (5)
17public ServiceEndpointElement(Uri address, string contractType) 97public Uri Address 99get { return (Uri)base[ConfigurationStrings.Address]; } 229public Uri ListenUri 231get { return (Uri)base[ConfigurationStrings.ListenUri]; }
System\ServiceModel\Configuration\ServiceMetadataPublishingElement.cs (6)
19public Uri ExternalMetadataLocation 21get { return (Uri)base[ConfigurationStrings.ExternalMetadataLocation]; } 33public Uri HttpGetUrl 35get { return (Uri)base[ConfigurationStrings.HttpGetUrl]; } 47public Uri HttpsGetUrl 49get { return (Uri)base[ConfigurationStrings.HttpsGetUrl]; }
System\ServiceModel\Configuration\WSDualHttpBindingElement.cs (4)
40public Uri ClientBaseAddress 42get { return (Uri)base[ConfigurationStrings.ClientBaseAddress]; } 86public Uri ProxyAddress 88get { return (Uri)base[ConfigurationStrings.ProxyAddress]; }
System\ServiceModel\Configuration\WSFederationHttpBindingElement.cs (2)
33public Uri PrivacyNoticeAt 35get { return (Uri) base[ConfigurationStrings.PrivacyNoticeAt]; }
System\ServiceModel\Configuration\WSHttpBindingBaseElement.cs (2)
74public Uri ProxyAddress 76get { return (Uri)base[ConfigurationStrings.ProxyAddress]; }
System\ServiceModel\Configuration\WSHttpContextBindingElement.cs (2)
35public Uri ClientCallbackAddress 37get { return (Uri)base[ConfigurationStrings.ClientCallbackAddressName]; }
System\ServiceModel\Configuration\X509ScopedServiceCertificateElement.cs (2)
22public Uri TargetUri 24get { return (Uri)base[ConfigurationStrings.TargetUri]; }
System\ServiceModel\Description\ClientClassGenerator.cs (1)
43static Type uriType = typeof(Uri);
System\ServiceModel\Description\ClientCredentials.cs (1)
294Uri dummyRelyingPartyIssuer;
System\ServiceModel\Description\ClientUriBehavior.cs (3)
14Uri uri; 16public ClientViaBehavior(Uri uri) 24public Uri Uri
System\ServiceModel\Description\ConfigLoader.cs (7)
381public void LoadHostConfig(ServiceElement serviceElement, ServiceHostBase host, System.Action<Uri> addBaseAddress) 411Uri uri; 412if (!Uri.TryCreate(cookedAddress, UriKind.Absolute, out uri)) 437public void LoadServiceDescription(ServiceHostBase host, ServiceDescription description, ServiceElement serviceElement, System.Action<Uri> addBaseAddress, bool skipHost = false) 494Uri address = endpointElement.Address; 504Uri via = ServiceHost.MakeAbsoluteUri(address, binding, host.InternalBaseAddresses); 984Uri via = ServiceHost.MakeAbsoluteUri(serviceEndpointElement.Address, endpoint.Binding, host.InternalBaseAddresses);
System\ServiceModel\Description\DispatcherBuilder.cs (14)
133Uri listenUri; 136public ListenUriInfo(Uri listenUri, ListenUriMode listenUriMode) 142public Uri ListenUri 241Uri listenUri, 250Uri listenUriBaseAddress; 379Uri listenUriBaseAddress, string listenUriRelativeAddress, 389Uri listenUriBaseAddress, string listenUriRelativeAddress, 540static Uri EnsureListenUri(ServiceHostBase serviceHost, ServiceEndpoint endpoint) 542Uri listenUri = endpoint.ListenUri; 555void GetBaseAndRelativeAddresses(ServiceHostBase serviceHost, Uri listenUri, string scheme, out Uri listenUriBaseAddress, out string listenUriRelativeAddress) 563Uri baseAddress = serviceHost.InternalBaseAddresses[scheme]; 621Uri listenUri = EnsureListenUri(host, endpoint); 687Uri listenUri = stuff.Key.ListenUri;
System\ServiceModel\Description\MetadataExchangeClient.cs (24)
40Uri ctorUri = null; 51public MetadataExchangeClient(Uri address, MetadataExchangeClientMode mode) 210bool IsHttpOrHttps(Uri address) 212return address.Scheme == Uri.UriSchemeHttp || address.Scheme == Uri.UriSchemeHttps; 234void Validate(Uri address, MetadataExchangeClientMode mode) 263public IAsyncResult BeginGetMetadata(Uri address, MetadataExchangeClientMode mode, AsyncCallback callback, object asyncState) 306public Task<MetadataSet> GetMetadataAsync(Uri address, MetadataExchangeClientMode mode) 327public Task<MetadataSet> GetMetadataAsync(EndpointAddress address, Uri via) 351public MetadataSet GetMetadata(Uri address, MetadataExchangeClientMode mode) 378public MetadataSet GetMetadata(EndpointAddress address, Uri via) 443protected internal virtual HttpWebRequest GetWebRequest(Uri location, string dialect, string identifier) 452internal static void TraceSendRequest(Uri address) 621Uri CreateUri(string baseUri, string relativeUri) 737Uri location; 738Uri responseLocation; 740internal MetadataLocationRetriever(Uri location, MetadataExchangeClient resolver) 746internal MetadataLocationRetriever(Uri location, MetadataExchangeClient resolver, string dialect, string identifier) 754internal static void ValidateLocation(Uri location) 761if (location.Scheme != Uri.UriSchemeHttp && location.Scheme != Uri.UriSchemeHttps) 954Uri via; 961public MetadataReferenceRetriever(EndpointAddress address, Uri via, MetadataExchangeClient resolver) 971MetadataReferenceRetriever(EndpointAddress address, Uri via, MetadataExchangeClient resolver, string dialect, string identifier)
System\ServiceModel\Description\MetadataLocation.cs (2)
35Uri uri; 36if (!Uri.TryCreate(value, UriKind.RelativeOrAbsolute, out uri))
System\ServiceModel\Description\MetadataResolver.cs (6)
52public static ServiceEndpointCollection Resolve(Type contract, Uri address, MetadataExchangeClientMode mode) 61public static ServiceEndpointCollection Resolve(IEnumerable<ContractDescription> contracts, Uri address, MetadataExchangeClientMode mode) 65public static ServiceEndpointCollection Resolve(IEnumerable<ContractDescription> contracts, Uri address, MetadataExchangeClientMode mode, MetadataExchangeClient client) 118public static IAsyncResult BeginResolve(Type contract, Uri address, MetadataExchangeClientMode mode, AsyncCallback callback, object asyncState) 127public static IAsyncResult BeginResolve(IEnumerable<ContractDescription> contracts, Uri address, MetadataExchangeClientMode mode, AsyncCallback callback, object asyncState) 131public static IAsyncResult BeginResolve(IEnumerable<ContractDescription> contracts, Uri address, MetadataExchangeClientMode mode, MetadataExchangeClient client,
System\ServiceModel\Description\ServiceDebugBehavior.cs (19)
22Uri httpHelpPageUrl; 25Uri httpsHelpPageUrl; 39public Uri HttpHelpPageUrl 44if (value != null && value.IsAbsoluteUri && value.Scheme != Uri.UriSchemeHttp) 47"HttpHelpPageUrl", Uri.UriSchemeHttp, value.ToString(), value.Scheme)); 62public Uri HttpsHelpPageUrl 67if (value != null && value.IsAbsoluteUri && value.Scheme != Uri.UriSchemeHttps) 70"HttpsHelpPageUrl", Uri.UriSchemeHttps, value.ToString(), value.Scheme)); 83if (!value.Scheme.Equals(Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase)) 86value.Scheme, value.GetType().ToString(), Uri.UriSchemeHttp)); 112if (!value.Scheme.Equals(Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase)) 115value.Scheme, value.GetType().ToString(), Uri.UriSchemeHttps)); 184mex.HttpHelpPageUrl = host.GetVia(Uri.UriSchemeHttp, this.httpHelpPageUrl == null ? new Uri(string.Empty, UriKind.Relative) : this.httpHelpPageUrl); 188mex.HttpsHelpPageUrl = host.GetVia(Uri.UriSchemeHttps, this.httpsHelpPageUrl == null ? new Uri(string.Empty, UriKind.Relative) : this.httpsHelpPageUrl); 192bool EnsureHelpPageDispatcher(ServiceHostBase host, ServiceMetadataExtension mex, Uri url, string scheme) 194Uri address = host.GetVia(scheme, url == null ? new Uri(string.Empty, UriKind.Relative) : url); 211if (!EnsureHelpPageDispatcher(host, mex, this.httpHelpPageUrl, Uri.UriSchemeHttp)) 219if (!EnsureHelpPageDispatcher(host, mex, this.httpsHelpPageUrl, Uri.UriSchemeHttps)) 226static void TraceWarning(Uri address, string urlProperty, string enabledProperty)
System\ServiceModel\Description\ServiceEndpoint.cs (4)
24Uri listenUri; 122public Uri ListenUri 175internal Uri UnresolvedAddress 181internal Uri UnresolvedListenUri
System\ServiceModel\Description\ServiceEndpointCollection.cs (1)
104public ServiceEndpoint Find(Uri address)
System\ServiceModel\Description\ServiceMetadataBehavior.cs (25)
24static readonly Uri emptyUri = new Uri(String.Empty, UriKind.Relative); 28Uri httpGetUrl; 29Uri httpsGetUrl; 32Uri externalMetadataLocation = null; 45public Uri HttpGetUrl 50if (value != null && value.IsAbsoluteUri && value.Scheme != Uri.UriSchemeHttp) 53"HttpGetUrl", Uri.UriSchemeHttp, value.ToString(), value.Scheme)); 66public Uri HttpsGetUrl 71if (value != null && value.IsAbsoluteUri && value.Scheme != Uri.UriSchemeHttps) 74"HttpsGetUrl", Uri.UriSchemeHttps, value.ToString(), value.Scheme)); 88if (!value.Scheme.Equals(Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase)) 91value.Scheme, value.GetType().ToString(), Uri.UriSchemeHttp)); 117if (!value.Scheme.Equals(Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase)) 120value.Scheme, value.GetType().ToString(), Uri.UriSchemeHttps)); 141public Uri ExternalMetadataLocation 146if (value != null && value.IsAbsoluteUri && !(value.Scheme == Uri.UriSchemeHttp || value.Scheme == Uri.UriSchemeHttps)) 211httpDispatcherEnabled = EnsureGetDispatcher(host, mex, this.httpGetUrl, Uri.UriSchemeHttp); 216httpsDispatcherEnabled = EnsureGetDispatcher(host, mex, this.httpsGetUrl, Uri.UriSchemeHttps); 233static bool EnsureGetDispatcher(ServiceHostBase host, ServiceMetadataExtension mex, Uri url, string scheme) 235Uri address = host.GetVia(scheme, url == null ? new Uri(string.Empty, UriKind.Relative) : url); 254mex.HttpGetUrl = host.GetVia(Uri.UriSchemeHttp, this.httpGetUrl == null ? new Uri(string.Empty, UriKind.Relative) : this.httpGetUrl); 255mex.HttpsGetUrl = host.GetVia(Uri.UriSchemeHttps, this.httpsGetUrl == null ? new Uri(string.Empty, UriKind.Relative) : this.httpsGetUrl); 309bool isListeningOnHttps = channelDispatcher.Listener.Uri.Scheme == Uri.UriSchemeHttps; 310Uri listenUri = channelDispatcher.Listener.Uri;
System\ServiceModel\Description\ServiceMetadataExtension.cs (58)
27static readonly Uri EmptyUri = new Uri(String.Empty, UriKind.Relative); 35Uri externalMetadataLocation; 44Uri mexUrl; 45Uri httpGetUrl; 46Uri httpsGetUrl; 47Uri httpHelpPageUrl; 48Uri httpsHelpPageUrl; 90internal Uri ExternalMetadataLocation 136internal Uri MexUrl 142internal Uri HttpGetUrl 148internal Uri HttpsGetUrl 154internal Uri HttpHelpPageUrl 160internal Uri HttpsHelpPageUrl 195internal static bool TryGetHttpHostAndPort(Uri listenUri, Message request, out string host, out int port) 219Uri hostUri; 220if (!Uri.TryCreate(hostUriString, UriKind.Absolute, out hostUri)) 318internal ChannelDispatcher EnsureGetDispatcher(Uri listenUri) 331internal ChannelDispatcher EnsureGetDispatcher(Uri listenUri, bool isServiceDebugBehavior) 338if (listenUri.Scheme == Uri.UriSchemeHttp) 349else if (listenUri.Scheme == Uri.UriSchemeHttps) 362throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.SFxGetChannelDispatcherDoesNotSupportScheme, typeof(ChannelDispatcher).Name, Uri.UriSchemeHttp, Uri.UriSchemeHttps))); 371internal ChannelDispatcher FindGetDispatcher(Uri listenUri) 389internal ChannelDispatcher CreateGetDispatcher(Uri listenUri) 391if (listenUri.Scheme == Uri.UriSchemeHttp) 395else if (listenUri.Scheme == Uri.UriSchemeHttps) 401throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.SFxGetChannelDispatcherDoesNotSupportScheme, typeof(ChannelDispatcher).Name, Uri.UriSchemeHttp, Uri.UriSchemeHttps))); 405internal ChannelDispatcher CreateGetDispatcher(Uri listenUri, Binding binding) 410internal ChannelDispatcher CreateGetDispatcher(Uri listenUri, Binding binding, string bindingName) 413Uri listenUriBaseAddress = listenUri; 465WriteFilter GetWriteFilter(Message request, Uri listenUri, bool removeBaseAddress) 488DynamicAddressUpdateWriter GetDynamicAddressWriter(Message request, Uri listenUri, bool removeBaseAddress) 529Uri listenUri; 533internal WSMexImpl(ServiceMetadataExtension parent, bool isListeningOnHttps, Uri listenUri) 557Uri location = this.parent.ExternalMetadataLocation; 561Uri httpAddr = parent.owner.GetVia(Uri.UriSchemeHttp, location); 562Uri httpsAddr = parent.owner.GetVia(Uri.UriSchemeHttps, location); 661Uri listenUri; 665internal HttpGetImpl(ServiceMetadataExtension parent, Uri listenUri) 708Uri location = this.parent.ExternalMetadataLocation; 710Uri result = ServiceHost.GetUri(this.listenUri, location); 773Uri result = null; 774if (this.listenUri.Scheme == Uri.UriSchemeHttp) 805Uri result = parent.MexUrl; 957Uri wsdlUrlBase = this.listenUri; 964Uri docUrl = null; 965if (this.listenUri.Scheme == Uri.UriSchemeHttp) 1908internal DynamicAddressUpdateWriter(Uri listenUri, string requestHost, int requestPort, 1941Uri uri; 1952else if (Uri.TryCreate(text, UriKind.Absolute, out uri)) 1954Uri newUri = UpdateUri(uri); 1963public void UpdateUri(ref Uri uri, bool updateBaseAddressOnly = false) 1965Uri newUri = UpdateUri(uri, updateBaseAddressOnly); 1972Uri UpdateUri(Uri uri, bool updateBaseAddressOnly = false)
System\ServiceModel\Description\ServiceReflector.cs (5)
30if (Uri.IsWellFormedUriString(path, UriKind.Absolute) || path == String.Empty) 145Uri uri; 146if (!Uri.TryCreate(ns, UriKind.RelativeOrAbsolute, out uri)) 152Uri uri; 153if (!Uri.TryCreate(ns, UriKind.RelativeOrAbsolute, out uri))
System\ServiceModel\Diagnostics\AddressingProperty.cs (2)
14Uri to; 48public Uri To
System\ServiceModel\Diagnostics\MessageTransmitTraceRecord.cs (3)
13Uri address = null; 35MessageTransmitTraceRecord(Message message, string addressElementName, Uri uri) 49internal static MessageTransmitTraceRecord CreateReceiveTraceRecord(Message message, Uri uri)
System\ServiceModel\Diagnostics\PeerNodeTraceRecord.cs (3)
277Uri via; 278public PeerSignatureFailureTraceRecord(string meshId, Uri via, ClaimSet claimSet, Exception exception) 302Uri from;
System\ServiceModel\Diagnostics\PerformanceCounters.cs (2)
683static void CallOnAllCounters(string methodName, Message message, Uri listenUri, bool includeOperations) 721static internal void AuthenticationFailed(Message message, Uri listenUri)
System\ServiceModel\Diagnostics\SecurityTraceRecordHelper.cs (26)
380internal static void TracePendingSessionAdded(UniqueId sessionId, Uri listenAddress) 386internal static void TracePendingSessionClosed(UniqueId sessionId, Uri listenAddress) 392internal static void TracePendingSessionActivated(UniqueId sessionId, Uri listenAddress) 398internal static void TraceActiveSessionRemoved(UniqueId sessionId, Uri listenAddress) 404internal static void TraceNewServerSessionKeyIssued(SecurityContextSecurityToken newToken, SecurityContextSecurityToken supportingToken, Uri listenAddress) 410internal static void TraceInactiveSessionFaulted(SecurityContextSecurityToken sessionToken, Uri listenAddress) 416internal static void TraceServerSessionKeyUpdated(SecurityContextSecurityToken sessionToken, Uri listenAddress) 422internal static void TraceServerSessionCloseReceived(SecurityContextSecurityToken sessionToken, Uri listenAddress) 428internal static void TraceServerSessionCloseResponseReceived(SecurityContextSecurityToken sessionToken, Uri listenAddress) 434internal static void TraceSessionRenewalFaultSent(SecurityContextSecurityToken sessionToken, Uri listenAddress, Message message) 443internal static void TraceSessionAbortedFaultSent(SecurityContextSecurityToken sessionToken, Uri listenAddress) 449internal static void TraceSessionClosedResponseSent(SecurityContextSecurityToken sessionToken, Uri listenAddress) 455internal static void TraceSessionClosedSent(SecurityContextSecurityToken sessionToken, Uri listenAddress) 461internal static void TraceRenewFaultSendFailure(SecurityContextSecurityToken sessionToken, Uri listenAddress, Exception e) 467internal static void TraceSessionAbortedFaultSendFailure(SecurityContextSecurityToken sessionToken, Uri listenAddress, Exception e) 473internal static void TraceSessionClosedResponseSendFailure(SecurityContextSecurityToken sessionToken, Uri listenAddress, Exception e) 479internal static void TraceSessionCloseSendFailure(SecurityContextSecurityToken sessionToken, Uri listenAddress, Exception e) 503internal static void TraceServerSessionOperationException(SecuritySessionOperation operation, Exception e, Uri listenAddress) 629Uri listenAddress; 631public SessionResponderTraceRecord(SecuritySessionOperation operation, Exception e, Uri listenAddress) 714Uri listenAddress; 716public ServerSessionTraceRecord(SecurityContextSecurityToken currentSessionToken, SecurityContextSecurityToken newSessionToken, Uri listenAddress) 724public ServerSessionTraceRecord(SecurityContextSecurityToken currentSessionToken, Message message, Uri listenAddress) 732public ServerSessionTraceRecord(SecurityContextSecurityToken currentSessionToken, Uri listenAddress) 739public ServerSessionTraceRecord(UniqueId sessionId, Uri listenAddress) 897Uri to = this.message.Headers.To;
System\ServiceModel\Dispatcher\BufferedReceiveBinder.cs (1)
40public Uri ListenUri
System\ServiceModel\Dispatcher\ClientRuntime.cs (2)
64Uri via; 184public Uri Via
System\ServiceModel\Dispatcher\DuplexChannelBinder.cs (5)
27Uri listenUri; 44internal DuplexChannelBinder(IDuplexChannel channel, IRequestReplyCorrelator correlator, Uri listenUri) 50internal DuplexChannelBinder(IDuplexSessionChannel channel, IRequestReplyCorrelator correlator, Uri listenUri) 125public Uri ListenUri 1134public Uri Via
System\ServiceModel\Dispatcher\EndpointAddressMessageFilter.cs (6)
96Uri to = message.Headers.To; 97Uri actingAs = this.address.Uri; 120internal abstract class UriComparer : EqualityComparer<Uri> 135public override bool Equals(Uri u1, Uri u2) 140public override int GetHashCode(Uri uri)
System\ServiceModel\Dispatcher\EndpointAddressMessageFilterTable.cs (10)
30Dictionary<Uri, CandidateSet> toHostLookup; 31Dictionary<Uri, CandidateSet> toNoHostLookup; 75this.toHostLookup = new Dictionary<Uri, CandidateSet>(EndpointAddressMessageFilter.HostUriComparer.Value); 76this.toNoHostLookup = new Dictionary<Uri, CandidateSet>(EndpointAddressMessageFilter.NoHostUriComparer.Value); 157Uri soapToAddress = filter.Address.Uri; 325internal virtual bool TryMatchCandidateSet(Uri to, bool includeHostNameInComparison, out CandidateSet cset) 339Uri to = message.Headers.To; 422Uri to = message.Headers.To; 456Uri to = message.Headers.To; 723Uri soapToAddress = filter.Address.Uri;
System\ServiceModel\Dispatcher\EndpointDispatcher.cs (3)
25Uri listenUri; 151internal Uri ListenUri 303Uri keyUri = null;
System\ServiceModel\Dispatcher\IChannelBinder.cs (1)
15Uri ListenUri { get; }
System\ServiceModel\Dispatcher\ImmutableDispatchRuntime.cs (1)
948Uri remoteUri = remoteAddress.Uri;
System\ServiceModel\Dispatcher\InputChannelBinder.cs (3)
16Uri listenUri; 18internal InputChannelBinder(IInputChannel channel, Uri listenUri) 39public Uri ListenUri
System\ServiceModel\Dispatcher\MultipleReceiveBinder.cs (1)
46public Uri ListenUri
System\ServiceModel\Dispatcher\OutputChannelBinder.cs (1)
37public Uri ListenUri
System\ServiceModel\Dispatcher\PrefixEndpointAddressMessageFilter.cs (1)
89Uri to = message.Headers.To;
System\ServiceModel\Dispatcher\PrefixEndpointAddressMessageFilterTable.cs (3)
63Uri soapToAddress = filter.Address.Uri; 86internal override bool TryMatchCandidateSet(Uri to, bool includeHostNameInComparison, out CandidateSet cset) 138Uri soapToAddress = filter.Address.Uri;
System\ServiceModel\Dispatcher\ReplyChannelBinder.cs (3)
16Uri listenUri; 18internal ReplyChannelBinder(IReplyChannel channel, Uri listenUri) 39public Uri ListenUri
System\ServiceModel\Dispatcher\RequestChannelBinder.cs (1)
36public Uri ListenUri
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (6)
67public override IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, params object[] parameters) 72public override IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, string listenUriRelativeAddress, params object[] parameters) 77public override IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, string listenUriRelativeAddress, ListenUriMode listenUriMode, params object[] parameters) 87public override IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, BindingParameterCollection parameters) 92public override IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, string listenUriRelativeAddress, BindingParameterCollection parameters) 97public override IChannelListener<TChannel> BuildChannelListener<TChannel>(Uri listenUriBaseAddress, string listenUriRelativeAddress, ListenUriMode listenUriMode, BindingParameterCollection parameters)
System\ServiceModel\Dispatcher\XPathMessageContext.cs (2)
706Uri tempTo = msg.Headers.To; 723Uri to = nav.Message.Headers.To;
System\ServiceModel\DuplexChannelFactory.cs (4)
211public override TChannel CreateChannel(EndpointAddress address, Uri via) 216public virtual TChannel CreateChannel(InstanceContext callbackInstance, EndpointAddress address, Uri via) 282public static TChannel CreateChannel(object callbackObject, Binding binding, EndpointAddress endpointAddress, Uri via) 303public static TChannel CreateChannel(InstanceContext callbackInstance, Binding binding, EndpointAddress endpointAddress, Uri via)
System\ServiceModel\EndpointAddress.cs (33)
17static Uri anonymousUri; 18static Uri noneUri; 76Uri uri; 87EndpointAddress(AddressingVersion version, Uri uri, EndpointIdentity identity, AddressHeaderCollection headers, XmlBuffer buffer, int metadataSection, int extensionSection, int pspSection) 99Uri u = new Uri(uri); 104public EndpointAddress(Uri uri, params AddressHeader[] addressHeaders) 109public EndpointAddress(Uri uri, EndpointIdentity identity, params AddressHeader[] addressHeaders) 119public EndpointAddress(Uri uri, EndpointIdentity identity, AddressHeaderCollection headers) 129internal EndpointAddress(Uri newUri, EndpointAddress oldEndpointAddress) 134internal EndpointAddress(Uri uri, EndpointIdentity identity, AddressHeaderCollection headers, XmlDictionaryReader metadataReader, XmlDictionaryReader extensionReader, XmlDictionaryReader pspReader) 164public EndpointAddress(Uri uri, EndpointIdentity identity, AddressHeaderCollection headers, XmlDictionaryReader metadataReader, XmlDictionaryReader extensionReader) 169void Init(Uri uri, EndpointIdentity identity, AddressHeader[] headers) 181void Init(Uri uri, EndpointIdentity identity, AddressHeaderCollection headers, XmlBuffer buffer, int metadataSection, int extensionSection, int pspSection) 186void Init(AddressingVersion version, Uri uri, EndpointIdentity identity, AddressHeaderCollection headers, XmlBuffer buffer, int metadataSection, int extensionSection, int pspSection) 230public static Uri AnonymousUri 240public static Uri NoneUri 296public Uri Uri 309Uri uri = this.Uri; 346internal static bool UriEquals(Uri u1, Uri u2, bool ignoreCase, bool includeHostInComparison) 351internal static bool UriEquals(Uri u1, Uri u2, bool ignoreCase, bool includeHostInComparison, bool includePortInComparison) 397internal static int UriGetHashCode(Uri uri, bool includeHostInComparison) 402internal static int UriGetHashCode(Uri uri, bool includeHostInComparison, bool includePortInComparison) 435Uri thisTo = this.Uri; 436Uri otherTo = endpointAddress.Uri; 664Uri uri; 749static bool ReadContentsFrom200408(XmlDictionaryReader reader, out Uri uri, out AddressHeaderCollection headers, out EndpointIdentity identity, out XmlBuffer buffer, out int metadataSection, out int extensionSection, out int pspSection) 899if (!Uri.TryCreate(address, UriKind.Absolute, out uri)) 905static bool ReadContentsFrom10(XmlDictionaryReader reader, out Uri uri, out AddressHeaderCollection headers, out EndpointIdentity identity, out XmlBuffer buffer, out int metadataSection, out int extensionSection) 966if (!Uri.TryCreate(address, UriKind.Absolute, out uri)) 1264Uri uri; 1296public Uri Uri
System\ServiceModel\HttpBindingBase.cs (1)
130public Uri ProxyAddress
System\ServiceModel\IClientChannel.cs (1)
19Uri Via { get; }
System\ServiceModel\IServiceChannel.cs (1)
16Uri ListenUri { get; }
System\ServiceModel\MsmqBindingBase.cs (1)
26public Uri CustomDeadLetterQueue
System\ServiceModel\MsmqIntegration\MsmqIntegrationChannelFactory.cs (1)
110protected override IOutputChannel OnCreateChannel(EndpointAddress to, Uri via)
System\ServiceModel\MsmqIntegration\MsmqIntegrationInputMessage.cs (1)
114static Uri GetQueueName(string formatName)
System\ServiceModel\MsmqIntegration\MsmqIntegrationMessageProperty.cs (6)
45Uri administrationQueue = null; 46public Uri AdministrationQueue 87Uri destinationQueue = null; 88public Uri DestinationQueue 133Uri responseQueue = null; 134public Uri ResponseQueue
System\ServiceModel\MsmqIntegration\MsmqIntegrationOutputChannel.cs (3)
21public MsmqIntegrationOutputChannel(MsmqIntegrationChannelFactory factory, EndpointAddress to, Uri via, bool manualAddressing) 254void EnsureAdminQueueProperty(Uri value, bool useNetMsmqTranslator) 273void EnsureResponseQueueProperty(Uri value)
System\ServiceModel\MsmqIntegration\MsmqMessage.cs (3)
49public Uri AdministrationQueue 83public Uri DestinationQueue 116public Uri ResponseQueue
System\ServiceModel\NetTcpContextBinding.cs (1)
56public Uri ClientCallbackAddress
System\ServiceModel\Security\AcceleratedTokenProvider.cs (6)
23Uri privacyNoticeUri; 63public Uri PrivacyNoticeUri 203protected override IRequestChannel CreateClientChannel(EndpointAddress target, Uri via) 221protected override bool CreateNegotiationStateCompletesSynchronously(EndpointAddress target, Uri via) 226protected override AcceleratedTokenProviderState CreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout) 241protected override IAsyncResult BeginCreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Security\AsymmetricSecurityProtocol.cs (1)
25EndpointAddress target, Uri via)
System\ServiceModel\Security\AsymmetricSecurityProtocolFactory.cs (1)
184protected override SecurityProtocol OnCreateSecurityProtocol(EndpointAddress target, Uri via, object listenerSecurityState, TimeSpan timeout)
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (9)
115spnegoTokenProvider.Via = initiatorRequirement.GetPropertyOrDefault<Uri>(InitiatorServiceModelSecurityTokenRequirement.ViaProperty, null); 212tlsnegoTokenProvider.Via = initiatorRequirement.GetPropertyOrDefault<Uri>(InitiatorServiceModelSecurityTokenRequirement.ViaProperty, null); 242sessionTokenProvider.Via = initiatorRequirement.GetPropertyOrDefault<Uri>(InitiatorServiceModelSecurityTokenRequirement.ViaProperty, null); 243Uri privacyNoticeUri; 244if (initiatorRequirement.TryGetProperty<Uri>(ServiceModelSecurityTokenRequirement.PrivacyNoticeUriProperty, out privacyNoticeUri)) 276acceleratedTokenProvider.Via = initiatorRequirement.GetPropertyOrDefault<Uri>(InitiatorServiceModelSecurityTokenRequirement.ViaProperty, null); 277Uri privacyNoticeUri; 278if (initiatorRequirement.TryGetProperty<Uri>(ServiceModelSecurityTokenRequirement.PrivacyNoticeUriProperty, out privacyNoticeUri)) 474Uri issuerUri = issuerAddress.Uri;
System\ServiceModel\Security\DuplexSecurityProtocolFactory.cs (1)
155protected override SecurityProtocol OnCreateSecurityProtocol(EndpointAddress target, Uri via, object listenerSecurityState, TimeSpan timeout)
System\ServiceModel\Security\FederatedSecurityTokenManager.cs (2)
584Uri listenUri = null; 587listenUri = tokenRequirement.Properties[ListenUriProperty] as Uri;
System\ServiceModel\Security\IdentityModelServiceAuthorizationManager.cs (1)
666System.Uri resource = operationContext.IncomingMessageHeaders.To;
System\ServiceModel\Security\IdentityVerifier.cs (4)
62static void AdjustAddress(ref EndpointAddress reference, Uri via) 71internal bool TryGetIdentity(EndpointAddress reference, Uri via, out EndpointIdentity identity) 82internal void EnsureOutgoingIdentity(EndpointAddress serviceReference, Uri via, AuthorizationContext authorizationContext) 218Uri toAddress = reference.Uri;
System\ServiceModel\Security\InfoCardChannelParameter.cs (3)
18Uri m_relyingPartyIssuer; 29public Uri RelyingPartyIssuer 45public InfoCardChannelParameter(SecurityToken token, Uri relyingIssuer, bool requiresInfoCard)
System\ServiceModel\Security\InfoCardHelper.cs (16)
40static Uri selfIssuerUri; 94Uri privacyNoticeLink; 95if (!tokenRequirement.TryGetProperty<Uri>(ServiceModelSecurityTokenRequirement.PrivacyNoticeUriProperty, out privacyNoticeLink)) 116public static bool IsInfocardRequired(Binding binding, ClientCredentials clientCreds, SecurityTokenManager clientCredentialsTokenManager, EndpointAddress target, out CardSpacePolicyElement[] infocardChain, out Uri relyingPartyIssuer) 131Uri privacyNotice; 154static Uri SelfIssuerUri 165static PolicyElement[] GetPolicyChain(EndpointAddress target, Binding outerBinding, IssuedSecurityTokenParameters parameters, Uri firstPrivacyNoticeLink, int firstPrivacyNoticeVersion, SecurityTokenManager clientCredentialsTokenManager) 172Uri privacyNoticeLink = firstPrivacyNoticeLink; 249static bool RequiresInfoCard(PolicyElement[] chain, out Uri relyingPartyIssuer) 355static SecurityTokenProvider CreateTokenProviderForNextLeg(SecurityTokenRequirement tokenRequirement, EndpointAddress target, EndpointAddress issuerAddress, Uri relyingPartyIssuer, ClientCredentialsSecurityTokenManager clientCredentialsTokenManager, InfoCardChannelParameter infocardChannelParameter) 428static void GetPrivacyNoticeLinkFromIssuerBinding(Binding issuerBinding, out Uri privacyNotice, out int privacyNoticeVersion) 638Uri m_relyingPartyIssuer; 653Uri relyingPartyIssuer, 695Uri m_relyingPartyIssuer; 727Uri m_policyNoticeLink; 752public PolicyElement(EndpointAddress target, EndpointAddress issuer, Collection<XmlElement> parameters, Uri privacyNoticeLink, int privacyNoticeVersion, bool isManagedIssuer, Binding binding)
System\ServiceModel\Security\InfocardInteractiveChannelInitializer.cs (1)
50Uri relyingPartyIssuer;
System\ServiceModel\Security\InitiatorSessionSymmetricMessageSecurityProtocol.cs (1)
30EndpointAddress target, Uri via)
System\ServiceModel\Security\InitiatorSessionSymmetricTransportSecurityProtocol.cs (1)
24EndpointAddress target, Uri via) : base(factory, target, via)
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (9)
32Uri via = null; 190public Uri Via 416protected abstract bool CreateNegotiationStateCompletesSynchronously(EndpointAddress target, Uri via); 417protected abstract IAsyncResult BeginCreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout, AsyncCallback callback, object state); 418protected abstract T CreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout); 428protected abstract IRequestChannel CreateClientChannel(EndpointAddress target, Uri via); 697Uri targetUri; 707Uri issuerUri; 759Uri via;
System\ServiceModel\Security\IssuedTokenClientCredential.cs (5)
17Dictionary<Uri, KeyedByTypeCollection<IEndpointBehavior>> issuerChannelBehaviors; 41this.issuerChannelBehaviors = new Dictionary<Uri, KeyedByTypeCollection<IEndpointBehavior>>(); 42foreach (Uri uri in other.issuerChannelBehaviors.Keys) 116public Dictionary<Uri, KeyedByTypeCollection<IEndpointBehavior>> IssuerChannelBehaviors 121this.issuerChannelBehaviors = new Dictionary<Uri, KeyedByTypeCollection<IEndpointBehavior>>();
System\ServiceModel\Security\MessageSecurityProtocol.cs (1)
24protected MessageSecurityProtocol(MessageSecurityProtocolFactory factory, EndpointAddress target, Uri via)
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (5)
49Uri listenUri; 350public Uri ListenUri 719Uri to = null; 954Uri listenUri; 958public NegotiationHost(NegotiationTokenAuthenticator<T> authenticator, Uri listenUri, ChannelBuilder channelBuilder, MessageFilter listenerFilter)
System\ServiceModel\Security\NegotiationTokenProvider.cs (1)
168protected override IRequestChannel CreateClientChannel(EndpointAddress target, Uri via)
System\ServiceModel\Security\SctClaimSerializer.cs (1)
165writer.WriteString(((Uri)claim.Resource).AbsoluteUri);
System\ServiceModel\Security\SecurityProtocol.cs (4)
39Uri via; 43protected SecurityProtocol(SecurityProtocolFactory factory, EndpointAddress target, Uri via) 66public Uri Via 573internal bool TryGetSupportingTokens(SecurityProtocolFactory factory, EndpointAddress target, Uri via, Message message, TimeSpan timeout, bool isBlockingCall, out IList<SupportingTokenSpecification> supportingTokens)
System\ServiceModel\Security\SecurityProtocolFactory.cs (6)
115Uri listenUri; 118Uri privacyNoticeUri; 302public Uri PrivacyNoticeUri 606public Uri ListenUri 716public SecurityProtocol CreateSecurityProtocol(EndpointAddress target, Uri via, object listenerSecurityState, bool isReturnLegSecurityRequired, TimeSpan timeout) 756protected abstract SecurityProtocol OnCreateSecurityProtocol(EndpointAddress target, Uri via, object listenerSecurityState, TimeSpan timeout);
System\ServiceModel\Security\SecuritySessionClientSettings.cs (8)
329internal TChannel OnCreateChannel(EndpointAddress remoteAddress, Uri via) 334internal TChannel OnCreateChannel(EndpointAddress remoteAddress, Uri via, MessageFilter filter) 417Uri via; 441protected ClientSecuritySessionChannel(SecuritySessionClientSettings<TChannel> settings, EndpointAddress to, Uri via) 478public Uri Via 2801protected ClientSecuritySimplexSessionChannel(SecuritySessionClientSettings<TChannel> settings, EndpointAddress to, Uri via) 2833public SecurityRequestSessionChannel(SecuritySessionClientSettings<TChannel> settings, EndpointAddress to, Uri via) 3155public ClientSecurityDuplexSessionChannel(SecuritySessionClientSettings<TChannel> settings, EndpointAddress to, Uri via)
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (4)
41Uri listenUri; 312public Uri ListenUri 1143Uri listenUri; 1146public SecuritySessionHost(SecuritySessionSecurityTokenAuthenticator authenticator, MessageFilter filter, Uri listenUri, ChannelBuilder channelBuilder)
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (9)
38Uri via; 40Uri privacyNoticeUri; 125public Uri Via 204public Uri PrivacyNoticeUri 489IRequestChannel CreateChannel(SecuritySessionOperation operation, EndpointAddress target, Uri via) 570GenericXmlSecurityToken DoOperation(SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout) 829Uri via; 835public SessionOperationAsyncResult(SecuritySessionSecurityTokenProvider requestor, SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout, AsyncCallback callback, object state) 1091protected override IRequestChannel OnCreateChannel(EndpointAddress address, Uri via)
System\ServiceModel\Security\SecuritySessionServerSettings.cs (4)
66Uri listenUri; 123Uri Uri 1351protected Uri GetLocalUri() 3609public Uri Via
System\ServiceModel\Security\SecurityUtils.cs (1)
1784internal static void MatchRstWithEndpointFilter(Message rst, IMessageFilterTable<EndpointAddress> endpointFilterTable, Uri listenUri)
System\ServiceModel\Security\SessionSymmetricMessageSecurityProtocolFactory.cs (1)
50protected override SecurityProtocol OnCreateSecurityProtocol(EndpointAddress target, Uri via, object listenerSecurityState, TimeSpan timeout)
System\ServiceModel\Security\SessionSymmetricTransportSecurityProtocolFactory.cs (1)
41protected override SecurityProtocol OnCreateSecurityProtocol(EndpointAddress target, Uri via, object listenerSecurityState, TimeSpan timeout)
System\ServiceModel\Security\SpnegoTokenProvider.cs (3)
200protected override bool CreateNegotiationStateCompletesSynchronously(EndpointAddress target, Uri via) 205protected override IAsyncResult BeginCreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout, AsyncCallback callback, object state) 216protected override SspiNegotiationTokenProviderState CreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout)
System\ServiceModel\Security\SspiNegotiationTokenProvider.cs (1)
199protected override IRequestChannel CreateClientChannel( EndpointAddress target, Uri via )
System\ServiceModel\Security\SymmetricSecurityProtocol.cs (1)
26EndpointAddress target, Uri via)
System\ServiceModel\Security\SymmetricSecurityProtocolFactory.cs (1)
136protected override SecurityProtocol OnCreateSecurityProtocol(EndpointAddress target, Uri via, object listenerSecurityState, TimeSpan timeout)
System\ServiceModel\Security\TlsnegoTokenProvider.cs (4)
108protected override bool CreateNegotiationStateCompletesSynchronously(EndpointAddress target, Uri via) 120protected override IAsyncResult BeginCreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout, AsyncCallback callback, object state) 145protected override SspiNegotiationTokenProviderState CreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout) 237public CreateSspiStateAsyncResult(EndpointAddress target, Uri via, TlsnegoTokenProvider tlsTokenProvider, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Security\Tokens\InitiatorServiceModelSecurityTokenRequirement.cs (2)
39public Uri Via 43return GetPropertyOrDefault<Uri>(ViaProperty, null);
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (4)
786protected override IRequestChannel CreateClientChannel(EndpointAddress target, Uri via) 822protected override bool CreateNegotiationStateCompletesSynchronously(EndpointAddress target, Uri via) 827protected override IAsyncResult BeginCreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout, AsyncCallback callback, object state) 837protected override FederatedTokenProviderState CreateNegotiationState(EndpointAddress target, Uri via, TimeSpan timeout)
System\ServiceModel\Security\Tokens\RecipientServiceModelSecurityTokenRequirement.cs (2)
27public Uri ListenUri 31return GetPropertyOrDefault<Uri>(ListenUriProperty, null);
System\ServiceModel\Security\TransportSecurityProtocol.cs (1)
19public TransportSecurityProtocol(TransportSecurityProtocolFactory factory, EndpointAddress target, Uri via)
System\ServiceModel\Security\TransportSecurityProtocolFactory.cs (1)
42protected override SecurityProtocol OnCreateSecurityProtocol(EndpointAddress target, Uri via, object listenerSecurityState, TimeSpan timeout)
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
2831static readonly Uri SelfIssuerUri = new Uri(WSIdentityNamespace + "/issuer/self");
System\ServiceModel\Security\WSTrustChannelFactory.cs (2)
339/// <param name="via">The <see cref="Uri" /> that contains the transport address to which the channel sends messages.</param> 341public override IWSTrustChannelContract CreateChannel(EndpointAddress address, Uri via)
System\ServiceModel\Security\WSTrustFeb2005.cs (1)
308public IRequestChannel CreateChannel(EndpointAddress address, Uri via)
System\ServiceModel\Security\WSTrustServiceHost.cs (7)
35public WSTrustServiceHost(SecurityTokenServiceConfiguration securityTokenServiceConfiguration, params Uri[] baseAddresses) 46public WSTrustServiceHost(WSTrustServiceContract serviceContract, params Uri[] baseAddresses) 111foreach (Uri baseAddress in this.BaseAddresses) 113if (StringComparer.OrdinalIgnoreCase.Equals(baseAddress.Scheme, Uri.UriSchemeHttp)) 118else if (StringComparer.OrdinalIgnoreCase.Equals(baseAddress.Scheme, Uri.UriSchemeHttps)) 123else if (StringComparer.OrdinalIgnoreCase.Equals(baseAddress.Scheme, Uri.UriSchemeNetTcp)) 127else if (StringComparer.OrdinalIgnoreCase.Equals(baseAddress.Scheme, Uri.UriSchemeNetPipe))
System\ServiceModel\Security\X509CertificateRecipientClientCredential.cs (7)
21Dictionary<Uri, X509Certificate2> scopedCertificates; 27this.scopedCertificates = new Dictionary<Uri, X509Certificate2>(); 39this.scopedCertificates = new Dictionary<Uri, X509Certificate2>(); 40foreach (Uri uri in other.ScopedCertificates.Keys) 61public Dictionary<Uri, X509Certificate2> ScopedCertificates 110public void SetScopedCertificate(string subjectName, StoreLocation storeLocation, StoreName storeName, Uri targetService) 119public void SetScopedCertificate(StoreLocation storeLocation, StoreName storeName, X509FindType findType, object findValue, Uri targetService)
System\ServiceModel\ServiceAuthenticationManager.cs (3)
18public virtual ReadOnlyCollection<IAuthorizationPolicy> Authenticate(ReadOnlyCollection<IAuthorizationPolicy> authPolicy, Uri listenUri, ref Message message) 38public override ReadOnlyCollection<IAuthorizationPolicy> Authenticate(ReadOnlyCollection<IAuthorizationPolicy> authPolicy, Uri listenUri, ref Message message) 83public override ReadOnlyCollection<IAuthorizationPolicy> Authenticate(ReadOnlyCollection<IAuthorizationPolicy> authPolicy, Uri listenUri, ref Message message)
System\ServiceModel\ServiceConfiguration.cs (7)
75public ReadOnlyCollection<Uri> BaseAddresses 214public ServiceEndpoint AddServiceEndpoint(Type contractType, Binding binding, Uri address) 241public ServiceEndpoint AddServiceEndpoint(Type contractType, Binding binding, string address, Uri listenUri) 258public ServiceEndpoint AddServiceEndpoint(Type contractType, Binding binding, Uri address, Uri listenUri) 299foreach (var uri in this.host.BaseAddresses) 342private void SetListenUri(ServiceEndpoint endpoint, Binding binding, Uri listenUri)
System\ServiceModel\ServiceHost.cs (41)
32internal static readonly Uri EmptyUri = new Uri(string.Empty, UriKind.RelativeOrAbsolute); 40ReadOnlyCollection<Uri> externalBaseAddresses; 122public ReadOnlyCollection<Uri> BaseAddresses 126externalBaseAddresses = new ReadOnlyCollection<Uri>(new List<Uri>(this.baseAddresses)); 305protected void AddBaseAddress(Uri baseAddress) 317return this.AddServiceEndpoint(implementedContract, binding, address, (Uri)null); 320public ServiceEndpoint AddServiceEndpoint(string implementedContract, Binding binding, string address, Uri listenUri) 337public ServiceEndpoint AddServiceEndpoint(string implementedContract, Binding binding, Uri address) 339return this.AddServiceEndpoint(implementedContract, binding, address, (Uri)null); 342public ServiceEndpoint AddServiceEndpoint(string implementedContract, Binding binding, Uri address, Uri listenUri) 369Uri via = this.MakeAbsoluteUri(address, binding); 435Uri absoluteUri = MakeAbsoluteUri(new Uri(relativeAddress, UriKind.Relative), endpoint.Binding); 439internal Uri MakeAbsoluteUri(Uri relativeOrAbsoluteUri, Binding binding) 444internal static Uri MakeAbsoluteUri(Uri relativeOrAbsoluteUri, Binding binding, UriSchemeKeyedCollection baseAddresses) 446Uri result = relativeOrAbsoluteUri; 487foreach (Uri baseAddress in this.InternalBaseAddresses) 641foreach (Uri address in uriSchemeKeyedCollection) 694internal static Uri GetUri(Uri baseUri, Uri relativeUri) 699internal static Uri GetUri(Uri baseUri, string path) 725internal Uri GetVia(string scheme, Uri address) 730internal static Uri GetVia(string scheme, Uri address, UriSchemeKeyedCollection baseAddresses) 732Uri via = address; 752foreach (Uri baseAddress in baseAddresses) 780internal void LoadConfigurationSectionHelper(Uri baseAddress) 1664public ServiceHost(Type serviceType, params Uri[] baseAddresses) 1683public ServiceHost(object singletonInstance, params Uri[] baseAddresses) 1721return this.AddServiceEndpoint(implementedContract, binding, address, (Uri)null); 1724public ServiceEndpoint AddServiceEndpoint(Type implementedContract, Binding binding, string address, Uri listenUri) 1740public ServiceEndpoint AddServiceEndpoint(Type implementedContract, Binding binding, Uri address) 1742return this.AddServiceEndpoint(implementedContract, binding, address, (Uri)null); 1763public ServiceEndpoint AddServiceEndpoint(Type implementedContract, Binding binding, Uri address, Uri listenUri)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (8)
478internal void WriteLink(XmlWriter writer, SyndicationLink link, Uri baseUri) 481Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(baseUri, link.BaseUri); 553protected virtual void WriteItem(XmlWriter writer, SyndicationItem item, Uri feedBaseUri) 562protected virtual void WriteItems(XmlWriter writer, IEnumerable<SyndicationItem> items, Uri feedBaseUri) 901void ReadItemFrom(XmlReader reader, SyndicationItem result, Uri feedBaseUri) 988void ReadLink(XmlReader reader, SyndicationLink link, Uri baseUri) 1264void WriteItemContents(XmlWriter dictWriter, SyndicationItem item, Uri feedBaseUri) 1266Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(feedBaseUri, item.BaseUri);
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (13)
145internal static CategoriesDocument ReadCategories(XmlReader reader, Uri baseUri, CreateInlineCategoriesDelegate inlineCategoriesFactory, CreateReferencedCategoriesDelegate referencedCategoriesFactory, string version, bool preserveElementExtensions, bool preserveAttributeExtensions, int maxExtensionSize) 194internal static void WriteCategoriesInnerXml(XmlWriter writer, CategoriesDocument categories, Uri baseUri, string version) 196Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(baseUri, categories.BaseUri); 227static void ReadInlineCategories(XmlReader reader, InlineCategoriesDocument inlineCategories, Uri baseUri, string version, bool preserveElementExtensions, bool preserveAttributeExtensions, int maxExtensionSize) 320static void ReadReferencedCategories(XmlReader reader, ReferencedCategoriesDocument referencedCategories, Uri baseUri, Uri link, string version, bool preserveElementExtensions, bool preserveAttributeExtensions, int maxExtensionSize) 400static void WriteCategories(XmlWriter writer, CategoriesDocument categories, Uri baseUri, string version) 436static void WriteXmlBase(XmlWriter writer, Uri baseUri) 717void WriteCollection(XmlWriter writer, ResourceCollectionInfo collection, Uri baseUri) 720Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(baseUri, collection.BaseUri); 755Uri baseUri = this.Document.BaseUri; 769void WriteWorkspace(XmlWriter writer, Workspace workspace, Uri baseUri) 772Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(baseUri, workspace.BaseUri);
System\ServiceModel\Syndication\CategoriesDocument.cs (3)
18Uri baseUri; 34public Uri BaseUri 69public static ReferencedCategoriesDocument Create(Uri linkToCategoriesDocument)
System\ServiceModel\Syndication\FeedUtils.cs (8)
76internal static Uri CombineXmlBase(Uri rootBase, string newBase) 82Uri newBaseUri = new Uri(newBase, UriKind.RelativeOrAbsolute); 90internal static Uri GetBaseUriToWrite(Uri rootBase, Uri currentBase) 92Uri uriToWrite; 117static internal string GetUriString(Uri uri)
System\ServiceModel\Syndication\ReferencedCategoriesDocument.cs (3)
18Uri link; 24public ReferencedCategoriesDocument(Uri link) 34public Uri Link
System\ServiceModel\Syndication\ResourceCollectionInfo.cs (8)
19Uri baseUri; 22Uri link; 29public ResourceCollectionInfo(string title, Uri link) 34public ResourceCollectionInfo(TextSyndicationContent title, Uri link) 39public ResourceCollectionInfo(TextSyndicationContent title, Uri link, IEnumerable<CategoriesDocument> categories, bool allowsNewEntries) 44public ResourceCollectionInfo(TextSyndicationContent title, Uri link, IEnumerable<CategoriesDocument> categories, IEnumerable<string> accepts) 94public Uri BaseUri 120public Uri Link
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (11)
241protected virtual void WriteItem(XmlWriter writer, SyndicationItem item, Uri feedBaseUri) 250protected virtual void WriteItems(XmlWriter writer, IEnumerable<SyndicationItem> items, Uri feedBaseUri) 479SyndicationLink ReadAlternateLink(XmlReader reader, Uri baseUri) 569void ReadItemFrom(XmlReader reader, SyndicationItem result, Uri feedBaseUri) 759SyndicationLink ReadMediaEnclosure(XmlReader reader, Uri baseUri) 1052void WriteAlternateLink(XmlWriter writer, SyndicationLink link, Uri baseUri) 1055Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(baseUri, link.BaseUri); 1221void WriteItemContents(XmlWriter writer, SyndicationItem item, Uri feedBaseUri) 1223Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(feedBaseUri, item.BaseUri); 1429void WriteMediaEnclosure(XmlWriter writer, SyndicationLink link, Uri baseUri) 1432Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(baseUri, link.BaseUri);
System\ServiceModel\Syndication\ServiceDocument.cs (2)
17Uri baseUri; 43public Uri BaseUri
System\ServiceModel\Syndication\SyndicationContent.cs (1)
57public static UrlSyndicationContent CreateUrlContent(Uri url, string mediaType)
System\ServiceModel\Syndication\SyndicationFeed.cs (8)
24Uri baseUri; 32Uri imageUrl; 49public SyndicationFeed(string title, string description, Uri feedAlternateLink) 54public SyndicationFeed(string title, string description, Uri feedAlternateLink, IEnumerable<SyndicationItem> items) 59public SyndicationFeed(string title, string description, Uri feedAlternateLink, string id, DateTimeOffset lastUpdatedTime) 64public SyndicationFeed(string title, string description, Uri feedAlternateLink, string id, DateTimeOffset lastUpdatedTime, IEnumerable<SyndicationItem> items) 141public Uri BaseUri 200public Uri ImageUrl
System\ServiceModel\Syndication\SyndicationItem.cs (6)
22Uri baseUri; 41public SyndicationItem(string title, string content, Uri itemAlternateLink) 46public SyndicationItem(string title, string content, Uri itemAlternateLink, string id, DateTimeOffset lastUpdatedTime) 51public SyndicationItem(string title, SyndicationContent content, Uri itemAlternateLink, string id, DateTimeOffset lastUpdatedTime) 109public Uri BaseUri 234public void AddPermalink(Uri permalink)
System\ServiceModel\Syndication\SyndicationLink.cs (12)
18Uri baseUri; 24Uri uri; 26public SyndicationLink(Uri uri) 31public SyndicationLink(Uri uri, string relationshipType, string title, string mediaType, long length) 70public Uri BaseUri 112public Uri Uri 118public static SyndicationLink CreateAlternateLink(Uri uri) 123public static SyndicationLink CreateAlternateLink(Uri uri, string mediaType) 128public static SyndicationLink CreateMediaEnclosureLink(Uri uri, string mediaType, long length) 133public static SyndicationLink CreateSelfLink(Uri uri) 138public static SyndicationLink CreateSelfLink(Uri uri, string mediaType) 148public Uri GetAbsoluteUri()
System\ServiceModel\Syndication\UrlSyndicationContent.cs (3)
15Uri url; 17public UrlSyndicationContent(Uri url, string mediaType) : base() 43public Uri Url
System\ServiceModel\Syndication\Workspace.cs (2)
17Uri baseUri; 52public Uri BaseUri
System\ServiceModel\Transactions\OletxTransactionHeader.cs (2)
129Uri uri; 130if (!Uri.TryCreate(identifier, UriKind.Absolute, out uri))
System\ServiceModel\Transactions\WsatConfiguration.cs (7)
54Uri registrationServiceAddress10; 55Uri registrationServiceAddress11; 326uriScheme = Uri.UriSchemeHttps; 333uriScheme = Uri.UriSchemeNetPipe; 361UriBuilder builder10 = new UriBuilder(Uri.UriSchemeHttps, 372UriBuilder builder11 = new UriBuilder(Uri.UriSchemeHttps, 389UriBuilder builder = new UriBuilder(Uri.UriSchemeHttps,
System\ServiceModel\Transactions\WsatRegistrationHeader.cs (2)
157Uri uri; 161!Uri.TryCreate(contextId, UriKind.Absolute, out uri))
System\ServiceModel\UriSchemeKeyedCollection.cs (6)
11public class UriSchemeKeyedCollection : SynchronizedKeyedCollection<string, Uri> 18public UriSchemeKeyedCollection(params Uri[] addresses) 29protected override string GetKeyForItem(Uri item) 34protected override void InsertItem(int index, Uri item) 43protected override void SetItem(int index, Uri item) 54internal static void ValidateBaseAddress(Uri uri, string argumentName)
System\ServiceModel\WSDualHttpBinding.cs (2)
76public Uri ClientBaseAddress 131public Uri ProxyAddress
System\ServiceModel\WSFederationHttpBinding.cs (2)
27Uri privacyNoticeAt; 66public Uri PrivacyNoticeAt
System\ServiceModel\WSHttpBindingBase.cs (1)
113public Uri ProxyAddress
System\ServiceModel\WSHttpContextBinding.cs (1)
56public Uri ClientCallbackAddress
System\UriTemplate.cs (22)
325public Uri BindByName(Uri baseAddress, IDictionary<string, string> parameters) 329public Uri BindByName(Uri baseAddress, IDictionary<string, string> parameters, bool omitDefaults) 352public Uri BindByName(Uri baseAddress, NameValueCollection parameters) 356public Uri BindByName(Uri baseAddress, NameValueCollection parameters, bool omitDefaults) 379public Uri BindByPosition(Uri baseAddress, params string[] values) 445public UriTemplateMatch Match(Uri baseAddress, Uri candidate) 531internal UriTemplateMatch CreateUriTemplateMatch(Uri baseUri, Uri uri, object data, 619internal static Uri RewriteUri(Uri uri, string host) 626Uri sourceUri = new Uri(String.Format(CultureInfo.InvariantCulture, "{0}://{1}", uri.Scheme, host)); 633Uri Bind(Uri baseAddress, BindInformation bindInfo, bool omitDefaults) 784string relPathSeg = Uri.UnescapeDataString(segment); 812string relPathSeg = Uri.UnescapeDataString(candidateSegments[relativeSegmentsIndex + numSegmentsInBaseAddress]); 951return this.unescapedDefaults.GetOrAdd(escapedValue, Uri.UnescapeDataString);
System\UriTemplateCompoundPathSegment.cs (2)
49((firstLiteral != string.Empty) ? Uri.UnescapeDataString(firstLiteral) : string.Empty)); 95result.varLitPairs.Add(new VarAndLitPair(varName, ((literal == string.Empty) ? string.Empty : Uri.UnescapeDataString(literal))));
System\UriTemplateHelpers.cs (1)
135public static string GetUriPath(Uri uri)
System\UriTemplateLiteralPathSegment.cs (2)
19static Uri dummyUri = new Uri("http://localhost"); 72return Uri.UnescapeDataString(this.segment);
System\UriTemplateMatch.cs (6)
17Uri baseUri; 22Uri requestUri; 26Uri originalBaseUri; 33public Uri BaseUri // the base address, untouched 94public Uri RequestUri // uri on the wire, untouched 143internal void SetBaseUri(Uri originalBaseUri, HttpRequestMessageProperty requestProp)
System\UriTemplateTable.cs (17)
20Uri baseAddress; 25Uri originalUncanonicalizedBaseAddress; 39public UriTemplateTable(Uri baseAddress) 44internal UriTemplateTable(Uri baseAddress, bool addTrailingSlashToBaseAddress) 49public UriTemplateTable(Uri baseAddress, IEnumerable<KeyValuePair<UriTemplate, object>> keyValuePairs) 54internal UriTemplateTable(Uri baseAddress, IEnumerable<KeyValuePair<UriTemplate, object>> keyValuePairs, bool addTrailingSlashToBaseAddress) 79public Uri BaseAddress 116public Uri OriginalBaseAddress 152public Collection<UriTemplateMatch> Match(Uri uri) 262public UriTemplateMatch MatchSingle(Uri uri) 349bool ComputeRelativeSegmentsAndLookup(Uri uri, 364string relPathSeg = Uri.UnescapeDataString(seg); 391Uri uri = ut.BindByPosition(this.originalUncanonicalizedBaseAddress); 411bool FastComputeRelativeSegmentsAndLookup(Uri uri, out Collection<string> relativePathSegments, 448ub.Scheme = Uri.UriSchemeHttp; 453bool SlowComputeRelativeSegmentsAndLookup(Uri uri, string uriPath, Collection<string> relativePathSegments, 497void VerifyThatFastPathAndSlowPathHaveSameResults(Uri uri, Collection<string> fastPathRelativePathSegments,
System.ServiceModel.Activation (79)
System\ServiceModel\Activation\ApplyHostConfigurationBehavior.cs (3)
111static void ThrowIfAbsolute(Uri uri) 121return string.Compare(scheme, Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase) == 0 || 122string.Compare(scheme, Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase) == 0;
System\ServiceModel\Activation\HostedAspNetEnvironment.cs (6)
215public override BaseUriWithWildcard GetBaseUri(string transportScheme, Uri listenUri) 355public override void ProcessNotMatchedEndpointAddress(Uri uri, string endpointName) 357if (!object.ReferenceEquals(uri.Scheme, Uri.UriSchemeHttp) && 358!object.ReferenceEquals(uri.Scheme, Uri.UriSchemeHttps)) 426internal override void AddMetadataBindingParameters(Uri listenUri, KeyedByTypeCollection<IServiceBehavior> serviceBehaviors, BindingParameterCollection bindingParameters) 513public override AuthenticationSchemes GetAuthenticationSchemes(Uri baseAddress)
System\ServiceModel\Activation\HostedHttpRequestAsyncResult.cs (5)
531public Uri OriginalRequestUri 538public Uri RequestUri 794object.ReferenceEquals(this.RequestUri.Scheme, Uri.UriSchemeHttp) || object.ReferenceEquals(this.RequestUri.Scheme, Uri.UriSchemeHttps), 1005Uri GetUrl()
System\ServiceModel\Activation\HostedNamedPipeTransportManager.cs (6)
17Action<Uri> onViaCallback; 22Func<Uri, int> onDuplicatedViaCallback; 31this.onViaCallback = new Action<Uri>(OnVia); 32this.onDuplicatedViaCallback = new Func<Uri, int>(OnDuplicatedVia); 130void OnVia(Uri address) 157int OnDuplicatedVia(Uri via)
System\ServiceModel\Activation\HostedTcpTransportManager.cs (4)
15Action<Uri> onViaCallback; 21this.onViaCallback = new Action<Uri>(OnVia); 51protected override Action<Uri> GetOnViaCallback() 56void OnVia(Uri address)
System\ServiceModel\Activation\HostedTransportConfiguration.cs (1)
12public abstract Uri[] GetBaseAddresses(string virtualPath);
System\ServiceModel\Activation\HostedTransportConfigurationBase.cs (4)
42public override Uri[] GetBaseAddresses(string virtualPath) 45Uri[] addresses = new Uri[listenAddresses.Count]; 55internal BaseUriWithWildcard FindBaseAddress(Uri uri)
System\ServiceModel\Activation\HostedTransportConfigurationManager.cs (7)
171if (string.CompareOrdinal(protocol, Uri.UriSchemeHttp) == 0 || 172string.CompareOrdinal(protocol, Uri.UriSchemeHttps) == 0) 175if (string.CompareOrdinal(protocol, Uri.UriSchemeHttp) == 0) 242internal static Uri[] GetBaseAddresses(string virtualPath) 252Uri[] InternalGetBaseAddresses(string virtualPath) 255List<Uri> baseAddresses = new List<Uri>();
System\ServiceModel\Activation\HostingMessageProperty.cs (1)
43public Uri OriginalRequestUri
System\ServiceModel\Activation\HttpHostedTransportConfiguration.cs (3)
28: this(Uri.UriSchemeHttp) 34if (object.ReferenceEquals(this.Scheme, Uri.UriSchemeHttp)) 115internal HostedHttpTransportManager GetHttpTransportManager(Uri uri)
System\ServiceModel\Activation\HttpsHostedTransportConfiguration.cs (1)
16: base(Uri.UriSchemeHttps)
System\ServiceModel\Activation\MetabaseSettings.cs (3)
546this.Bindings.Add(Uri.UriSchemeHttp, serverBindings); 557this.Bindings.Add(Uri.UriSchemeHttps, secureBindings); 575bool foundAccessSslFlags = !Bindings.ContainsKey(Uri.UriSchemeHttps);
System\ServiceModel\Activation\MsmqHostedTransportConfiguration.cs (2)
33Uri address = addressing.CreateUri(bindings[i], HostingEnvironment.ApplicationVirtualPath, false); 43public override Uri[] GetBaseAddresses(string virtualPath)
System\ServiceModel\Activation\NamedPipeHostedTransportConfiguration.cs (2)
17: base(Uri.UriSchemeNetPipe) 19string[] bindings = HostedTransportConfigurationManager.MetabaseSettings.GetBindings(Uri.UriSchemeNetPipe);
System\ServiceModel\Activation\ServiceHostFactory.cs (2)
32public override ServiceHostBase CreateServiceHost(string constructorString, Uri[] baseAddresses) 103protected virtual ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses)
System\ServiceModel\Activation\TcpHostedTransportConfiguration.cs (3)
18: base(Uri.UriSchemeNetTcp) 20string[] bindings = HostedTransportConfigurationManager.MetabaseSettings.GetBindings(Uri.UriSchemeNetTcp); 23BaseUriWithWildcard listenAddress = BaseUriWithWildcard.CreateHostedUri(Uri.UriSchemeNetTcp, bindings[i], HostingEnvironmentWrapper.ApplicationVirtualPath);
System\ServiceModel\Activities\Activation\WorkflowServiceHostFactory.cs (4)
33public override ServiceHostBase CreateServiceHost(string constructorString, Uri[] baseAddresses) 414protected virtual WorkflowServiceHost CreateWorkflowServiceHost(Activity activity, Uri[] baseAddresses) 419protected virtual WorkflowServiceHost CreateWorkflowServiceHost(WorkflowService service, Uri[] baseAddresses) 435bool GetServiceFileStreamOrCompiledCustomString(string virtualPath, Uri[] baseAddresses, out Stream serviceFileStream, out string compiledCustomString)
System\ServiceModel\Channels\MsmqHostedTransportManager.cs (4)
41public Uri[] GetBaseAddresses(string virtualPath) 51List<Uri> baseAddresses = new List<Uri>(this.hosts.Length); 58Uri uri = this.addressing.CreateUri(host, queueName, isPrivate);
System\ServiceModel\ServiceHostingEnvironment.cs (18)
107internal static Uri[] PrefixFilters 137static Uri[] GetBaseAddressPrefixFilters() 607Uri[] baseAddressPrefixFilters; 653List<Uri> prefixFilters = new List<Uri>(); 710internal Uri[] BaseAddressPrefixFilters 1140static Uri[] FilterBaseAddressList(Uri[] baseAddresses, Uri[] prefixFilters) 1145List<Uri> results = new List<Uri>(); 1146Dictionary<string, Uri> schemeMappings = new Dictionary<string, Uri>(); 1148foreach (Uri filterUri in prefixFilters) 1160foreach (Uri baseUri in baseAddresses) 1165Uri filterUri = schemeMappings[scheme]; 1266Uri[] baseAddresses = HostedTransportConfigurationManager.GetBaseAddresses(virtualPath); 1267Uri[] prefixFilters = ServiceHostingEnvironment.PrefixFilters;
System.ServiceModel.Activities (39)
System\ServiceModel\Activities\Configuration\WorkflowControlEndpointElement.cs (3)
29public Uri Address 31get { return (Uri)base[System.ServiceModel.Configuration.ConfigurationStrings.Address]; } 94typeof(Uri),
System\ServiceModel\Activities\Constants.cs (1)
24public static readonly Type UriType = typeof(Uri);
System\ServiceModel\Activities\ContractInferenceHelper.cs (1)
231Uri listenUri = serviceEndpoint.ListenUri;
System\ServiceModel\Activities\Description\WorkflowInstanceManagementBehavior.cs (3)
131if (workflowServiceHost.InternalBaseAddresses.Contains(Uri.UriSchemeNetPipe)) 135else if (workflowServiceHost.InternalBaseAddresses.Contains(Uri.UriSchemeHttp)) 144Uri controlEndpointAddress = ServiceHost.GetVia(controlEndpointBinding.Scheme, new Uri(ControlEndpointAddress, UriKind.Relative), workflowServiceHost.InternalBaseAddresses);
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (2)
847Uri redirectVia = null; 855redirectVia = redirectViaObject as Uri;
System\ServiceModel\Activities\InternalSendMessage.cs (5)
110public InArgument<Uri> EndpointAddress 461Uri endpointAddressUri = (this.EndpointAddress != null) ? this.EndpointAddress.Get(context) : null; 509Uri callbackUri = CallbackAddress.Uri; 548this.EndpointAddress = new InArgument<Uri>(); 2887Uri via = null;
System\ServiceModel\Activities\Send.cs (3)
149public InArgument<Uri> EndpointAddress 347result.EndpointAddress = new InArgument<Uri>(context => ((InArgument<Uri>)this.EndpointAddress).Get(context));
System\ServiceModel\Activities\SendSettings.cs (1)
19public Uri EndpointAddress { get; set; }
System\ServiceModel\Activities\WorkflowControlEndpoint.cs (3)
20static Uri defaultBaseUri; 98static Uri DefaultBaseUri 117Uri tempUri = new Uri(string.Format(CultureInfo.InvariantCulture, "net.pipe://localhost/workflowControlServiceEndpoint/{0}",
System\ServiceModel\Activities\WorkflowServiceHost.cs (14)
56public WorkflowServiceHost(object serviceImplementation, params Uri[] baseAddresses) 82public WorkflowServiceHost(Activity activity, params Uri[] baseAddresses) 95public WorkflowServiceHost(WorkflowService serviceDefinition, params Uri[] baseAddresses) 241void InitializeFromConstructor(Activity activity, params Uri[] baseAddresses) 251void InitializeFromConstructor(WorkflowService serviceDefinition, params Uri[] baseAddresses) 290Uri listenUri = null, string behaviorConfigurationName = null) 296public ServiceEndpoint AddServiceEndpoint(XName serviceContractName, Binding binding, Uri address, 297Uri listenUri = null, string behaviorConfigurationName = null) 308Uri via = this.MakeAbsoluteUri(address, binding); 314Uri listenUri = null, string behaviorConfigurationName = null) 379public new ServiceEndpoint AddServiceEndpoint(string implementedContract, Binding binding, Uri address) 384public new ServiceEndpoint AddServiceEndpoint(string implementedContract, Binding binding, string address, Uri listenUri) 389public new ServiceEndpoint AddServiceEndpoint(string implementedContract, Binding binding, Uri address, Uri listenUri)
System\ServiceModel\Endpoint.cs (3)
68public Uri ListenUri 82public Uri AddressUri 103Uri address = null;
System.ServiceModel.Channels (26)
System\ServiceModel\Channels\ClientUdpOutputChannel.cs (1)
23public ClientUdpOutputChannel(ChannelManagerBase factory, IPEndPoint remoteEndPoint, MessageEncoder encoder, BufferManager bufferManager, UdpSocket[] sendSockets, UdpRetransmissionSettings retransmissionSettings, EndpointAddress to, Uri via, bool isMulticast)
System\ServiceModel\Channels\ServerUdpOutputChannel.cs (4)
21public ServerUdpOutputChannel(ChannelManagerBase factory, MessageEncoder encoder, BufferManager bufferManager, UdpSocket[] sendSockets, UdpRetransmissionSettings retransmissionSettings, Uri via, bool isMulticast) 27protected UdpSocket GetSendSocket(IPAddress address, Uri destination, out Exception exceptionToBeThrown) 106Uri destination; 277private void ValidateDestinationUri(Uri destination, bool isVia)
System\ServiceModel\Channels\UdpChannelBase.cs (3)
27private Uri via; 37Uri via, 72public Uri Via
System\ServiceModel\Channels\UdpChannelFactory.cs (3)
79protected override TChannel OnCreateChannel(EndpointAddress to, Uri via) 152UdpSocket[] GetSockets(Uri via, out IPEndPoint remoteEndPoint, out bool isMulticast) 280internal ClientUdpDuplexChannel(UdpChannelFactory<IDuplexChannel> factory, UdpSocket[] sockets, IPEndPoint remoteEndPoint, EndpointAddress localAddress, EndpointAddress to, Uri via, bool isMulticast)
System\ServiceModel\Channels\UdpChannelListener.cs (6)
28Uri listenUri; 91public override Uri Uri 508void InitExplicitUri(Uri listenUriBaseAddress, string relativeAddress) 652void InitUniqueUri(Uri listenUriBaseAddress, string relativeAddress) 663Uri listenUriBase = context.ListenUriBaseAddress; 760public ServerUdpDuplexChannel(UdpDuplexChannelListener listener, UdpSocket[] sockets, EndpointAddress localAddress, Uri via, bool isMulticast)
System\ServiceModel\Channels\UdpDuplexChannel.cs (1)
28Uri via,
System\ServiceModel\Channels\UdpOutputChannel.cs (3)
26private Uri via; 34Uri via, 71public override Uri Via
System\ServiceModel\Channels\UdpReplyChannel.cs (1)
15public UdpReplyChannel(UdpReplyChannelListener listener, UdpSocket[] sockets, EndpointAddress localAddress, Uri via, bool isMulticast)
System\ServiceModel\Channels\UdpRequestContext.cs (1)
17private Uri via;
System\ServiceModel\Channels\UdpUtility.cs (3)
17public static Uri AppendRelativePath(Uri basepath, string relativePath) 240public static void ThrowOnUnsupportedHostNameType(Uri uri)
System.ServiceModel.Discovery (149)
System\ServiceModel\Discovery\Configuration\FindCriteriaElement.cs (3)
44public Uri ScopeMatchBy 48return (Uri)base[ConfigurationStrings.ScopeMatchBy]; 121typeof(Uri),
System\ServiceModel\Discovery\Configuration\ScopeElement.cs (5)
18public Uri Scope 22return (Uri)base[ConfigurationStrings.Scope]; 42typeof(Uri), 45new CallbackValidator(typeof(Uri), new ValidatorCallback(ScopeElement.ScopeValidatorCallback)), 56if ((scope != null) && !((Uri)scope).IsAbsoluteUri)
System\ServiceModel\Discovery\Configuration\UdpAnnouncementEndpointElement.cs (3)
42public Uri MulticastAddress 46return (Uri)base[ConfigurationStrings.MulticastAddress]; 95typeof(Uri),
System\ServiceModel\Discovery\Configuration\UdpDiscoveryEndpointElement.cs (3)
57public Uri MulticastAddress 61return (Uri)base[ConfigurationStrings.MulticastAddress]; 120typeof(Uri),
System\ServiceModel\Discovery\DiscoveryClient.cs (1)
1277Uri originalTo;
System\ServiceModel\Discovery\DiscoveryClientChannelBase.cs (5)
196foreach (Uri listenUri in currentEndpointDiscoveryMetadata.ListenUris) 228bool CreateChannel(ref TChannel innerChannel, EndpointAddress to, Uri via, TimeoutHelper timeoutHelper) 404static void TraceInnerChannelFailure(TChannel innerChannel, EndpointAddress to, Uri via, Exception exception) 416static Uri GetVia(TChannel innerChannel) 596void CreateChannel(EndpointAddress address, Uri listenUri)
System\ServiceModel\Discovery\DiscoveryClientChannelFactory.cs (1)
30protected override TChannel OnCreateChannel(EndpointAddress address, Uri via)
System\ServiceModel\Discovery\DiscoveryClientOutputChannel.cs (1)
36public Uri Via
System\ServiceModel\Discovery\DiscoveryClientRequestChannel.cs (1)
36public Uri Via
System\ServiceModel\Discovery\DiscoveryDefaults.cs (3)
15public static readonly Uri ScopeMatchBy = FindCriteria.ScopeMatchByPrefix; 22public static readonly Uri IPv4MulticastAddress = new Uri(ProtocolStrings.Udp.MulticastIPv4Address); 25public static readonly Uri IPv6MulticastAddress = new Uri(ProtocolStrings.Udp.MulticastIPv6Address);
System\ServiceModel\Discovery\DiscoveryMessageSequence.cs (5)
24internal DiscoveryMessageSequence(long instanceId, Uri sequenceId, long messageNumber) 40public Uri SequenceId 88Uri.Equals(this.SequenceId, other.SequenceId) && 106(Uri.Equals(this.SequenceId, other.SequenceId))); 129if (!Uri.Equals(this.SequenceId, other.SequenceId))
System\ServiceModel\Discovery\DiscoveryMessageSequenceGenerator.cs (2)
15Uri sequenceId; 26public DiscoveryMessageSequenceGenerator(long instanceId, Uri sequenceId)
System\ServiceModel\Discovery\DiscoveryVersion.cs (1)
128public Uri AdhocAddress
System\ServiceModel\Discovery\DiscoveryViaBehavior.cs (3)
13Uri via; 15public DiscoveryViaBehavior(Uri via) 25public Uri Via
System\ServiceModel\Discovery\EndpointDiscoveryBehavior.cs (2)
55public Collection<Uri> Scopes 88internal Collection<Uri> InternalScopes
System\ServiceModel\Discovery\EndpointDiscoveryMetadata.cs (10)
24OpenableCollection<Uri> listenUris; 80public Collection<Uri> ListenUris 86this.listenUris = new OpenableCollection<Uri>(this.isOpen); 93public Collection<Uri> Scopes 205static EndpointDiscoveryMetadata GetEndpointDiscoveryMetadata(ServiceEndpoint endpoint, Uri listenUri) 239foreach (Uri scope in endpointDiscoveryBehavior.InternalScopes) 381this.listenUris = new OpenableCollection<Uri>(false); 547class OpenableScopeCollection : OpenableCollection<Uri> 554protected override void InsertItem(int index, Uri item) 563protected override void SetItem(int index, Uri item)
System\ServiceModel\Discovery\FindCriteria.cs (14)
22public static readonly Uri ScopeMatchByExact = new Uri(ProtocolStrings.VersionInternal.ScopeMatchByExact); 25public static readonly Uri ScopeMatchByLdap = new Uri(ProtocolStrings.VersionInternal.ScopeMatchByLdap); 28public static readonly Uri ScopeMatchByPrefix = new Uri(ProtocolStrings.VersionInternal.ScopeMatchByPrefix); 32public static readonly Uri ScopeMatchByUuid = new Uri(ProtocolStrings.VersionInternal.ScopeMatchByUuid); 35public static readonly Uri ScopeMatchByNone = new Uri(ProtocolStrings.VersionInternal.ScopeMatchByNone); 39Uri scopeMatchBy; 88public Uri ScopeMatchBy 106public Collection<Uri> Scopes 151internal Collection<Uri> InternalScopes 236static bool MatchScopes(EndpointDiscoveryMetadata endpointDiscoveryMetadata, CompiledScopeCriteria[] compiledScopeMatchCriterias, Uri scopeMatchBy) 322Uri scopeMatchBy = SerializationUtility.ReadScopes(this.scopes, reader); 409internal static Uri GetContractTypeNameScope(XmlQualifiedName contractTypeName) 420foreach (Uri scope in this.Scopes) 442void Initialize(ContractTypeNameCollection contractTypeNames, Uri scopeMatchBy)
System\ServiceModel\Discovery\IDiscoveryVersionImplementation.cs (5)
14Uri DiscoveryAddress { get; } 25Uri ToVersionIndependentScopeMatchBy(Uri versionDependentScopeMatchBy); 26Uri ToVersionDependentScopeMatchBy(Uri versionIndependentScopeMatchBy);
System\ServiceModel\Discovery\OfflineAnnouncementChannelDispatcher.cs (1)
113public Uri Uri
System\ServiceModel\Discovery\ScopeCollection.cs (3)
13internal class ScopeCollection : NonNullItemCollection<Uri> 15protected override void InsertItem(int index, Uri item) 24protected override void SetItem(int index, Uri item)
System\ServiceModel\Discovery\ScopeCompiler.cs (13)
14public static string[] Compile(ICollection<Uri> scopes) 22foreach (Uri scope in scopes) 30public static CompiledScopeCriteria[] CompileMatchCriteria(ICollection<Uri> scopes, Uri matchBy) 40foreach (Uri scope in scopes) 48public static bool IsSupportedMatchingRule(Uri matchBy) 89static void Compile(Uri scope, List<string> compiledScopes) 111static CompiledScopeCriteria CompileCriteria(Uri scope, Uri matchBy) 158static string CompileForMatchByRfc2396(Uri scope) 237static bool TryGetUuidGuid(Uri scope, out Guid guid) 269static string CompileForMatchByStrcmp0(Uri scope) 278static string CompileForMatchByLdap(Uri scope)
System\ServiceModel\Discovery\SerializationUtility.cs (10)
66public static void ParseUriList(string listOfUrisAsString, Collection<Uri> uriCollection, UriKind uriKind) 185public static void WriteListOfUris(XmlWriter writer, Collection<Uri> uris) 313public static Uri ReadScopes(Collection<Uri> scopes, XmlReader reader) 315Uri scopeMatchBy = null; 359public static void ReadListenUris(Collection<Uri> listenUris, XmlReader reader) 431public static void WriteScopes(DiscoveryVersion discoveryVersion, Collection<Uri> scopes, Uri scopeMatchBy, XmlWriter writer) 445Uri versionDependentScopeMatchBy = discoveryVersion.Implementation.ToVersionDependentScopeMatchBy(scopeMatchBy); 461public static void WriteListenUris(DiscoveryVersion discoveryVersion, Collection<Uri> listenUris, XmlWriter writer)
System\ServiceModel\Discovery\UdpAnnouncementEndpoint.cs (6)
15public static readonly Uri DefaultIPv4MulticastAddress = DiscoveryDefaults.Udp.IPv4MulticastAddress; 19public static readonly Uri DefaultIPv6MulticastAddress = DiscoveryDefaults.Udp.IPv6MulticastAddress; 34public UdpAnnouncementEndpoint(Uri multicastAddress) 49public UdpAnnouncementEndpoint(DiscoveryVersion discoveryVersion, Uri multicastAddress) 64public Uri MulticastAddress 91void Initialize(Uri multicastAddress)
System\ServiceModel\Discovery\UdpDiscoveryEndpoint.cs (7)
17public static readonly Uri DefaultIPv4MulticastAddress = DiscoveryDefaults.Udp.IPv4MulticastAddress; 21public static readonly Uri DefaultIPv6MulticastAddress = DiscoveryDefaults.Udp.IPv6MulticastAddress; 36public UdpDiscoveryEndpoint(Uri multicastAddress) 51public UdpDiscoveryEndpoint(DiscoveryVersion discoveryVersion, Uri multicastAddress) 69public Uri MulticastAddress 96void Initialize(Uri multicastAddress) 119static Uri GetDefaultMulticastAddress()
System\ServiceModel\Discovery\UdpReplyToBehavior.cs (2)
161Uri remoteEndpontAddress; 164public Uri RemoteEndpointAddress
System\ServiceModel\Discovery\Version11\DiscoveryVersion11Implementation.cs (13)
15static readonly Uri ScopeMatchByExact = new Uri(ProtocolStrings.Version11.ScopeMatchByExact); 16static readonly Uri ScopeMatchByLdap = new Uri(ProtocolStrings.Version11.ScopeMatchByLdap); 17static readonly Uri ScopeMatchByPrefix = new Uri(ProtocolStrings.Version11.ScopeMatchByPrefix); 18static readonly Uri ScopeMatchByUuid = new Uri(ProtocolStrings.Version11.ScopeMatchByUuid); 19static readonly Uri ScopeMatchByNone = new Uri(ProtocolStrings.Version11.ScopeMatchByNone); 21Uri discoveryAddress; 45public Uri DiscoveryAddress 161public Uri ToVersionIndependentScopeMatchBy(Uri versionDependentScopeMatchBy) 163Uri scopeMatchBy = versionDependentScopeMatchBy; 189public Uri ToVersionDependentScopeMatchBy(Uri versionIndependentScopeMatchBy) 191Uri scopeMatchBy = versionIndependentScopeMatchBy;
System\ServiceModel\Discovery\VersionApril2005\DiscoveryVersionApril2005Implementation.cs (13)
15static readonly Uri ScopeMatchByExact = new Uri(ProtocolStrings.VersionApril2005.ScopeMatchByExact); 16static readonly Uri ScopeMatchByLdap = new Uri(ProtocolStrings.VersionApril2005.ScopeMatchByLdap); 17static readonly Uri ScopeMatchByPrefix = new Uri(ProtocolStrings.VersionApril2005.ScopeMatchByPrefix); 18static readonly Uri ScopeMatchByUuid = new Uri(ProtocolStrings.VersionApril2005.ScopeMatchByUuid); 19static readonly Uri ScopeMatchByNone = new Uri(ProtocolStrings.VersionApril2005.ScopeMatchByNone); 21Uri discoveryAddress; 45public Uri DiscoveryAddress 161public Uri ToVersionIndependentScopeMatchBy(Uri versionDependentScopeMatchBy) 163Uri scopeMatchBy = versionDependentScopeMatchBy; 189public Uri ToVersionDependentScopeMatchBy(Uri versionIndependentScopeMatchBy) 191Uri scopeMatchBy = versionIndependentScopeMatchBy;
System\ServiceModel\Discovery\VersionCD1\DiscoveryVersionCD1Implementation.cs (13)
15static readonly Uri ScopeMatchByExact = new Uri(ProtocolStrings.VersionCD1.ScopeMatchByExact); 16static readonly Uri ScopeMatchByLdap = new Uri(ProtocolStrings.VersionCD1.ScopeMatchByLdap); 17static readonly Uri ScopeMatchByPrefix = new Uri(ProtocolStrings.VersionCD1.ScopeMatchByPrefix); 18static readonly Uri ScopeMatchByUuid = new Uri(ProtocolStrings.VersionCD1.ScopeMatchByUuid); 19static readonly Uri ScopeMatchByNone = new Uri(ProtocolStrings.VersionCD1.ScopeMatchByNone); 21Uri discoveryAddress; 45public Uri DiscoveryAddress 161public Uri ToVersionIndependentScopeMatchBy(Uri versionDependentScopeMatchBy) 163Uri scopeMatchBy = versionDependentScopeMatchBy; 189public Uri ToVersionDependentScopeMatchBy(Uri versionIndependentScopeMatchBy) 191Uri scopeMatchBy = versionIndependentScopeMatchBy;
System.ServiceModel.Routing (9)
System\ServiceModel\Channels\SynchronousSendBindingElement.cs (3)
91protected override TChannel OnCreateChannel(EndpointAddress address, Uri via) 281public Uri Via 348public Uri Via
System\ServiceModel\Routing\SoapProcessingBehavior.cs (6)
112Uri to = originalHeaders.To; 118Uri incomingVia; 120if (originalProperties.TryGetValue<Uri>(IncomingViaName, out incomingVia)) 200internal Message MarshalMessage(Message source, Uri to, MessageVersion targetVersion) 330void CloneHeaders(MessageHeaders targetHeaders, MessageHeaders sourceHeaders, Uri to, HashSet<string> understoodHeadersSet) 390Uri incomingVia = destination.Via;
System.ServiceModel.WasHosting (18)
System\ServiceModel\WasHosting\MetabaseSettingsIis7.cs (12)
110else if (string.Compare(protocol, Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase) == 0 || 111string.Compare(protocol, Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase) == 0) 115if (this.Bindings.ContainsKey(Uri.UriSchemeHttp)) 117this.Protocols.Add(Uri.UriSchemeHttp); 120if (this.Bindings.ContainsKey(Uri.UriSchemeHttps)) 122this.Protocols.Add(Uri.UriSchemeHttps); 447else if (string.Compare(protocol, Uri.UriSchemeHttp, StringComparison.OrdinalIgnoreCase) == 0 || 448string.Compare(protocol, Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase) == 0) 452if (this.Bindings.ContainsKey(Uri.UriSchemeHttp)) 454this.Protocols.Add(Uri.UriSchemeHttp); 457if (this.Bindings.ContainsKey(Uri.UriSchemeHttps)) 459this.Protocols.Add(Uri.UriSchemeHttps);
System\ServiceModel\WasHosting\NamedPipeAppDomainProtocolHandler.cs (2)
19: base(Uri.UriSchemeNetPipe) 25HostedTransportConfigurationManager.GetConfiguration(Uri.UriSchemeNetPipe) as NamedPipeHostedTransportConfiguration;
System\ServiceModel\WasHosting\NamedPipeProcessProtocolHandler.cs (1)
16: base(Uri.UriSchemeNetPipe)
System\ServiceModel\WasHosting\TcpAppDomainProtocolHandler.cs (2)
21: base(Uri.UriSchemeNetTcp) 27TcpHostedTransportConfiguration configuration = HostedTransportConfigurationManager.GetConfiguration(Uri.UriSchemeNetTcp) as TcpHostedTransportConfiguration;
System\ServiceModel\WasHosting\TcpProcessProtocolHandler.cs (1)
16: base(Uri.UriSchemeNetTcp)
System.ServiceModel.Web (58)
System\ServiceModel\Activation\WebScriptServiceHostFactory.cs (1)
16protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses)
System\ServiceModel\Activation\WebServiceHostFactory.cs (1)
18protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses)
System\ServiceModel\Configuration\WebHttpBindingElement.cs (3)
80public Uri ProxyAddress 82get { return (Uri)base[ConfigurationStrings.ProxyAddress]; } 167properties.Add(new ConfigurationProperty("proxyAddress", typeof(System.Uri), HttpTransportDefaults.ProxyAddress, null, null, System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Description\WCFServiceClientProxyGenerator.cs (2)
171Uri uri = null; 173if (Uri.TryCreate(ns, UriKind.RelativeOrAbsolute, out uri))
System\ServiceModel\Description\WebHttpBehavior.cs (1)
95internal Uri HelpUri { get; set; }
System\ServiceModel\Description\WebScriptClientGenerator.cs (1)
43string GetProxyContent(Uri baseUri)
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (1)
247Uri baseAddress = endpoint.Address.Uri;
System\ServiceModel\Dispatcher\HelpHtmlBuilder.cs (7)
56public static XDocument CreateHelpPage(Uri baseUri, IEnumerable<OperationHelpInformation> operations) 108public static XDocument CreateOperationHelpPage(Uri baseUri, OperationHelpInformation operationInfo) 140public static XDocument CreateMethodNotAllowedPage(Uri helpUri) 158public static XDocument CreateServerErrorPage(Uri helpUri, Exception error) 197public static XDocument CreateEndpointNotFound(Uri helpUri) 420static string BuildFullUriTemplate(Uri baseUri, string uriTemplate) 423Uri result = template.BindByPosition(baseUri, template.PathSegmentVariableNames.Concat(template.QueryValueVariableNames).Select(name => "{" + name + "}").ToArray());
System\ServiceModel\Dispatcher\HelpPage.cs (3)
51Uri baseUri = UriTemplate.RewriteUri(OperationContext.Current.Channel.LocalAddress.Uri, WebOperationContext.Current.IncomingRequest.Headers[HttpRequestHeader.Host]); 66Uri requestUri = UriTemplate.RewriteUri(WebOperationContext.Current.IncomingRequest.UriTemplateMatch.RequestUri, WebOperationContext.Current.IncomingRequest.Headers[HttpRequestHeader.Host]); 73Uri baseUri = UriTemplate.RewriteUri(OperationContext.Current.Channel.LocalAddress.Uri, WebOperationContext.Current.IncomingRequest.Headers[HttpRequestHeader.Host]);
System\ServiceModel\Dispatcher\HttpUnhandledOperationInvoker.cs (5)
32public Uri HelpUri { get; set; } 46Uri newLocation = null; 47Uri to = message.Headers.To; 50newLocation = message.Properties[WebHttpDispatchOperationSelector.RedirectPropertyName] as Uri; 76Uri helpUri = this.HelpUri != null ? UriTemplate.RewriteUri(this.HelpUri, WebOperationContext.Current.IncomingRequest.Headers[HttpRequestHeader.Host]) : null;
System\ServiceModel\Dispatcher\JsonQueryStringConverter.cs (2)
94else if (parameterType == typeof(Uri)) 98return default(Uri);
System\ServiceModel\Dispatcher\QueryStringConverter.cs (3)
49this.defaultSupportedQueryStringTypes.Add(typeof(Uri), null); 140else if (parameterType == typeof(Uri)) 233else if (parameterType == typeof(Uri) || parameterType == typeof(object))
System\ServiceModel\Dispatcher\UriTemplateClientFormatter.cs (2)
24Uri baseUri; 33public UriTemplateClientFormatter(OperationDescription operationDescription, IClientMessageFormatter inner, QueryStringConverter qsc, Uri baseUri, bool innerIsUntypedMessage, string contractName)
System\ServiceModel\Dispatcher\UriTemplateDispatchFormatter.cs (2)
26Uri baseAddress; 33public UriTemplateDispatchFormatter(OperationDescription operationDescription, IDispatchMessageFormatter inner, QueryStringConverter qsc, string contractName, Uri baseAddress)
System\ServiceModel\Dispatcher\WebErrorHandler.cs (1)
135Uri helpUri = null;
System\ServiceModel\Dispatcher\WebHttpDispatchOperationSelector.cs (5)
51Uri baseUri = endpoint.Address.Uri; 201Uri to = message.Headers.To; 292bool CanUriMatch(UriTemplateTable methodSpecificTable, Uri to, HttpRequestMessageProperty prop, Message message, out string operationName) 313bool ShouldRedirectToUriWithSlashAtTheEnd(UriTemplateTable methodSpecificTable, Message message, Uri to) 322Uri originalPlusSlash = ub.Uri;
System\ServiceModel\Web\AutomaticEndpointGenerator.cs (2)
39public ServiceEndpoint GenerateServiceEndpoint(ServiceHostBase serviceHost, Uri baseAddress) 65private static AuthenticationSchemes GetAuthenticationSchemes(Uri baseAddress)
System\ServiceModel\Web\OutgoingWebResponseContext.cs (1)
210public void SetStatusAsCreated(Uri locationUri)
System\ServiceModel\Web\WebChannelFactory.cs (7)
48public WebChannelFactory(Uri remoteAddress) 53public WebChannelFactory(Binding binding, Uri remoteAddress) 58public WebChannelFactory(string endpointConfigurationName, Uri remoteAddress) 83static Binding GetDefaultBinding(Uri remoteAddress) 85if (remoteAddress == null || (remoteAddress.Scheme != Uri.UriSchemeHttp && remoteAddress.Scheme != Uri.UriSchemeHttps)) 89if (remoteAddress.Scheme == Uri.UriSchemeHttp)
System\ServiceModel\Web\WebServiceHost.cs (6)
29public WebServiceHost(object singletonInstance, params Uri[] baseAddresses) 34public WebServiceHost(Type serviceType, params Uri[] baseAddresses) : 80foreach (Uri baseAddress in host.BaseAddresses) 85if (Object.ReferenceEquals(uriScheme, Uri.UriSchemeHttp) || Object.ReferenceEquals(uriScheme, Uri.UriSchemeHttps)) 141if (Object.ReferenceEquals(uriScheme, Uri.UriSchemeHttps))
System\ServiceModel\WebHttpBinding.cs (1)
111public Uri ProxyAddress
System\ServiceModel\WebScriptServiceHost.cs (1)
20public WebScriptServiceHost(Type serviceType, params Uri[] baseAddresses)
System.Web (53)
Abstractions\HttpRequestBase.cs (2)
268public virtual Uri Url { 274public virtual Uri UrlReferrer {
Abstractions\HttpRequestWrapper.cs (2)
279public override Uri Url { 285public override Uri UrlReferrer {
CachedPathData.cs (1)
67string dummy = System.Uri.SchemeDelimiter;
ErrorFormatter.cs (3)
789Uri uri = new Uri(linePragma); 790if (uri.Scheme == Uri.UriSchemeHttp || uri.Scheme == Uri.UriSchemeHttps)
HttpRequest.cs (8)
93private Uri _url; 94private Uri _referrer; 1915public Uri Url { 1931internal Uri BuildUrl(Func<string> pathAccessor) { 1932Uri url = null; 1945url = UriUtil.BuildUri(_wr.GetProtocol(), Uri.UnescapeDataString(serverAndPort), null /* port */, pathAccessor(), q); 1957url = UriUtil.BuildUri(_wr.GetProtocol(), Uri.UnescapeDataString(serverName), _wr.GetLocalPortAsString(), pathAccessor(), q); 1964public Uri UrlReferrer {
HttpRuntime.cs (2)
2577internal static bool HasWebPermission(Uri uri) { 3326Uri uri = new Uri(path);
Routing\ParsedRoute.cs (3)
321url.Append(Uri.EscapeDataString(unusedNewValue)); 323url.Append(Uri.EscapeDataString(Convert.ToString(value, CultureInfo.InvariantCulture))); 668string escape = Uri.EscapeUriString(str);
Security\FormsAuthentication.cs (2)
913Uri absUri; 914if (!Uri.TryCreate(path, UriKind.Absolute, out absUri))
UI\TemplateParser.cs (1)
2915if (a == typeof(string).Assembly || a == typeof(Page).Assembly || a == typeof(Uri).Assembly)
UI\Util.cs (1)
1120Uri uri=new Uri(url);
UI\WebControls\XmlDataSource.cs (6)
447Uri uri; 448bool success = Uri.TryCreate(path, UriKind.Absolute, out uri); 450if (uri.Scheme == Uri.UriSchemeHttp) { 496Uri uri; 497bool success = Uri.TryCreate(DataFile, UriKind.Absolute, out uri); 499if (uri.Scheme == Uri.UriSchemeHttp) {
UnvalidatedRequestValues.cs (2)
140private Uri _url; 141public Uri Url {
UnvalidatedRequestValuesBase.cs (1)
69public virtual Uri Url {
UnvalidatedRequestValuesWrapper.cs (1)
79public override Uri Url {
Util\UriUtil.cs (5)
20internal static Uri BuildUri(string scheme, string serverName, string port, string path, string queryString) { 25internal static Uri BuildUriImpl(string scheme, string serverName, string port, string path, string queryString, bool useLegacyRequestUrlGeneration) { 62string escaped = Uri.EscapeDataString(unescaped); 160Uri uri; 161if (isValidScheme && Uri.TryCreate(inputWithoutQueryFragment, UriKind.Absolute, out uri)) {
Util\UrlPath.cs (5)
368Uri fromUri = new Uri(dummyProtocolAndServer + from); 369Uri toUri = new Uri(dummyProtocolAndServer + to); 716internal static bool IsPathOnSameServer(string absUriOrLocalPath, Uri currentRequestUri) 722Uri absUri; 723if (!Uri.TryCreate(absUriOrLocalPath, UriKind.Absolute, out absUri)) {
WebSockets\AspNetWebSocketContext.cs (2)
138public override Uri RequestUri { 175public virtual Uri UrlReferrer {
WebSockets\AspNetWebSocketContextImpl.cs (2)
191public override Uri RequestUri { 239public override Uri UrlReferrer {
WebSockets\WebSocketUtil.cs (4)
36Uri hostHeaderUri = null; 37Uri originHeaderUri = null; 38bool urisCreatedSuccessfully = Uri.TryCreate(workerRequest.GetProtocol() + "://" + hostHeader.Trim(), UriKind.Absolute, out hostHeaderUri) // RFC 2616 (Sec. 14.23): "Host" header doesn't contain the scheme, so we need to prepend 39&& Uri.TryCreate(secWebSocketOriginHeader.Trim(), UriKind.Absolute, out originHeaderUri);
System.Web.DataVisualization (5)
Common\General\Chart.cs (1)
3570 Uri templateUri = null;
Common\Utilities\ImageLoader.cs (2)
196Uri pageUri = new Uri(control.webFormDocumentURL); 283 Uri imageUri = null;
WebForm\General\ChartHttpHandler.cs (2)
924Uri directory = new Uri(this.Directory); 925Uri combinedDirectory = new Uri(fi.FullName);
System.Web.DynamicData (1)
DynamicData\QueryStringHandler.cs (1)
72return Uri.EscapeDataString(strValue);
System.Web.Extensions (8)
ApplicationServices\ApplicationServicesHostFactory.cs (1)
14protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses) {
ClientServices\Providers\ProxyHelper.cs (1)
283Uri uri = new Uri(serverUri);
Compilation\WCFModel\AsmxEndpointPickerExtension.cs (2)
131Uri uri = null; 134if (!System.Uri.TryCreate(location, UriKind.Absolute, out uri))
Script\Serialization\JavaScriptSerializer.cs (3)
203private static void SerializeUri(Uri uri, StringBuilder sb) { 447Uri uri = o as Uri;
UI\ScriptResourceMapping.cs (1)
44!Uri.IsWellFormedUriString(path, UriKind.Absolute)) { // http://...
System.Web.Mobile (6)
Mobile\UrlPath.cs (2)
230Uri fromUri = new Uri(dummyProtocolAndServer + from); 231Uri toUri = new Uri(dummyProtocolAndServer + to);
UI\MobileControls\Design\ImageDesigner.cs (3)
36private Uri _cachedWbmpUri; 115Uri baseUri = new Uri(BaseUrl); 116Uri imageUri = new Uri(baseUri, imageUriString);
UI\MobileControls\Design\Util\FileReader.cs (1)
30internal static Byte[] Read(Uri uri)
System.Web.Services (44)
System\Web\Services\Description\HttpGetProtocolReflector.cs (1)
31this.UriFixups.Add(delegate(Uri current)
System\Web\Services\Description\HttpPostProtocolReflector.cs (1)
38this.UriFixups.Add(delegate(Uri current)
System\Web\Services\Description\ProtocolReflector.cs (1)
72internal List<Action<Uri>> UriFixups { get { return this.reflector.UriFixups; } }
System\Web\Services\Description\ServiceDescriptionReflector.cs (3)
43List<Action<Uri>> uriFixups; 45internal List<Action<Uri>> UriFixups { get { return this.uriFixups; } } 137internal ServiceDescriptionReflector(List<Action<Uri>> uriFixups)
System\Web\Services\Description\Soap12ProtocolReflector.cs (1)
88this.UriFixups.Add(delegate(Uri current)
System\Web\Services\Description\SoapProtocolReflector.cs (1)
283this.UriFixups.Add(delegate(Uri current)
System\Web\Services\Description\WebServicesInteroperability.cs (4)
297Uri uri; 298bool isAbsoluteUri = Uri.TryCreate(ns, UriKind.Absolute, out uri); 472Uri uri; 473bool isAbsoluteUri = Uri.TryCreate(ns, UriKind.Absolute, out uri);
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (2)
264if (response.ResponseUri.Scheme == Uri.UriSchemeFtp || 265response.ResponseUri.Scheme == Uri.UriSchemeFile) {
System\Web\Services\Discovery\DiscoveryRequestHandler.cs (1)
83Uri searchStartUrl = context.Request.Url;
System\Web\Services\Discovery\DynamicVirtualDiscoSearcher.cs (1)
145Uri uri = new Uri(url);
System\Web\Services\Protocols\ClientProtocol.cs (5)
62private Uri uri; 186internal Uri Uri { 231internal IAsyncResult BeginSend(Uri requestUri, WebClientAsyncResult asyncResult, bool callWriteAsyncRequest) { 420protected virtual WebRequest GetWebRequest(Uri uri) { 834protected override WebRequest GetWebRequest(Uri uri) {
System\Web\Services\Protocols\DiscoveryServerProtocol.cs (11)
31public List<Action<Uri>> UriFixups { get; private set; } 33void AddUriFixup(Action<Uri> fixup) 47this.UriFixups = new List<Action<Uri>>(); 52Uri uriObject = new Uri(uri, true); 83this.AddUriFixup(delegate(Uri current) 93this.AddUriFixup(delegate(Uri current) 107this.AddUriFixup(delegate(Uri current) 124this.AddUriFixup(delegate(Uri current) 133this.AddUriFixup(delegate(Uri current) 193internal static string CombineUris(Uri schemeHostPort, string absolutePathAndQuery) 356foreach (Action<Uri> fixup in this.serverType.UriFixups)
System\Web\Services\Protocols\DocumentationServerProtocol.cs (5)
31public List<Action<Uri>> UriFixups { get; private set; } 33void AddUriFixup(Action<Uri> fixup) 47this.UriFixups = new List<Action<Uri>>(); 52Uri uriObject = new Uri(uri, true); 216foreach (Action<Uri> fixup in this.serverType.UriFixups)
System\Web\Services\Protocols\HttpClientProtocol.cs (3)
133Uri requestUri = new Uri(requestUrl); 187Uri requestUri = new Uri(requestUrl); 299Uri requestUri = new Uri(requestUrl);
System\Web\Services\Protocols\HttpGetClientProtocol.cs (1)
28protected override WebRequest GetWebRequest(Uri uri) {
System\Web\Services\Protocols\HttpPostClientProtocol.cs (1)
28protected override WebRequest GetWebRequest(Uri uri) {
System\Web\Services\Protocols\RuntimeUtils.cs (1)
90internal static string EscapeUri(Uri uri) {
System\Web\Services\Protocols\SoapClientProtocol.cs (1)
218protected override WebRequest GetWebRequest(Uri uri) {
System.Windows.Forms (44)
winforms\Managed\System\WinForms\Application.cs (3)
375Uri codeBase = new Uri(cb); 377executablePath = codeBase.LocalPath + Uri.UnescapeDataString(codeBase.Fragment); ; 384Uri exeUri = new Uri(executablePath);
winforms\Managed\System\WinForms\Form.cs (1)
4289Uri currentSite = new Uri(arrayElement.ToString());
winforms\Managed\System\WinForms\Help.cs (5)
200Uri file = null; 281Uri file = Resolve(url); 326private static Uri Resolve(string partialUri) { 330Uri file = null; 416Uri file = Resolve(url);
winforms\Managed\System\WinForms\HtmlDocument.cs (1)
158public Uri Url
winforms\Managed\System\WinForms\HtmlElementErrorEventArgs.cs (2)
19private Uri url; 74public Uri Url
winforms\Managed\System\WinForms\HtmlHistory.cs (1)
98public void Go(Uri url)
winforms\Managed\System\WinForms\HtmlWindow.cs (4)
234public Uri Url 333public void Navigate(Uri url) 372public HtmlWindow Open(Uri url, string target, string windowOptions, bool replaceEntry) 397public HtmlWindow OpenNew(Uri url, string windowOptions)
winforms\Managed\System\WinForms\NativeMethods.cs (1)
6395Uri uri = new Uri(fileName);
winforms\Managed\System\WinForms\PictureBox.cs (3)
182private Uri CalculateUri(string path) 184Uri uri; 585Uri uri = CalculateUri(imageLocation);
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (1)
204Uri codeBase = new Uri(name.EscapedCodeBase);
winforms\Managed\System\WinForms\TrustManager.cs (3)
695System.Uri uri = new System.Uri(deploymentUrl); 696if (uri.Scheme == System.Uri.UriSchemeHttp || uri.Scheme == System.Uri.UriSchemeHttps)
winforms\Managed\System\WinForms\WebBrowser.cs (8)
272Uri url = new Uri(href); 616public Uri Url { 742public void Navigate(Uri url) 772public void Navigate(Uri url, string targetFrameName) 800public void Navigate(Uri url, bool newWindow) { 827public void Navigate(Uri url, string targetFrameName, byte[] postData, string additionalHeaders) 1525internal static void EnsureUrlConnectPermission(Uri url) { 1545private string ReadyNavigateToUrl(Uri url)
winforms\Managed\System\WinForms\WebBrowserDocumentCompletedEventHandler.cs (3)
26private Uri url; 34public WebBrowserDocumentCompletedEventArgs(Uri url) { 44public Uri Url {
winforms\Managed\System\WinForms\WebBrowserNavigatedEventHandler.cs (3)
27private Uri url; 35public WebBrowserNavigatedEventArgs(Uri url) { 45public Uri Url {
winforms\Managed\System\WinForms\WebBrowserNavigatingEventHandler.cs (3)
28private Uri url; 37public WebBrowserNavigatingEventArgs(Uri url, string targetFrameName) { 48public Uri Url {
winforms\Managed\System\WinForms\WebBrowserUriTypeConverter.cs (2)
17Uri uri = base.ConvertFrom(context, culture, value) as Uri;
System.Windows.Forms.DataVisualization (3)
Common\General\Chart.cs (1)
3570 Uri templateUri = null;
Common\Utilities\ImageLoader.cs (2)
196Uri pageUri = new Uri(control.webFormDocumentURL); 283 Uri imageUri = null;
System.Workflow.Activities (6)
Designers\InvokeWebServiceDesigner.cs (4)
43Uri url = null; 102Uri uri = extUIService.GetUrlForProxyClass(invokeWebServiceDecl.ProxyClass); 162Uri uri = extUIService.GetUrlForProxyClass(invokeWebServiceDecl.ProxyClass); 228Uri url = null;
Designers\StateDesigner.cs (2)
2732Uri uri = new Uri(pathFrom); 2733string relativePath = Uri.UnescapeDataString(uri.MakeRelativeUri(new Uri(pathTo)).ToString());
System.Workflow.ComponentModel (6)
AuthoringOM\Design\DesignerHelpers.cs (3)
1463Uri uri = new Uri(pathFrom); 1464string relativePath = Uri.UnescapeDataString(uri.MakeRelativeUri(new Uri(pathTo)).ToString()); 1476string imageFilePath = Uri.UnescapeDataString((new Uri(new Uri(directory), path).LocalPath));
AuthoringOM\Design\DesignerInterfaces.cs (3)
62DialogResult AddWebReference(out Uri url, out Type proxyClass); 63Uri GetUrlForProxyClass(Type proxyClass); 64Type GetProxyClassForUrl(Uri url);
System.Workflow.Runtime (1)
DebugEngine\DebugController.cs (1)
471public void AttachToConduit(Uri url)
System.WorkflowServices (20)
System\ServiceModel\Activation\WorkflowServiceHostFactory.cs (2)
21public override ServiceHostBase CreateServiceHost(string constructorString, Uri[] baseAddresses) 119Type GetTypeFromString(string typeString, Uri[] baseAddresses)
System\ServiceModel\Activities\Description\WorkflowRuntimeEndpoint.cs (1)
24static readonly Uri baseUri = new Uri(string.Format(CultureInfo.InvariantCulture, "net.pipe://localhost/ExternalDataExchangeEndpoint/{0}/{1}",
System\ServiceModel\WorkflowServiceHost.cs (12)
21public WorkflowServiceHost(Type workflowType, params Uri[] baseAddress) : 27public WorkflowServiceHost(string workflowDefinitionPath, params Uri[] baseAddress) : 33public WorkflowServiceHost(string workflowDefinitionPath, string ruleDefinitionPath, params Uri[] baseAddress) 39public WorkflowServiceHost(string workflowDefinitionPath, string ruleDefinitionPath, ITypeProvider typeProvider, params Uri[] baseAddress) 46public WorkflowServiceHost(Stream workflowDefinition, params Uri[] baseAddress) : 52public WorkflowServiceHost(Stream workflowDefinition, Stream ruleDefinition, params Uri[] baseAddress) : 58public WorkflowServiceHost(Stream workflowDefinition, Stream ruleDefinition, ITypeProvider typeProvider, params Uri[] baseAddress) 69internal WorkflowServiceHost(WorkflowDefinitionContext workflowDefinitionContext, params Uri[] baseAddress) 90public ServiceEndpoint AddServiceEndpoint(Type implementedContract, Binding binding, Uri address) 95public ServiceEndpoint AddServiceEndpoint(Type implementedContract, Binding binding, string address, Uri listenUri) 105public ServiceEndpoint AddServiceEndpoint(Type implementedContract, Binding binding, Uri address, Uri listenUri)
System\Workflow\Runtime\Hosting\ChannelManager.cs (5)
23static Uri defaultViaUri = new Uri("channelCache://default_address"); 128Uri via = (customAddress != null) ? new Uri(customAddress) : defaultViaUri; 141public PooledChannel TakeChannel(EndpointAddress address, Uri via, out ChannelPoolKey key) 186PooledChannel CreateChannel(ChannelFactoryReference factory, EndpointAddress address, Uri via, out bool channelCreated) 444protected override ChannelPoolKey GetPoolKey(EndpointAddress address, Uri via)
System.Xml (121)
System\Xml\Core\IDtdParserAdapter.cs (1)
28Uri BaseUri { get; }
System\Xml\Core\XmlReaderSettings.cs (1)
409internal XmlReader CreateReader(Stream input, Uri baseUri, string baseUriString, XmlParserContext inputContext) {
System\Xml\Core\XmlTextReaderImpl.cs (14)
140public Uri inputbaseUri; 625Uri baseUri = uriResolver.ResolveUri(null, uriStr); 709internal XmlTextReaderImpl( Stream stream, byte[] bytes, int byteCount, XmlReaderSettings settings, Uri baseUri, string baseUriStr, 2197internal Uri DtdParserProxy_BaseUri { 2589private void InitStreamInput( Uri baseUri, Stream stream, Encoding encoding ) { 2595private void InitStreamInput( Uri baseUri, string baseUriStr, Stream stream, Encoding encoding ) { 2600private void InitStreamInput( Uri baseUri, string baseUriStr, Stream stream, byte[] bytes, int byteCount, Encoding encoding ) { 2682private void InitTextReaderInput( string baseUriStr, Uri baseUri, TextReader input ) { 7103private void PushExternalEntityOrSubset( string publicId, string systemId, Uri baseUri, string entityName ) { 7104Uri uri; 7153private bool OpenAndPush( Uri uri ) { 7193Uri entityBaseUri = null; 8470bool UriEqual( Uri uri1, string uri1Str, string uri2Str, XmlResolver resolver ) { 8477Uri uri2 = resolver.ResolveUri( null, uri2Str );
System\Xml\Core\XmlTextReaderImplAsync.cs (8)
816private Task InitStreamInputAsync( Uri baseUri, Stream stream, Encoding encoding ) { 822private Task InitStreamInputAsync( Uri baseUri, string baseUriStr, Stream stream, Encoding encoding ) { 827private async Task InitStreamInputAsync( Uri baseUri, string baseUriStr, Stream stream, byte[] bytes, int byteCount, Encoding encoding ) { 905private Task InitTextReaderInputAsync( string baseUriStr, Uri baseUri, TextReader input ) { 4739private async Task PushExternalEntityOrSubsetAsync(string publicId, string systemId, Uri baseUri, string entityName) { 4741Uri uri; 4797private async Task< bool > OpenAndPushAsync( Uri uri ) { 4837Uri entityBaseUri = null;
System\Xml\Core\XmlTextReaderImplHelpers.cs (2)
60internal Uri baseUri; 194Uri IDtdParserAdapter.BaseUri {
System\Xml\IApplicationResourceStreamResolver.cs (1)
14Stream GetApplicationResourceStream(Uri relativeUri);
System\Xml\Resolvers\XmlPreloadedResolver.cs (14)
116Dictionary<Uri, PreloadedData> mappings; 154public XmlPreloadedResolver(XmlResolver fallbackResolver, XmlKnownDtds preloadedDtds, IEqualityComparer<Uri> uriComparer) { 156this.mappings = new Dictionary<Uri, PreloadedData>(16, uriComparer); 174public override Uri ResolveUri(Uri baseUri, string relativeUri) { 200public override Object GetEntity(Uri absoluteUri, string role, Type ofObjectToReturn) { 234public override bool SupportsType(Uri absoluteUri, Type type) { 250public void Add(Uri uri, byte[] value) { 260public void Add(Uri uri, byte[] value, int offset, int count) { 280public void Add(Uri uri, Stream value) { 309public void Add(Uri uri, string value) { 319public IEnumerable<Uri> PreloadedUris { 326public void Remove(Uri uri) { 336private void Add(Uri uri, PreloadedData data) {
System\Xml\Resolvers\XmlPreloadedResolverAsync.cs (1)
21public override Task<Object> GetEntityAsync(Uri absoluteUri,
System\Xml\Schema\BaseValidator.cs (2)
25Uri baseUri; 94public Uri BaseUri {
System\Xml\Schema\Chameleonkey.cs (1)
19internal Uri chameleonLocation;
System\Xml\Schema\DataTypeImplementation.cs (5)
2368static readonly Type atomicValueType = typeof(Uri); 2369static readonly Type listValueType = typeof(Uri[]); 2402return ((Uri)value1).Equals((Uri)value2) ? 0 : -1; 2413Uri uri;
System\Xml\Schema\DtdParser.cs (7)
275Uri baseUri = readerAdapter.BaseUri; 324Uri baseUriOb = readerAdapter.BaseUri; 493Uri baseUri = readerAdapter.BaseUri; 3257Uri tmp = readerAdapter.BaseUri; 3273Uri baseUri = readerAdapter.BaseUri; 3278Uri baseUri = readerAdapter.BaseUri; 3283Uri baseUri = readerAdapter.BaseUri;
System\Xml\Schema\DtdParserAsync.cs (1)
138Uri baseUri = readerAdapter.BaseUri;
System\Xml\Schema\FacetChecker.cs (2)
1168if (value.Equals(((Uri)enumeration[i]).OriginalString)) { 1190Uri uri;
System\Xml\Schema\Preprocessor.cs (4)
244Uri includeLocation = null; 260Uri ruri = null; 1739private Uri ResolveSchemaLocationUri(XmlSchema enclosingSchema, string location) { 1746private object GetSchemaEntity(Uri ruri) {
System\Xml\Schema\SchemaCollectionpreProcessor.cs (5)
127Uri includeLocation = null; 155Uri subUri = null; 190Uri ruri = ResolveSchemaLocationUri(schema, schemaLocation); 1433private Uri ResolveSchemaLocationUri(XmlSchema enclosingSchema, string location) { 1442private Stream GetSchemaEntity(Uri ruri) {
System\Xml\Schema\XdrBuilder.cs (2)
489Uri _baseUri = xmlResolver.ResolveUri(null,_reader.BaseURI); 492Uri ruri = xmlResolver.ResolveUri(_baseUri, uri.Substring(x_schema.Length));
System\Xml\Schema\XdrValidator.cs (1)
282Uri ruri = this.XmlResolver.ResolveUri(BaseUri, url);
System\Xml\Schema\XmlSchema.cs (2)
72Uri baseUri; 476internal Uri BaseUri {
System\Xml\Schema\XmlSchemaExternal.cs (2)
17Uri baseUri; 52internal Uri BaseUri {
System\Xml\Schema\XmlSchemaSet.cs (6)
293Uri tempSchemaUri = tempResolver.ResolveUri(null, schemaUri); 328Uri schemaUri = new Uri(schemaDocument.BaseURI, UriKind.RelativeOrAbsolute); 861internal XmlSchema FindSchemaByNSAndUrl(Uri schemaUri, string ns, DictionaryEntry[] locationsTable) { 1080Uri baseUri; 1181internal bool IsSchemaLoaded(Uri schemaUri, string targetNamespace, out XmlSchema schema) { 1213internal bool GetSchemaByUri(Uri schemaUri, out XmlSchema schema) {
System\Xml\Schema\XmlSchemaValidator.cs (3)
118private Uri sourceUri; 262public Uri SourceUri { 1551Uri ruri = xmlResolver.ResolveUri(sourceUri, url);
System\Xml\Schema\XmlValueConverter.cs (6)
359protected static readonly Type UriType = typeof(Uri); 703protected static string AnyUriToString(Uri value) { 1883if (IsDerivedFrom(sourceType, UriType)) if (TypeCode == XmlTypeCode.AnyUri) return AnyUriToString((Uri) value); 1991if (IsDerivedFrom(sourceType, UriType)) if (TypeCode == XmlTypeCode.AnyUri) return ((Uri) value); 2394if (IsDerivedFrom(sourceType, UriType)) return AnyUriToString((Uri) value); 3182if (itemTypeDst == UriType) return ToArray<Uri>(value, nsResolver);
System\Xml\Schema\XsdValidator.cs (1)
482Uri ruri = this.XmlResolver.ResolveUri(BaseUri, url);
System\Xml\Serialization\XmlSchemas.cs (1)
133public int Add(XmlSchema schema, Uri baseUri) {
System\Xml\XmlConvert.cs (5)
1369internal static Uri ToUri(string s) { 1376Uri uri; 1377if (!Uri.TryCreate(s, UriKind.RelativeOrAbsolute, out uri)) { 1384internal static Exception TryToUri(string s, out Uri result) { 1393if (!Uri.TryCreate(s, UriKind.RelativeOrAbsolute, out result)) {
System\Xml\XmlDownloadManager.cs (4)
27internal Stream GetStream(Uri uri, ICredentials credentials, IWebProxy proxy, 37private Stream GetNonFileStream( Uri uri, ICredentials credentials, IWebProxy proxy, 212private Uri uri; 214internal XmlCachedStream( Uri uri, Stream stream )
System\Xml\XmlDownloadManagerAsync.cs (2)
20internal Task<Stream> GetStreamAsync(Uri uri, ICredentials credentials, IWebProxy proxy, 30private async Task<Stream> GetNonFileStreamAsync(Uri uri, ICredentials credentials, IWebProxy proxy,
System\Xml\XmlNullResolver.cs (1)
19public override Object GetEntity(Uri absoluteUri, string role, Type ofObjectToReturn) {
System\Xml\XmlResolver.cs (5)
34public abstract Object GetEntity(Uri absoluteUri, 48public virtual Uri ResolveUri(Uri baseUri, string relativeUri) { 50Uri uri = new Uri( relativeUri, UriKind.RelativeOrAbsolute ); 97public virtual bool SupportsType(Uri absoluteUri, Type type) {
System\Xml\XmlResolverAsync.cs (1)
8public virtual Task<Object> GetEntityAsync(Uri absoluteUri,
System\Xml\XmlSecureResolver.cs (4)
33public override object GetEntity(Uri absoluteUri, string role, Type ofObjectToReturn) { 40public override Uri ResolveUri(Uri baseUri, string relativeUri) { 49Uri uri = new Uri(securityUrl, UriKind.RelativeOrAbsolute);
System\Xml\XmlSecureResolverAsync.cs (1)
9public override Task<object> GetEntityAsync(Uri absoluteUri, string role, Type ofObjectToReturn) {
System\Xml\XmlUrlResolver.cs (3)
56public override Object GetEntity(Uri absoluteUri, string role, Type ofObjectToReturn) { 68public override Uri ResolveUri(Uri baseUri, string relativeUri){
System\Xml\XmlUrlResolverAsync.cs (1)
12public override async Task<Object> GetEntityAsync(Uri absoluteUri, string role, Type ofObjectToReturn) {
System\Xml\XmlXapResolver.cs (1)
19public override object GetEntity(Uri absoluteUri, string role, Type ofObjectToReturn)
WindowsBase (219)
Base\MS\Internal\IO\Packaging\Certificate.cs (2)
81internal Uri Uri 143internal CertificatePart(Package container, Uri partName)
Base\MS\Internal\IO\Packaging\InternalRelationshipCollection.cs (9)
107internal PackageRelationship Add(Uri targetUri, TargetMode targetMode, string relationshipType, string id) 265private static Uri GetRelationshipPartUri(PackagePart part) 267Uri sourceUri; 406Uri targetUri = new Uri(targetAttributeValue, UriKind.RelativeOrAbsolute); 451private PackageRelationship Add(Uri targetUri, TargetMode targetMode, string relationshipType, string id, bool parsing) 478Uri resolvedUri = GetResolvedTargetUri(targetUri, targetMode); 625private Uri GetResolvedTargetUri(Uri target, TargetMode targetMode) 806private Uri _uri; // the URI of our relationship part
Base\MS\Internal\IO\Packaging\PartBasedPackageProperties.cs (2)
529Uri propertiesPartUri = PackUriHelper.ResolvePartUri( 816private Uri GeneratePropertyPartUri()
Base\MS\Internal\IO\Packaging\PartManifestEntry.cs (5)
41internal Uri Uri { get { return _uri; } } 47internal Uri OwningPartUri // only valid if IsRelationshipEntry 70internal PartManifestEntry(Uri uri, ContentType contentType, String hashAlgorithm, 122private Uri _owningPartUri; // owing part if this is a Relationship Uri 123private Uri _uri;
Base\MS\Internal\IO\Packaging\PieceNameHelper.cs (1)
332Uri partUri = new Uri(ZipPackage.GetOpcNameFromZipItemName(parseResults.PrefixName), UriKind.Relative);
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (6)
76IEnumerable<Uri> parts, 242internal List<String> GetPartTransformList(Uri partName) 301internal List<Uri> PartManifest 775IEnumerable<Uri> parts, 1174IEnumerable<Uri> parts, IEnumerable<PackageRelationshipSelector> relationshipSelectors, 1305private List<Uri> _partManifest; // signed parts (suitable for return to public API)
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (18)
114out List<Uri> partManifest, 122partManifest = new List<Uri>(); 215private static Uri ParsePartUri(XmlReader reader, out ContentType contentType) 219Uri partUri = null; 249Uri partUri = ParsePartUri(reader, out contentType); 310private static List<String> ParseTransformsTag(XmlReader reader, Uri partUri, ref List<PackageRelationshipSelector> relationshipSelectors) 418private static void ParseRelationshipsTransform(XmlReader reader, Uri partUri, ref List<PackageRelationshipSelector> relationshipSelectors) 420Uri owningPartUri = PackUriHelper.GetSourcePartUriFromRelationshipPartUri(partUri); 486IEnumerable<Uri> parts, 506foreach (Uri partUri in parts) 548Dictionary<Uri, List<PackageRelationshipSelector>> partAndSelectorDictionary 549= new Dictionary<Uri, List<PackageRelationshipSelector>>(); 554Uri relationshipPartUri = PackUriHelper.GetRelationshipPartUri(relationshipSelector.SourceUri); 581foreach (Uri partName in partAndSelectorDictionary.Keys) 595private static Uri ParsePartUriAttribute(String attrValue, out ContentType contentType) 601Uri uri = null; 646Uri relationshipPartName, 751Uri partName)
Base\MS\Internal\Security\AttachmentService.cs (2)
77internal static void SaveWithUI(IntPtr parent, Uri source, Uri target)
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (10)
275Uri url = GetClientLicensorUrl(_user.AuthenticationType); 904private Uri GetCertificationUrl(AuthenticationType authentication) 911Uri server = null; 939private static Uri GetRegistryPassportCertificationUrl() 978private Uri GetClientLicensorUrl(AuthenticationType authentication) 985Uri server = GetServiceLocation(ServiceType.ClientLicensor, ServiceLocation.Enterprise, null); 1017ActivationFlags activationFlags, Uri url) 1050private Uri GetServiceLocation( 1799internal static Uri GetUseLicenseAcquisitionUriFromPublishLicense(string publishLicense) 1816out Uri referralInfoUri)
Base\MS\Internal\Security\RightsManagement\IssuanceLicense.cs (2)
46Uri referralInfoUri, 80Uri referralInfoUri,
Base\MS\Internal\Security\RightsManagement\RevocationPoint.cs (2)
69internal Uri Url 124private Uri _url;
Base\System\IO\FileFormatException.cs (7)
67public FileFormatException(Uri sourceUri) 85public FileFormatException(Uri sourceUri, String message) 101public FileFormatException(Uri sourceUri, Exception innerException) 122public FileFormatException(Uri sourceUri, String message, Exception innerException) 159Uri sourceUri = SourceUri; 178public Uri SourceUri 190private Uri _sourceUri;
Base\System\IO\Packaging\Package.cs (13)
283public PackagePart CreatePart(Uri partUri, string contentType) 306public PackagePart CreatePart(Uri partUri, 355public PackagePart GetPart(Uri partUri) 378public virtual bool PartExists(Uri partUri) 396public void DeletePart(Uri partUri) 443Uri owningPartUri = PackUriHelper.GetSourcePartUriFromRelationshipPartUri(validatedPartUri); 445if (Uri.Compare(owningPartUri, PackUriHelper.PackageRootUri, UriComponents.SerializationInfoString, UriFormat.UriEscaped, StringComparison.Ordinal)==0) 644public PackageRelationship CreateRelationship(Uri targetUri, TargetMode targetMode, string relationshipType) 668public PackageRelationship CreateRelationship(Uri targetUri, TargetMode targetMode, string relationshipType, String id) 796protected abstract PackagePart CreatePartCore(Uri partUri, 808protected abstract PackagePart GetPartCore(Uri partUri); 817protected abstract void DeletePartCore(Uri partUri); 1376private PackagePart GetPartHelper(Uri partUri)
Base\System\IO\Packaging\PackageDigitalSignature.cs (6)
83public ReadOnlyCollection<Uri> SignedParts 91_signedParts = new ReadOnlyCollection<Uri>(_processor.PartManifest); 269public List<String> GetPartTransformList(Uri partName) 315foreach (Uri partUri in SignedParts) 403Uri resolvedUri = PackUriHelper.ResolvePartUri(SignaturePart.Uri, relationship.TargetUri); 455private ReadOnlyCollection<Uri> _signedParts;
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (30)
298public Uri SignatureOrigin 366public PackageDigitalSignature Sign(IEnumerable<Uri> parts) 380public PackageDigitalSignature Sign(IEnumerable<Uri> parts, X509Certificate certificate) 394public PackageDigitalSignature Sign(IEnumerable<Uri> parts, X509Certificate certificate, IEnumerable<PackageRelationshipSelector> relationshipSelectors) 410IEnumerable<Uri> parts, 465IEnumerable<Uri> parts, 489Uri newSignaturePartName = GenerateSignaturePartName(); 572Uri certificatePartName = PackUriHelper.CreatePartUri(new Uri( 637List<Uri> signatures = new List<Uri>(_signatures.Count); 657public PackageDigitalSignature Countersign(X509Certificate certificate, IEnumerable<Uri> signatures) 670foreach (Uri uri in signatures) 723public void RemoveSignature(Uri signatureUri) 808public PackageDigitalSignature GetSignature(Uri signatureUri) 962private void VerifyPartsExist(IEnumerable<Uri> parts) 967foreach (Uri partUri in parts) 991private void VerifySignArguments(IEnumerable<Uri> parts, 1077private void InternalRemoveSignature(Uri signatureUri, int countOfSignaturesRemaining) 1146Uri certificatePartName = PackUriHelper.ResolvePartUri(r.SourceUri, r.TargetUri); 1161Debug.Assert(Uri.Compare(r.SourceUri, 1172Uri targetUri = PackUriHelper.ResolvePartUri(r.SourceUri, r.TargetUri); 1187Uri uri = signatureUri as Uri; 1226private int GetSignatureIndex(Uri uri) 1242private int CertificatePartReferenceCount(Uri certificatePartUri) 1264private Uri GenerateSignaturePartName() 1290Uri signaturePartName = PackUriHelper.ResolvePartUri(_originPart.Uri, r.TargetUri); 1334Uri targetUri = PackUriHelper.ResolvePartUri(r.SourceUri, r.TargetUri); 1403private static Uri _defaultOriginPartName = PackUriHelper.CreatePartUri(new Uri("/package/services/digital-signature/origin.psdsor", UriKind.Relative)); 1404private Uri _originPartName = _defaultOriginPartName;
Base\System\IO\Packaging\PackagePart.cs (6)
67protected PackagePart(Package package, Uri partUri) 95protected PackagePart(Package package, Uri partUri, string contentType) 125Uri partUri, 167public Uri Uri 414public PackageRelationship CreateRelationship(Uri targetUri, TargetMode targetMode, string relationshipType) 440public PackageRelationship CreateRelationship(Uri targetUri, TargetMode targetMode, string relationshipType, String id)
Base\System\IO\Packaging\PackageRelationship.cs (6)
55public Uri SourceUri 70public Uri TargetUri 158internal PackageRelationship(Package package, PackagePart sourcePart, Uri targetUri, TargetMode targetMode, string relationshipType, string id) 217internal static Uri ContainerRelationshipPartName 270private Uri _targetUri; 276private static readonly Uri _containerRelationshipPartName = PackUriHelper.CreatePartUri(new Uri("/_rels/.rels", UriKind.Relative));
Base\System\IO\Packaging\PackageRelationshipSelector.cs (4)
50public PackageRelationshipSelector(Uri sourceUri, PackageRelationshipSelectorType selectorType, string selectionCriteria) 59if(Uri.Compare(sourceUri,PackUriHelper.PackageRootUri, UriComponents.SerializationInfoString, UriFormat.UriEscaped, StringComparison.Ordinal) != 0) 90public Uri SourceUri 242private Uri _sourceUri;
Base\System\IO\Packaging\PackUriHelper.cs (73)
64public static Uri Create(Uri packageUri) 82public static Uri Create(Uri packageUri, Uri partUri) 103public static Uri Create(Uri packageUri, Uri partUri, string fragment) 139absolutePackageUri = String.Concat(PackUriHelper.UriSchemePack, Uri.SchemeDelimiter, absolutePackageUri); 141Uri packUri = new Uri(absolutePackageUri); 168public static Uri GetPackageUri ( Uri packUri ) 170Uri packageUri; 171Uri partUri; 194public static Uri GetPartUri(Uri packUri) 196Uri packageUri; 197Uri partUri; 224public static Uri CreatePartUri(Uri partUri) 236Uri resolvedUri = new Uri(_defaultUri, partUri); 265public static Uri ResolvePartUri(Uri sourcePartUri, Uri targetUri) 277Uri resolvedUri; 295public static Uri GetRelativeUri(Uri sourcePartUri, Uri targetPartUri) 318public static Uri GetNormalizedPartUri(Uri partUri) 340public static int ComparePackUri(Uri firstPackUri, Uri secondPackUri) 349Uri firstPackageUri; 350Uri secondPackageUri; 351Uri firstPartUri; 352Uri secondPartUri; 388public static int ComparePartUri(Uri firstPartUri, Uri secondPartUri) 413public static bool IsRelationshipPartUri(Uri partUri) 437public static Uri GetRelationshipPartUri(Uri partUri) 442if (Uri.Compare(partUri, PackageRootUri, UriComponents.SerializationInfoString, UriFormat.UriEscaped, StringComparison.Ordinal) == 0) 492public static Uri GetSourcePartUriFromRelationshipPartUri(Uri relationshipPartUri) 558internal static Uri PackageRootUri 576internal static bool IsPackUri(Uri uri) 582internal static bool TryValidatePartUri(Uri partUri, out ValidatedPartUri validatedPartUri) 621internal static ValidatedPartUri ValidatePartUri(Uri partUri) 641internal static string GetStringForPartUri(Uri partUri) 653internal static void ValidateAndGetPackUriComponents(Uri packUri, out Uri packageUri, out Uri partUri) 720private static Uri ValidatePackageUri(Uri packageUri) 732private static Uri ValidatePackUri(Uri packUri) 764path = path.Replace(characterString, Uri.HexEscape(c)); 770private static Exception GetExceptionIfPartUriInvalid(Uri partUri, out string partUriString) 830private static void ThrowIfAbsoluteUri(Uri uri) 837private static ArgumentException GetExceptionIfAbsoluteUri(Uri uri) 904private static int CompareUsingSystemUri(Uri firstUri, Uri secondUri) 906return Uri.Compare( 915private static string GetStringForPartUriFromAnyUri(Uri partUri) 920Uri safeUnescapedUri; 965private static Uri GetPackageUriComponent(Uri packUri) 976Uri packageUri = new Uri(Uri.UnescapeDataString(hostAndPort)); 985private static PackUriHelper.ValidatedPartUri GetPartUriComponent(Uri packUri) 1008private static readonly Uri _defaultUri = new Uri("http://defaultcontainer/"); 1011private static readonly Uri _packageRootUri = new Uri("/", UriKind.Relative); 1324private static readonly Uri _containerRelationshipNormalizedPartUri = new ValidatedPartUri("/_RELS/.RELS",
Base\System\IO\Packaging\ZipPackage.cs (5)
73protected override PackagePart CreatePartCore(Uri partUri, 134protected override PackagePart GetPartCore(Uri partUri) 163protected override void DeletePartCore(Uri partUri) 274Uri partUri = new Uri(GetOpcNameFromZipItemName(zipInfo.Name), UriKind.Relative); 304Uri partUri = new Uri(GetOpcNameFromZipItemName(zipInfo.Name), UriKind.Relative);
Base\System\Security\RightsManagement\PublishLicense.cs (4)
143public Uri ReferralInfoUri 170public Uri UseLicenseAcquisitionUrl 233private Uri _referralInfoUri; 235private Uri _useLicenseAcquisitionUriFromPublishLicense = null;
Base\System\Security\RightsManagement\UnsignedPublishLicense.cs (2)
192public Uri ReferralInfoUri 384private Uri _referralInfoUri;
Shared\MS\Internal\ResourceIDHelper.cs (4)
24Uri baseUri = new Uri("http://foo/"); 25Uri srcUri = new Uri(baseUri, relPath.Replace("#", "%23")); 34static private string GetResourceIDFromUri(Uri baseUri, Uri sourceUri)