예제 #1
0
        private bool IsStateChanged()
        {
            if (!(PluginState is ISaveFiles saveState))
            {
                return(false);
            }

            return(saveState.ContentChanged || ArchiveChildren.Any(child => child.StateChanged));
        }
예제 #2
0
        private bool IsStateChanged()
        {
            if (!PluginState.CanSave)
            {
                return(false);
            }

            return(PluginState.AttemptContentChanged || ArchiveChildren.Any(child => child.StateChanged));
        }