AssemblyReferences Class
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
A context item that maintains the set of references the designer is using to resolve type information.
System.Object
Microsoft.Windows.Design.ContextItem
Microsoft.Windows.Design.AssemblyReferences
Namespace: Microsoft.Windows.Design
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
'Declaration
Public Class AssemblyReferences _
Inherits ContextItem
public class AssemblyReferences : ContextItem
public ref class AssemblyReferences : public ContextItem
type AssemblyReferences =
class
inherit ContextItem
end
public class AssemblyReferences extends ContextItem
The AssemblyReferences type exposes the following members.
Name | Description | |
---|---|---|
AssemblyReferences() | Initializes a new instance of the AssemblyReferences class. | |
AssemblyReferences(IEnumerable<AssemblyName>) | Initializes a new instance of the AssemblyReferences class with the specified set of references. | |
AssemblyReferences(AssemblyName, IEnumerable<AssemblyName>) | Initializes a new instance of the AssemblyReferences class with the specified local assembly name and set of references. |
Top
Name | Description | |
---|---|---|
ItemType | Gets a key in the context item manager that is used to determine what type of context item this object is. (Overrides ContextItem.ItemType.) | |
LocalAssemblyName | Gets the local assembly name. | |
ReferencedAssemblies | Gets an enumerable that can be used to enumerate the set of referenced assemblies. |
Top
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetTypes | Returns all the types in the set of referenced assemblies that derive from or implement the specified base type. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnItemChanged | Called on a context item before it is stored in the context item manager. (Overrides ContextItem.OnItemChanged(EditingContext, ContextItem).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
You can add more references to the editing context by creating a new AssemblyReferences object that has the additional references and setting this value into the context. The true set of references used will be the union of the new and existing references.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.