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 @@ -654,8 +654,8 @@ protected override void ProcessRecord()
}
}
}
}//if
}////ProcessRecord
}
}
}
#endregion Override Methods

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ internal Collection<string> ParseCsv(string csv)
default:
tempString += c;
break;
}//switch
}//else
}//for int
}
}
}
if (tempString.Length > 0)
{
result.Add(tempString);
Expand All @@ -109,4 +109,3 @@ internal Collection<string> ParseCsv(string csv)
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ protected override void ProcessRecord()
itemNotFound));
}
}
} // ProcessRecord
}

/// <summary>
/// Writes the aliases to the file
Expand Down Expand Up @@ -413,6 +413,5 @@ private void ThrowFileOpenError(Exception e, string pathWithError)
}

#endregion Command code
} // class ExportAliasCommand
}//Microsoft.PowerShell.Commands

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ protected override void ProcessRecord()
{
WriteMatches(aliasName, "Default");
}
}//parameterset else
} // ProcessRecord
}
}
#endregion Command code

private void WriteMatches(string value, string parametersetname)
Expand Down Expand Up @@ -199,6 +199,5 @@ private void WriteMatches(string value, string parametersetname)
WriteError(er);
}
}
} // class GetAliasCommand
}//Microsoft.PowerShell.Commands

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public sealed class GetCultureCommand : PSCmdlet
protected override void BeginProcessing()
{
WriteObject(Host.CurrentCulture);
} // EndProcessing
} // GetCultureCommand
} // Microsoft.PowerShell.Commands
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ protected override void ProcessRecord()

WriteObject(outputObj);
}
} // EndProcessing
}

private static readonly DateTime epoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);

Expand Down Expand Up @@ -524,10 +524,10 @@ private string UFormatDateString(DateTime dateTime)
}

return StringUtil.Format(sb.ToString(), dateTime);
} // UFormatDateString
}

#endregion
} // GetDateCommand
}

#endregion

Expand All @@ -553,5 +553,4 @@ public enum DisplayHintType
}

#endregion
} // namespace Microsoft.PowerShell.Commands

}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ public sealed class GetUICultureCommand : PSCmdlet
protected override void BeginProcessing()
{
WriteObject(Host.CurrentUICulture);
} // EndProcessing
} // GetUICultureCommand
} // Microsoft.PowerShell.Commands

}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ protected override void ProcessRecord()
{
variable.Value = result;
}
} // end _bindingvariable != null
}

// If binding variable is null, write the object to stream
else
Expand All @@ -232,7 +232,7 @@ protected override void ProcessRecord()
}

return;
} // ProcessRecord
}

private string GetFilePath()
{
Expand Down Expand Up @@ -373,6 +373,5 @@ private string GetScript(string filePath)
}

#endregion Command code
} // class ImportLocalizedData
}//Microsoft.PowerShell.Commands

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ protected override void ProcessRecord()
{
continue;
}
} // if (!Force)
}

// Set the alias in the specified scope or the
// current scope.
Expand Down Expand Up @@ -228,7 +228,7 @@ protected override void ProcessRecord()
WriteObject(result);
}
}
} // ProcessRecord
}

private Dictionary<string, CommandTypes> _existingCommands;
private Dictionary<string, CommandTypes> ExistingCommands
Expand Down Expand Up @@ -480,6 +480,5 @@ private static bool OnlyContainsWhitespace(string line)
return result;
}
#endregion Command code
} // class ImportAliasCommand
}//Microsoft.PowerShell.Commands

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1707,7 +1707,7 @@ private bool doMatchWorker(string operandString, MatchInfo matchInfo, out MatchI
return true;
}
return false;
} // end doMatch
}

/// Get a list or resolved file paths.
private List<string> ResolveFilePaths(string[] filePaths, bool isLiteralPath)
Expand Down Expand Up @@ -1858,6 +1858,5 @@ private bool meetsIncludeExcludeCriteria(string filename)

return ok;
}
} // end class SelectStringCommand
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ protected override void ProcessRecord()
WriteObject(result);
}
}
} // ProcessRecord
}
#endregion Command code
} // class NewAliasCommand
}//Microsoft.PowerShell.Commands

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,8 @@ protected override void ProcessRecord()
}

