public void CopyTo(IMessages messages) { if (messages == null) return; if (_messageList != null) { foreach (var message in _messageList) messages.Add(message); } if (_messageMap == null) return; foreach (var keyValuePair in _messageMap) messages.Add(keyValuePair.Key, keyValuePair.Value); }
public static void Info(this IMessages msg, Ast.ILNode node, string str, params object[] o) { msg.Info(string.Format(str, o), node); }
public static void FatalError(this IMessages msg, string str, params object[] o) { msg.FatalError(string.Format(str, o)); }
public CustomersController(IMessages messages) { _messages = messages; }
/// <summary> /// Copies all messages from this instance over to the supplied instance. /// </summary> /// <param name="messages">The messages.</param> public void CopyTo(IMessages messages) { if (messages == null) return; if (_messageList != null) foreach (string error in _messageList) messages.Add(error); if (_messageMap != null) foreach (KeyValuePair<string, string> pair in _messageMap) messages.Add(pair.Key, pair.Value); }
public static async Task <Statuses> RegisterStatusCallbackAsync(this IMessages api, GoogleApiClient client, Android.Gms.Nearby.Messages.StatusCallback statusCallback) { return((await api.RegisterStatusCallback(client, statusCallback)).JavaCast <Statuses> ()); }
public AmazonHelpIntent(IMessages messages) { m_messages = messages; }
public static async Task <Statuses> GetPermissionStatusAsync(this IMessages api, GoogleApiClient client) { return((await api.GetPermissionStatus(client)).JavaCast <Statuses> ()); }
public OverviewEmailFormatter(IMessages messages) { m_messages = messages; }
public productsController(IMessages messages, ILogger <productsController> logger) { _logger = logger; _messages = messages; }
protected abstract IMessages Load(CultureInfo locale, IMessages parent);
protected virtual void OnLocaleChange(CultureInfo locale) => Messages = Load(locale);
public void Acknowledge(IMessages <T> messages) => AcknowledgeAsync(messages).GetAwaiter().GetResult();
public void ReconsumeLater(IMessages <T> messages, TimeSpan delayTimeInMs) => ReconsumeLaterAsync(messages, delayTimeInMs).GetAwaiter().GetResult();
public static void FatalError(this IMessages msg, Ast.ILNode node, string str, params object[] o) { msg.FatalError(string.Format(str, o), node); }
public static async Task <Statuses> UnsubscribeAsync(this IMessages api, GoogleApiClient client, Android.App.PendingIntent pendingIntent) { return((await api.Unsubscribe(client, pendingIntent)).JavaCast <Statuses> ()); }
public CommanController(IMessages messages, ILogger <CommanController> logger) { _logger = logger; _messages = messages; }
public static async Task <Statuses> PublishAsync(this IMessages api, GoogleApiClient client, Android.Gms.Nearby.Messages.Message message, Android.Gms.Nearby.Messages.PublishOptions options) { return((await api.Publish(client, message, options)).JavaCast <Statuses> ()); }
public InvoiceController(IMessages messages) { _messages = messages; }
public virtual void HandleMessage(IMessages messages) { }
public static void Message(this IMessages msg, string str, ILNode n, params object[] o) { msg.Message(string.Format(str, o), n); }
public static async Task <Statuses> SubscribeAsync(this IMessages api, GoogleApiClient client, Android.Gms.Nearby.Messages.MessageListener listener, Android.Gms.Nearby.Messages.SubscribeOptions options) { return((await api.Subscribe(client, listener, options)).JavaCast <Statuses> ()); }
public static void Warning(this IMessages msg, string str, params object[] o) { msg.Warning(string.Format(str, o)); }
public static void Info(this IMessages msg, string str, params object[] o) { msg.Info(string.Format(str, o)); }
public GetScheduleForStore(IMessages messages, IHttpRequestConverter httpRequestConverter, ILoggerProvider log) { _messages = messages; _httpRequestConverter = httpRequestConverter; _log = log.CreateLogger(nameof(GetScheduleForStore)); }