Gorgon
Show / Hide Table of Contents

Class CloseToolArgs

Arguments for the CloseToolCommand.

Inheritance
object
EventArgs
CancelEventArgs
CloseToolArgs
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.Tools
Assembly: Gorgon.Editor.API.dll
Syntax
public class CloseToolArgs : CancelEventArgs

Constructors

| Edit this page View Source

CloseToolArgs(bool)

Initializes a new instance of the CloseToolArgs class.

Declaration
public CloseToolArgs(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