Search Results for

    Show / Hide Table of Contents

    Class RefreshServers

    This command executes the RefreshServers system command

    Invalidates the cache on all the services forcing them to reload. Once complete this client application itself can reload forcing it to load in the new cache from the servers.

    Inheritance
    object
    BaseHasChildren<EPCommandWithDescriptor>
    EPCommand
    RefreshServers
    Implements
    IHasChildren<EPCommandWithDescriptor>
    IHasChildren
    IEPCommand
    ICommand
    IDisposable
    Inherited Members
    EPCommand.OnCanExecuteChanged()
    EPCommand.LoadChildrenAsync()
    EPCommand.SetToggler(IHasToggleStatus)
    EPCommand.OnLayoutsChanged(IModelLayoutHost, LayoutChangeEventArgs)
    EPCommand.ExternalExecute(object)
    EPCommand.InternalExecute(object)
    EPCommand.ExternalCanExecute(object)
    EPCommand.InternalCanExecuteAsync(object)
    EPCommand.GetModifierText(IEPCommand)
    EPCommand.RemoveEventHandlersOnDispose()
    EPCommand.Dispose(bool)
    EPCommand.Dispose()
    EPCommand.RootController
    EPCommand.ActiveDisplayerFromOwner
    EPCommand.ReloadChildrenOnEachOpen
    EPCommand.HasChildCommands
    EPCommand.SubscribeToLayoutChange
    EPCommand.From
    EPCommand.LockExecution
    EPCommand.CustomType
    EPCommand.Key
    EPCommand.ModifierKeys
    EPCommand.Owner
    EPCommand.Toggler
    EPCommand.IsQuickAccessCommand
    EPCommand.CanExecuteChanged
    BaseHasChildren<EPCommandWithDescriptor>.AddChild(EPCommandWithDescriptor, bool)
    BaseHasChildren<EPCommandWithDescriptor>.DeleteChild(EPCommandWithDescriptor)
    BaseHasChildren<EPCommandWithDescriptor>.ClearChildren()
    BaseHasChildren<EPCommandWithDescriptor>.ClearMyParent()
    BaseHasChildren<EPCommandWithDescriptor>.AddChild(IHasChildren)
    BaseHasChildren<EPCommandWithDescriptor>.DeleteChild(IHasChildren)
    BaseHasChildren<EPCommandWithDescriptor>.Order
    BaseHasChildren<EPCommandWithDescriptor>.Children
    BaseHasChildren<EPCommandWithDescriptor>.Parent
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.Core.Commands
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    [CommandDescriptorOptions(Command.RefreshServers, null)]
    public class RefreshServers : EPCommand, IHasChildren<EPCommandWithDescriptor>, IHasChildren, IEPCommand, ICommand, IDisposable

    Constructors

    RefreshServers(IRootController, IModelLayoutCommon, IDatabaseStatusProxy)

    Creates a new RefreshServers command

    Declaration
    public RefreshServers(IRootController root, IModelLayoutCommon owner, IDatabaseStatusProxy databaseStatusProxy)
    Parameters
    Type Name Description
    IRootController root

    The root controller, for service access.

    IModelLayoutCommon owner

    The owning context for this command

    IDatabaseStatusProxy databaseStatusProxy

    The IDatabaseStatusProxy

    Methods

    InternalCanExecute(object)

    True

    Declaration
    public override bool InternalCanExecute(object parameter)
    Parameters
    Type Name Description
    object parameter

    The command parameter

    Returns
    Type Description
    bool

    True

    Overrides
    EPCommand.InternalCanExecute(object?)

    InternalExecuteAsync(object)

    Invalidates the cache on all the services forcing them to reload. Once complete this client application itself can reload forcing it to load in the new cache from the servers.

    Declaration
    public override Task InternalExecuteAsync(object parameter)
    Parameters
    Type Name Description
    object parameter

    The command parameter

    Returns
    Type Description
    Task

    A task indicating the completion of the operation

    Overrides
    EPCommand.InternalExecuteAsync(object)

    Implements

    IHasChildren<T>
    IHasChildren
    IEPCommand
    ICommand
    IDisposable

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    CommandExtensions.CreateCommand(EPCommand, ICommandDescriptor, CommandButtonType, bool, CommandSize)
    CommandExtensions.UpdateCommand(EPCommand, object, ICommandDescriptor, bool, CommandSize)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.