public DocumentAction(string name, DocumentActionDo doAction, DocumentActionUndo undoAction) { ActionFriendlyName = name; this.doAction = doAction; this.undoAction = undoAction; }
public ScriptInfoAction(string propertyName, DocumentActionDo doAction, DocumentActionUndo undoAction) : base(string.Format(System.Globalization.CultureInfo.CurrentCulture, LocalizedStrings.Resources.ActionSetScriptInfo, propertyName), doAction, undoAction) { }