public override CommandResult Do(IExecutionContext context) { UserInfoData info = new UserInfoData { Message = MessageText, State = UserInfoState.Success, Guid = MessageGuid }; context.Log.AddUserInfo(info); return CommandResult.Next; }
public override CommandResult Do(IExecutionContext context) { UserInfoData info = new UserInfoData { Message = MessageText, State = UserInfoState.Success, Guid = MessageGuid }; context.Log.AddUserInfo(info); return(CommandResult.Next); }
protected void ShowUserInfo(IExecutionContext context, UserInfoState state) { if ((UserInfo != null) && !String.IsNullOrEmpty(UserInfo.MessageText)) { UserInfoData info = new UserInfoData { Message = UserInfo.MessageText, State = state, Guid = UserInfo.MessageGuid }; context.Log.AddUserInfo(info); } }
public void AddUserInfo(UserInfoData info) { IterateLoggers((logger) => { logger.UserInfo(info); }); }
public void UserInfo(UserInfoData info) { Event(ExecutionLoggerEventType.UserInfo, info); }