RemoveTemporaryAliases() public method

public RemoveTemporaryAliases ( ) : void
return void
示例#1
0
 public void Execute(CommandExecutionContext context)
 {
     if (TemporaryOnly)
     {
         context.RemoveTemporaryAliases();
     }
     else
     {
         context.Aliases.Clear();
     }
 }
示例#2
0
文件: Alias.cs 项目: goldshtn/msos
 public void Execute(CommandExecutionContext context)
 {
     if (TemporaryOnly)
     {
         context.RemoveTemporaryAliases();
     }
     else
     {
         context.Aliases.Clear();
     }
 }