-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
ICompositionElement.cs
42 lines (40 loc) · 1.44 KB
/
ICompositionElement.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
33
34
35
36
37
38
39
40
41
42
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace System.ComponentModel.Composition.Primitives
{
/// <summary>
/// Represents an element that participates in composition.
/// </summary>
public interface ICompositionElement
{
/// <summary>
/// Gets the display name of the composition element.
/// </summary>
/// <value>
/// A <see cref="string"/> containing a human-readable display name of the <see cref="ICompositionElement"/>.
/// </value>
/// <remarks>
/// <note type="implementnotes">
/// Implementors of this property should never return <see langword="null"/> or an empty
/// string ("").
/// </note>
/// </remarks>
string DisplayName
{
get;
}
/// <summary>
/// Gets the composition element from which the current composition element
/// originated.
/// </summary>
/// <value>
/// A <see cref="ICompositionElement"/> from which the current
/// <see cref="ICompositionElement"/> originated, or <see langword="null"/>
/// if the <see cref="ICompositionElement"/> is the root composition element.
/// </value>
ICompositionElement? Origin
{
get;
}
}
}