コード例 #1
0
ファイル: ProxyCommand.cs プロジェクト: modulexcite/pash-1
 public static string GetEnd(CommandMetadata commandMetadata)
 {
     if (commandMetadata == null)
     {
         throw PSTraceSource.NewArgumentNullException("commandMetaData");
     }
     return(commandMetadata.GetEndBlock());
 }
コード例 #2
0
ファイル: ProxyCommand.cs プロジェクト: mmoenfly/GitCook2021
 public static string GetEnd(CommandMetadata commandMetadata) => commandMetadata != null?commandMetadata.GetEndBlock() : throw ProxyCommand.tracer.NewArgumentNullException("commandMetaData");