File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
PSModuleDevelopment/functions/assembly Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 29
29
30
30
. PARAMETER Enum
31
31
Whether the type to find must be an enumeration.
32
+
33
+ . PARAMETER Static
34
+ Whether the type to find must be static.
32
35
33
36
. PARAMETER Implements
34
37
Whether the type to find must implement this interface
118
121
if ($boundEnum -and ($Enum -ne $type.IsEnum )) { continue }
119
122
if ($InheritsFrom -and ($type.BaseType.FullName -notlike $InheritsFrom )) { continue }
120
123
if ($Attribute -and ($type.CustomAttributes.AttributeType.Name -notlike $Attribute )) { continue }
121
- if ($boundStatic -and -not ($type.IsAbstract -and $type.IsSealed )) { continue }
124
+ if ($boundStatic -and ( $Static -ne ($type.IsAbstract -and $type.IsSealed ) )) { continue }
122
125
123
126
$type
124
127
}
You can’t perform that action at this time.
0 commit comments