Skip to content

Commit b489eaf

Browse files
author
Kapil Borle
committed
Add xml documentation
1 parent 15006c2 commit b489eaf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Rules/UseIdenticalMandatoryParametersDSC.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,17 @@ public class UseIdenticalMandatoryParametersDSC : IDSCResourceRule
4444
private IEnumerable<FunctionDefinitionAst> resourceFunctions;
4545
private Func<string, Tuple<string, Version>, Collection<Exception>, List<CimClass>> dscClassImporter;
4646

47+
/// <summary>
48+
/// Constructs an object of type UseIdenticalMandatoryParametersDSC
49+
/// </summary>
4750
public UseIdenticalMandatoryParametersDSC()
4851
{
4952
var importClassesMethod = typeof(DscClassCache).GetMethod(
5053
"ImportClasses",
5154
BindingFlags.Public | BindingFlags.Static);
5255
if (importClassesMethod != null)
5356
{
54-
// In some version of S.M.A ImportClasses classes method takes 4 parameters
57+
// In some version of S.M.A DscClassCache.ImportClasses method takes 4 parameters
5558
// while in others it takes 3.
5659
if (importClassesMethod.GetParameters().Count() == 4)
5760
{

0 commit comments

Comments
 (0)