blob: 76d13ee019d8013713dd34e9b333c0ec8cb3589f (
plain)
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
|
// -----------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// -----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.AttributedModel;
using System.Reflection;
namespace System.ComponentModel.Composition.Factories
{
internal static partial class ReflectionFactory
{
public static ParameterInfo CreateParameter()
{
return CreateParameter((string)null);
}
public static ParameterInfo CreateParameter(Type parameterType)
{
return new MockParameterInfo(parameterType);
}
public static ParameterInfo CreateParameter(string name)
{
return new MockParameterInfo(name);
}
}
}
|