WriteObject(result);
} // EndProcessing
}

#endregion
} // NewTimeSpanCommand
} // namespace Microsoft.PowerShell.Commands

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ protected override void ProcessRecord()
WriteObject(result);
}
}
} // ProcessRecord
}
#endregion Command code
} // class SetAliasCommand
}//Microsoft.PowerShell.Commands

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ protected override void ProcessRecord()
outputObj.Properties.Add(note);

WriteObject(outputObj);
} // EndProcessing
}

#endregion

Expand All @@ -129,9 +129,8 @@ public struct SystemTime

[DllImport(PinvokeDllNames.SetLocalTimeDllName, SetLastError = true)]
public static extern bool SetLocalTime(ref SystemTime systime);
} // NativeMethods
}

#endregion
} // SetDateCommand
} // namespace Microsoft.PowerShell.Commands

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ protected override void ProcessRecord()
}

Sleep(sleepTime);
} // EndProcessing
}

/// <summary>
/// stopprocessing override
Expand All @@ -129,6 +129,5 @@ protected override
}

#endregion
} // StartSleepCommand
} // namespace Microsoft.PowerShell.Commands

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public sealed class MeasureCommandCommand : PSCmdlet
protected override void EndProcessing()
{
WriteObject(_stopWatch.Elapsed);
} // EndProcessing
}

/// <summary>
/// Execute the script block passing in the current pipeline object as
Expand All @@ -71,8 +71,6 @@ protected override void ProcessRecord()

_stopWatch.Stop();
}

#endregion
}
} // namespace Microsoft.PowerShell.Commands

}
Original file line number Diff line number Diff line change
Expand Up @@ -217,5 +217,4 @@ public override string ToString()
return result.ToString();
}
}
} // namespace Microsoft.PowerShell.Commands

}
Original file line number Diff line number Diff line change
Expand Up @@ -564,8 +564,8 @@ protected override void ProcessRecord()
WriteObject(newVariable);
}
}
} // ProcessRecord
} // NewVariableCommand
}
}

/// <summary>
/// This class implements set-variable command
Expand Down Expand Up @@ -1016,8 +1016,8 @@ private void SetVariable(string[] varNames, object varValue)
}
}
}
} // ProcessRecord
} // SetVariableCommand
}
}

/// <summary>
/// The Remove-Variable cmdlet implementation
Expand Down Expand Up @@ -1169,8 +1169,8 @@ protected override void ProcessRecord()
}
}
}
} // ProcessRecord
} // RemoveVariableCommand
}
}

/// <summary>
/// This class implements set-variable command
Expand Down Expand Up @@ -1347,7 +1347,7 @@ protected override void ProcessRecord()
}
}
}
} // ProcessRecord
}

/// <summary>
/// Clears the value of the variable using the PSVariable instance if the scope
Expand All @@ -1372,6 +1372,5 @@ private PSVariable ClearValue(PSVariable matchingVariable)
}
return result;
}
} // ClearVariableCommand
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ protected override void ProcessRecord()
}

WriteObject(_inputObjects, enumerate);
}//processrecord
}//WriteOutputCommand
}
}
#endregion
}
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,5 @@ public SwitchParameter Force
private bool _force;
#endregion Parameters

} // class WriteAliasCommandBase
}//Microsoft.PowerShell.Commands

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ internal void Stop()
_deserializer.Stop();
}
}
} // ImportXmlHelper
}

#region Select-Xml
///<summary>
Expand Down Expand Up @@ -1078,10 +1078,9 @@ protected override void ProcessRecord()
{
Dbg.Assert(false, "Unrecognized parameterset");
}
}//End ProcessRecord()

}
#endregion overrides
}//End Class
}

/// <summary>
/// The object returned by Select-Xml representing the result of a match.
Expand Down Expand Up @@ -1218,7 +1217,5 @@ private string FormatLine(string text, string displaypath)
}
}
}

#endregion Select-Xml
}

Loading