Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ public static IEnumerable<CompletionResult> CompleteCommand(string commandName)
/// <param name="moduleName"></param>
/// <param name="commandTypes"></param>
/// <returns></returns>
[SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public static IEnumerable<CompletionResult> CompleteCommand(string commandName, string moduleName, CommandTypes commandTypes = CommandTypes.All)
{
var runspace = Runspace.DefaultRunspace;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ public abstract class CounterSetRegistrarBase
/// based on Provider Id, counterSetId, counterSetInstanceType, a collection
/// with counters information and an optional counterSetName.
/// </summary>
[SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
protected CounterSetRegistrarBase(
Guid providerId,
Guid counterSetId,
Expand Down Expand Up @@ -220,7 +219,6 @@ public class PSCounterSetRegistrar : CounterSetRegistrarBase
/// <summary>
/// Constructor that creates an instance of PSCounterSetRegistrar.
/// </summary>
[SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public PSCounterSetRegistrar(
Guid providerId,
Guid counterSetId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ public bool AddCounterSetInstance(CounterSetRegistrarBase counterSetRegistrarIns
/// by 'stepAmount'.
/// Otherwise, updates the denominator component by 'stepAmount'.
/// </summary>
[SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public bool UpdateCounterByValue(
Guid counterSetId,
int counterId,
Expand Down Expand Up @@ -193,7 +192,6 @@ public bool UpdateCounterByValue(
/// by 'stepAmount'.
/// Otherwise, updates the denominator component by 'stepAmount'.
/// </summary>
[SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public bool UpdateCounterByValue(
Guid counterSetId,
string counterName,
Expand Down Expand Up @@ -224,7 +222,6 @@ public bool UpdateCounterByValue(
/// by 'stepAmount'.
/// Otherwise, updates the denominator component by 'stepAmount'.
/// </summary>
[SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public bool UpdateCounterByValue(
string counterSetName,
int counterId,
Expand Down Expand Up @@ -264,7 +261,6 @@ public bool UpdateCounterByValue(
/// by 'stepAmount'.
/// Otherwise, updates the denominator component by 'stepAmount'.
/// </summary>
[SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public bool UpdateCounterByValue(
string counterSetName,
string counterName,
Expand Down Expand Up @@ -303,7 +299,6 @@ public bool UpdateCounterByValue(
/// to 'counterValue'.
/// Otherwise, updates the denominator component to 'counterValue'.
/// </summary>
[SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public bool SetCounterValue(
Guid counterSetId,
int counterId,
Expand Down Expand Up @@ -334,7 +329,6 @@ public bool SetCounterValue(
/// to 'counterValue'.
/// Otherwise, updates the denominator component to 'counterValue'.
/// </summary>
[SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public bool SetCounterValue(
Guid counterSetId,
string counterName,
Expand Down Expand Up @@ -365,7 +359,6 @@ public bool SetCounterValue(
/// to 'counterValue'.
/// Otherwise, updates the denominator component to 'counterValue'.
/// </summary>
[SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public bool SetCounterValue(
string counterSetName,
int counterId,
Expand Down Expand Up @@ -404,7 +397,6 @@ public bool SetCounterValue(
/// to 'counterValue'.
/// Otherwise, updates the denominator component to 'counterValue'.
/// </summary>
[SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
public bool SetCounterValue(
string counterSetName,
string counterName,
Expand Down
Loading