-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
Copy pathIResource.cs
32 lines (26 loc) · 992 Bytes
/
IResource.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Resources;
#nullable disable
namespace Microsoft.Build.Tasks.ResourceHandling
{
internal interface IResource
{
/// <summary>
/// Name of the resource, as specified in the source.
/// </summary>
string Name { get; }
/// <summary>
/// The resource's type's assembly-qualified name. May be null when the type is not knowable from the source.
/// </summary>
string TypeAssemblyQualifiedName { get; }
/// <summary>
/// The resource's type's full name. May be null when the type is not knowable from the source.
/// </summary>
string TypeFullName { get; }
/// <summary>
/// Adds the resource represented by this object to the specified writer.
/// </summary>
void AddTo(IResourceWriter writer);
}
}