示例#1
0
 /// <summary>
 /// Initialises the save result with a state and a message.
 /// </summary>
 /// <param name="state">The state of the save result.</param>
 /// <param name="message">The message associated with the save result.</param>
 private SimpleSaveResult(SimpleSaveResultState state, string message)
 {
     this.State   = state;
     this.Message = message;
 }
示例#2
0
        /* ----------------------------------------------------------------------------------------------------------------------------------------- */

        #region Class Members

        #endregion

        /* ----------------------------------------------------------------------------------------------------------------------------------------- */

        #region Constructor & Intialisation

        /// <summary>
        /// Initialises the save result with a state only.
        /// </summary>
        /// <param name="state">The state of the save result.</param>
        private SimpleSaveResult(SimpleSaveResultState state)
        {
            this.State = state;
        }