Generated by DocFX

Interface IExecuteWithObject

This interface is meant for the WeakAction<T> class and can be useful if you store multiple WeakAction{T} instances but don't know in advance what type T represents.

Namespace: ISynergy.Framework.Core.Abstractions.Events
Assembly: ISynergy.Framework.Core.dll
Syntax
public interface IExecuteWithObject

Properties

View Source

Target

The target of the WeakAction.

Declaration
object Target { get; }
Property Value
Type Description
System.Object

The target.

Methods

View Source

ExecuteWithObject(Object)

Executes an action.

Declaration
void ExecuteWithObject(object parameter)
Parameters
Type Name Description
System.Object parameter

A parameter passed as an object, to be casted to the appropriate type.

View Source

MarkForDeletion()

Deletes all references, which notifies the cleanup method that this entry must be deleted.

Declaration
void MarkForDeletion()

Extension Methods

Matrix.Replace<T>(T, Object, Object)
Matrix.IsEqual(Object, Object, Decimal, Decimal)
EntityBaseExtensions.HasProperty(Object, String)
ArrayExtensions.Concatenate<T>(T, T[])
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>, Func<TSource, Boolean>)
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>)
ObjectExtensions.Clone<T>(T)
ObjectExtensions.To<T>(Object)
ObjectExtensions.To(Object, Type)
ObjectExtensions.HasMethod(Object, String)
ObjectExtensions.AddressOf<T>(T)
ReflectionExtensions.GetIdentityValue<T>(T)
ReflectionExtensions.GetIdentityValue<T, TResult>(T)
ReflectionExtensions.GetIdentityProperty<T>(T)
ReflectionExtensions.HasIdentityProperty<T>(T)
ReflectionExtensions.GetPropertyValue<T, TResult>(T, String, TResult)
ReflectionExtensions.GetPropertyInfo<T, TValue>(T, Expression<Func<T, TValue>>)
ReflectionExtensions.GetTitleValue<T>(T)
ReflectionExtensions.HasParentIdentityProperty<T>(T)
ReflectionExtensions.GetParentIdentityProperty<T>(T)
ReflectionExtensions.IsFreeApplication<T>(T)