API Reference
Enum
RuleSourceType
Identifies the source format of a rule.
Inheritance
- Enum
- RuleSourceType
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Field RuleSourceType.CSharp
- Field RuleSourceType.PowerShell
- Property Source.SourceType
- Property RuleInventoryEntry.Type
- Property RuleOverview.Type
- Property ToolingRuleDiscoveryRequest.SourceTypes
- Property ToolingRuleRunRequest.SourceTypes
Accepted by parameters
- Method RuleIntrospection.GetNameOnlyAsync
- Method RuleIntrospection.GetSnippetAsync
- Method RuleIntrospection.GetSnippetAsync
- Constructor RuleInventoryEntry.RuleInventoryEntry
- Method RuleInventoryEntry.Deconstruct
- Constructor RuleOverview.RuleOverview
- Method RuleOverview.Deconstruct
- Method CSharpRuleProvider.CanHandle
- Method EmbeddedResourceProvider.CanHandle
- Method GeneratedPowerShellProvider.CanHandle
- Method IRuleProvider.CanHandle
- Method PowerShellRuleProvider.CanHandle
Inherited Methods
public override sealed Int32 CompareTo(Object target) #Returns:
Int32Inherited from Enum
Parameters
- target Object
public override sealed String ToString(String format, IFormatProvider provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String