namespace Caliburn.Micro.Core {
    /// 
    /// Denotes an object that can be closed.
    /// 
    public interface IClose {
        /// 
        /// Tries to close this instance.
        /// Also provides an opportunity to pass a dialog result to it's corresponding view.
        /// 
        /// The dialog result.
        void TryClose(bool? dialogResult = null);
    }
}