src/Inflatable/Aspect/ORMAspect.cs
/// <summary>
/// Used to hook into the object once it has been created
/// </summary>
/// <param name="value">Object created by the system</param>
Used to hook into the object once it has been created
Used to hook into the object once it has been created
public void Setup(object value)
        {
            if (!(value is IORMObject TempObject))
                return;
            TempObject.PropertiesChanged0 = new List<string>();
            TempObject.PropertyChanged += (object sender, PropertyChangedEventArgs e) =>
            {
                var x = (IORMObject)sender;
                x.PropertiesChanged0.Add(e.PropertyName);
            };
        }
public void Setup ( object value ) { if ( ! ( value is IORMObject TempObject ) ) return ; TempObject . PropertiesChanged0 = new List < string > ( ) ; TempObject . PropertyChanged += ( object sender , PropertyChangedEventArgs e ) => { var x = ( IORMObject ) sender ; x . PropertiesChanged0 . Add ( e . PropertyName ) ; } ; }
Used to hook into the object once it has been created
Used to hook into the object once it has been created
value
object
Object created by the system
Object created by the system