diff options
Diffstat (limited to 'mcs/class/System.ComponentModel.Composition/Tests/ComponentModelUnitTest/System/ComponentModel/Composition/Factories/ExportDefinitionFactory.DerivedExportDefinition.cs')
-rw-r--r-- | mcs/class/System.ComponentModel.Composition/Tests/ComponentModelUnitTest/System/ComponentModel/Composition/Factories/ExportDefinitionFactory.DerivedExportDefinition.cs | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/mcs/class/System.ComponentModel.Composition/Tests/ComponentModelUnitTest/System/ComponentModel/Composition/Factories/ExportDefinitionFactory.DerivedExportDefinition.cs b/mcs/class/System.ComponentModel.Composition/Tests/ComponentModelUnitTest/System/ComponentModel/Composition/Factories/ExportDefinitionFactory.DerivedExportDefinition.cs deleted file mode 100644 index 41916d32d84..00000000000 --- a/mcs/class/System.ComponentModel.Composition/Tests/ComponentModelUnitTest/System/ComponentModel/Composition/Factories/ExportDefinitionFactory.DerivedExportDefinition.cs +++ /dev/null @@ -1,46 +0,0 @@ -// -----------------------------------------------------------------------
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// -----------------------------------------------------------------------
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.Composition;
-using System.ComponentModel.Composition.Hosting;
-using System.ComponentModel.Composition.Primitives;
-
-namespace System.ComponentModel.Composition.Factories
-{
- partial class ExportDefinitionFactory
- {
- private class DerivedExportDefinition : ExportDefinition, ICompositionElement
- {
- private readonly string _contractName;
- private readonly IDictionary<string, object> _metadata;
-
- public DerivedExportDefinition(string contractName, IDictionary<string, object> metadata)
- {
- _contractName = contractName;
- _metadata = metadata ?? new Dictionary<string, object>();
- }
-
- public override string ContractName
- {
- get { return _contractName; }
- }
-
- public override IDictionary<string, object> Metadata
- {
- get { return _metadata; }
- }
-
- public string DisplayName
- {
- get { return base.ToString(); }
- }
-
- public ICompositionElement Origin
- {
- get { return null; }
- }
- }
- }
-}
|