Gorgon
Show / Hide Table of Contents

Class CloseContentArgs

Arguments for the CloseContentCommand.

Inheritance
object
EventArgs
CancelEventArgs
CloseContentArgs
Inherited Members
CancelEventArgs.Cancel
EventArgs.Empty
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Gorgon.Editor.UI
Assembly: Gorgon.Editor.API.dll
Syntax
public class CloseContentArgs : CancelEventArgs

Constructors

| Edit this page View Source

CloseContentArgs(bool)

Initializes a new instance of the CloseContentArgs class.

Declaration
public CloseContentArgs(bool checkForChanges)
Parameters
Type Name Description
bool checkForChanges

true to check for changes prior to closing, false to skip the check and force a close.

Properties

| Edit this page View Source

CheckChanges

Property to return whether or not to check the content for changes prior to closing.

Declaration
public bool CheckChanges { get; }
Property Value
Type Description
bool

Extension Methods

GorgonDebugExtensions.ValidateObject<T>(T, string)
GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author