ChangeSetDescription() public static method

Given a changeset only containing the changeset ID, this will start a task for quering the description of the changeset.

public static ChangeSetDescription ( ChangeSet changeset ) : Task
changeset ChangeSet Changeset to query description of.
return Task
示例#1
0
 private void DoOpen(ChangeSet change, AssetList assets)
 {
     this.taskSubmit         = null;
     this.submitResultCode   = 256;
     this.submitErrorMessage = null;
     this.changeSet          = change;
     this.description        = string.Empty;
     this.assetList          = null;
     if (change == null)
     {
         this.taskStatus = Provider.Status(assets);
     }
     else
     {
         this.taskDesc = Provider.ChangeSetDescription(change);
         this.taskStat = Provider.ChangeSetStatus(change);
     }
 }
示例#2
0
 private void DoOpen(ChangeSet change, AssetList assets)
 {
     this.taskSubmit         = null;
     this.submitResultCode   = 0x100;
     this.submitErrorMessage = null;
     this.changeSet          = change;
     this.description        = (change != null) ? this.SanitizeDescription(change.description) : "";
     this.assetList          = null;
     if (change == null)
     {
         this.taskStatus = Provider.Status(assets);
     }
     else
     {
         this.taskDesc = Provider.ChangeSetDescription(change);
         this.taskStat = Provider.ChangeSetStatus(change);
     }
 }
示例#3
0
        // Open the change list window for one of 2 modes.  File list or exisiting change list.
        // If changeID is null then a list of files is assumed and the user can sumbit them
        // as a new change list.
        void DoOpen(ChangeSet change, AssetList assets)
        {
            taskSubmit         = null;
            submitResultCode   = kSubmitNotStartedResultCode;
            submitErrorMessage = null;
            changeSet          = change;
            description        = change == null ? c_defaultDescription : SanitizeDescription(change.description);
            assetList          = null;

            // Refresh the assets or changeset states
            if (change == null)
            {
                taskStatus = Provider.Status(assets);
            }
            else
            {
                taskDesc = Provider.ChangeSetDescription(change);
                taskStat = Provider.ChangeSetStatus(change);
            }
        }