You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Create an instance for <paramref name="objectType" />.
50
+
/// </summary>
51
+
/// <param name="objectType"><see cref="Type" /> used to create an instance.</param>
52
+
/// <typeparam name="T"><paramref name="objectType" /> must be type-equal to, inherit or implement <typeparamref name="T" />.</typeparam>
53
+
/// <returns>New instance of <paramref name="objectType" /> as <typeparamref name="T" />.</returns>
54
+
/// <exception cref="InvalidOperationException">Cannot create an instance of <paramref name="objectType" />. Whether <paramref name="objectType" /> is not type-equal, does not inherit or implement <typeparamref name="T" /> or has no default constructor.</exception>
Copy file name to clipboardExpand all lines: src/UnityContainerAttributeRegistration/Populator/TypePopulator.cs
-30Lines changed: 0 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,6 @@
3
3
usingSystem.Linq;
4
4
usingSystem.Reflection;
5
5
6
-
usingJetBrains.Annotations;
7
-
8
6
usingUnity;
9
7
usingUnity.Lifetime;
10
8
@@ -59,33 +57,5 @@ public override IUnityContainer Populate(IUnityContainer container)
59
57
60
58
returncontainer;
61
59
}
62
-
63
-
/// <summary>
64
-
/// Create an instance for <paramref name="objectType" />.
65
-
/// </summary>
66
-
/// <param name="objectType"><see cref="Type" /> used to create an instance.</param>
67
-
/// <typeparam name="T"><paramref name="objectType" /> must be type-equal to, inherit or implement <typeparamref name="T" />.</typeparam>
68
-
/// <returns>New instance of <paramref name="objectType" /> as <typeparamref name="T" />.</returns>
69
-
/// <exception cref="InvalidOperationException">Cannot create an instance of <paramref name="objectType" />. Whether <paramref name="objectType" /> is not type-equal, does not inherit or implement <typeparamref name="T" /> or has no default constructor.</exception>
0 commit comments