blob: 6b05f3e9500b82ededced86c14ceb0be138a2bd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//-----------------------------------------------------------------------
// <copyright file="IEmbeddedResourceRetrieval.cs" company="Outercurve Foundation">
// Copyright (c) Outercurve Foundation. 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);
}
}
|