IsInstalled() public method

public IsInstalled ( ) : bool
return bool
Ejemplo n.º 1
0
        // TODO: The actionHandler concept should be refactored out of this domain service...
        public void Install(IronFrontInfo info, Action <StatusRepo, string, Action> actionHandler)
        {
            Confirmations(info);

            if (info.IsInstalled())
            {
                if (!ConfirmPatchedToLatestVersion(info))
                {
                    actionHandler(info.Status, "IFA Patching", () => ApplyLatestPatches(info));
                }
                return;
            }

            actionHandler(info.Status, "IFA Conversion", () => CleanInstall(info));
        }
        // TODO: The actionHandler concept should be refactored out of this domain service...
        public void Install(IronFrontInfo info, Action<StatusRepo, string, Action> actionHandler) {
            Confirmations(info);

            if (info.IsInstalled()) {
                if (!ConfirmPatchedToLatestVersion(info))
                    actionHandler(info.Status, "IFA Patching", () => ApplyLatestPatches(info));
                return;
            }

            actionHandler(info.Status, "IFA Conversion", () => CleanInstall(info));
        }