5 namespace SiliconStudio.ActionStack
 
   14         private readonly Guid guid;
 
   15         private readonly 
bool canUndo;
 
   16         private readonly 
object tokenValue;
 
   23         public UndoToken(
bool canUndo, 
object tokenValue = null)
 
   25             guid = Guid.NewGuid();
 
   26             this.canUndo = canUndo;
 
   27             this.tokenValue = tokenValue;
 
   33         public Guid Guid { 
get { 
return guid; } }
 
   38         public bool CanUndo { 
get { 
return canUndo; } }
 
   43         public object TokenValue { 
get { 
return tokenValue; } }
 
UndoToken(bool canUndo, object tokenValue=null)
Initializes a new instance of the UndoToken structure with some parameters. 
 
Represents a token that stores an unique identifier and an object. This token should be generated by ...