SK
Вот условно есть метод Create_Some_File_in_Directory и сделать ему алиас crfd?
Size: a a a
SK
SK
class ClassNameOrig {
static [string] Create_Some_File_in_Directory([string] $path) {
return "Path: $Path"
}
}
class ClassNameW {
static [string] crfd([string]$path) {
return [ClassNameOrig]::Create_Some_File_in_Directory($path)
}
}
[ClassNameOrig]::Create_Some_File_in_Directory("c:\path\to\file.txt")
[ClassNameW]::crfd("c:\path\to\file2.txt")
AF
AF
M
M
M
M
AS
AS
SM
A
АП
SM
D
SM
SM
SM
AF