示例#1
0
 /// <summary>
 /// Rename the given named context
 /// </summary>
 /// <param name="sourceContext">The name of the context to change</param>
 /// <param name="targetContext">The enw name for the context</param>
 /// <returns>true if the rename was successful, otherwise falkse</returns>
 public bool TryRenameContext(string sourceContext, string targetContext)
 {
     return(_profile.TryRenameContext(sourceContext, targetContext));
 }