Example #1
0
        /// <summary>
        /// Determines whether the document can be saved.
        /// </summary>
        public bool CanSave(ref string message)
        {
            if (!SecuritySettings.CanSave(ref message))
            {
                return(false);
            }

            return(true);
        }
Example #2
0
 /// <summary>
 /// Determines whether the document can be saved.
 /// </summary>
 public bool CanSave(ref string message) => !SecuritySettings.CanSave(ref message) ? false : true;