Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.ComponentModel.Composition/Tests/ComponentModelUnitTest/System/ComponentModel/Composition/Factories/ElementFactory.cs')
-rw-r--r--mcs/class/System.ComponentModel.Composition/Tests/ComponentModelUnitTest/System/ComponentModel/Composition/Factories/ElementFactory.cs45
1 files changed, 0 insertions, 45 deletions
diff --git a/mcs/class/System.ComponentModel.Composition/Tests/ComponentModelUnitTest/System/ComponentModel/Composition/Factories/ElementFactory.cs b/mcs/class/System.ComponentModel.Composition/Tests/ComponentModelUnitTest/System/ComponentModel/Composition/Factories/ElementFactory.cs
deleted file mode 100644
index 34d15343d3a..00000000000
--- a/mcs/class/System.ComponentModel.Composition/Tests/ComponentModelUnitTest/System/ComponentModel/Composition/Factories/ElementFactory.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-// -----------------------------------------------------------------------
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// -----------------------------------------------------------------------
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.Composition.Hosting;
-using System.ComponentModel.Composition.Primitives;
-
-namespace System.ComponentModel.Composition.Factories
-{
- internal static partial class ElementFactory
- {
- public static ICompositionElement Create()
- {
- return Create((string)null, (ICompositionElement)null);
- }
-
- public static ICompositionElement Create(string displayName)
- {
- return Create(displayName, (ICompositionElement)null);
- }
-
- public static ICompositionElement Create(ICompositionElement origin)
- {
- return Create((string)null, origin);
- }
-
- public static ICompositionElement Create(string displayName, ICompositionElement origin)
- {
- return new CompositionElement(displayName, origin);
- }
-
- public static ICompositionElement CreateChain(int count)
- {
- ICompositionElement previousElement = null;
-
- for (int i = 0; i < count; i++)
- {
- previousElement = Create((count - i).ToString(), previousElement);
- }
-
- return previousElement;
- }
- }
-} \ No newline at end of file