diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-01-12 08:40:50 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-01-12 08:42:14 -0800 |
commit | af21cdaf77ca72f54e04f22268b740ce262582fa (patch) | |
tree | 9b158e3bff1f56264bccb9e45c8b807816beece6 /src/DotNetOpenAuth.Core/IEmbeddedResourceRetrieval.cs | |
parent | a73f2a4830aaa2afcb3f13da2206d9b011dad7fb (diff) | |
download | DotNetOpenAuth-af21cdaf77ca72f54e04f22268b740ce262582fa.zip DotNetOpenAuth-af21cdaf77ca72f54e04f22268b740ce262582fa.tar.gz DotNetOpenAuth-af21cdaf77ca72f54e04f22268b740ce262582fa.tar.bz2 |
Renamed assembly DotNetOpenAuth.Messaging(.UI) to DotNetOpenAuth.Core(.UI)
Diffstat (limited to 'src/DotNetOpenAuth.Core/IEmbeddedResourceRetrieval.cs')
-rw-r--r-- | src/DotNetOpenAuth.Core/IEmbeddedResourceRetrieval.cs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.Core/IEmbeddedResourceRetrieval.cs b/src/DotNetOpenAuth.Core/IEmbeddedResourceRetrieval.cs new file mode 100644 index 0000000..b9a6fd0 --- /dev/null +++ b/src/DotNetOpenAuth.Core/IEmbeddedResourceRetrieval.cs @@ -0,0 +1,22 @@ +//----------------------------------------------------------------------- +// <copyright file="IEmbeddedResourceRetrieval.cs" company="Andrew Arnott"> +// Copyright (c) Andrew Arnott. All rights reserved. +// </copyright> +//----------------------------------------------------------------------- + +namespace DotNetOpenAuth { + using System; + + /// <summary> + /// An interface that provides URLs from which embedded resources can be obtained. + /// </summary> + public interface IEmbeddedResourceRetrieval { + /// <summary> + /// Gets the URL from which the given manifest resource may be downloaded by the user agent. + /// </summary> + /// <param name="someTypeInResourceAssembly">Some type in the assembly containing the desired resource.</param> + /// <param name="manifestResourceName">Manifest name of the desired resource.</param> + /// <returns>An absolute URL.</returns> + Uri GetWebResourceUrl(Type someTypeInResourceAssembly, string manifestResourceName); + } +} |