예제 #1
0
            static bool IsWorkspaceConfigChanged(
                WorkspaceInfo lastWkInfo,
                WorkspaceInfo currentWkInfo,
                bool lastIsGluonMode,
                bool currentIsGluonMode)
            {
                if (lastIsGluonMode != currentIsGluonMode)
                {
                    return(true);
                }

                if (lastWkInfo == null || currentWkInfo == null)
                {
                    return(true);
                }

                return(!lastWkInfo.Equals(currentWkInfo));
            }