Show / Hide Table of Contents

Class EntitySchemaQueryPropertyBeforeChangedEventArgs<T>

Provides data about the state for the event before changing the property of the entity schema query.

Inheritance
System.Object
System.EventArgs
EntitySchemaQueryPropertyChangedEventArgs<T>
EntitySchemaQueryPropertyBeforeChangedEventArgs<T>
Inherited Members
EntitySchemaQueryPropertyChangedEventArgs<T>.OldValue
EntitySchemaQueryPropertyChangedEventArgs<T>.Value
System.EventArgs.Empty
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Core.Entities
Assembly: Terrasoft.Core.dll
Syntax
public class EntitySchemaQueryPropertyBeforeChangedEventArgs<T> : EntitySchemaQueryPropertyChangedEventArgs<T> where T : class
Type Parameters
Name Description
T

Any class.

Constructors

EntitySchemaQueryPropertyBeforeChangedEventArgs(T, T)

Initializes the EntitySchemaQueryPropertyBeforeChangedEventArgs<T> instance with the specified previous and current types of the query properties to the object schema.

Declaration
public EntitySchemaQueryPropertyBeforeChangedEventArgs(T oldValue, T value)
Parameters
Type Name Description
T oldValue

Previous value of property of the entity schema query.

T value

Current value of property of the entity schema query.

Properties

Cancel

Defines whether the change of the query property to the object schema has been canceled.

Declaration
public bool Cancel { get; set; }
Property Value
Type Description
System.Boolean

Extension Methods

ReflectionUtilities.GetPropertyValue(Object, String)
ReflectionUtilities.GetPropertyDefValue(Object, String, Object)
ReflectionUtilities.TryGetPropertyValue(Object, String, out Object)
ReflectionUtilities.HasProperty(Object, String)
ReflectionUtilities.GetPropertyValue(Object, String, BindingFlags)
ReflectionUtilities.GetPropertyValueByPath(Object, String)
ReflectionUtilities.SetPropertyValue(Object, String, Object)
ReflectionUtilities.TrySetPropertyValue(Object, String, Object)
ValidateUtilities.CheckArgumentNull(Object, String)
ValidateUtilities.CheckDependencyNull(Object, String)
ValidateUtilities.EnsureDependencyNotNull<T>(T, String)
MetaDataTestUtils.MetaPropertiesShouldNotHaveDefValue<TInstance>(TInstance)
MetaDataTestUtils.MetaPropertiesShouldNotHaveDefValue<TInstance>(TInstance, Boolean)
NSubstituteExtension.Protected(Object, String, Object[])
NSubstituteExtension.Protected(Object, String, Boolean, Object[])
NSubstituteExtension.ProtectedGeneric<T>(Object, String, Object[])
NSubstituteExtension.ProtectedGeneric<T>(Object, String, Boolean, Object[])
NSubstituteExtension.ProtectedProperty(Object, String)
NSubstituteExtension.MatchInstance<T>(T)
SubstituteUtilities.GetIsSubstituteObject(Object)
SubstituteUtilities.Instead<TInstance, TValue>(TInstance, Func<TInstance, TValue>)
Back to top Generated by DocFX