Generated by DocFX

Class Property<T>

Class Property. Implements the IProperty<T>

Inheritance
System.Object
Property<T>
Implements
IProperty<T>
IProperty
Namespace: ISynergy.Framework.Core.Base
Assembly: ISynergy.Framework.Core.dll
Syntax
public class Property<T> : object, IProperty<T>, IProperty
Type Parameters
Name Description
T

Constructors

View Source

Property(String)

Initializes a new instance of the Property<T> class.

Declaration
public Property(string name)
Parameters
Type Name Description
System.String name
View Source

Property(String, T)

Initializes a new instance of the Property<T> class.

Declaration
public Property(string name, T value)
Parameters
Type Name Description
System.String name
T value

The value.

Properties

View Source

IsDirty

Gets a value indicating whether this instance is dirty.

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

true if this instance is dirty; otherwise, false.

View Source

IsOriginalSet

Gets a value indicating whether this instance is original set.

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

true if this instance is original set; otherwise, false.

View Source

Name

Name of the property.

Declaration
public string Name { get; }
Property Value
Type Description
System.String
View Source

OriginalValue

Gets or sets the original value.

Declaration
public T OriginalValue { get; set; }
Property Value
Type Description
T

The original value.

View Source

Value

Gets or sets the value.

Declaration
public T Value { get; set; }
Property Value
Type Description
T

The value.

Methods

View Source

MarkAsClean()

Marks as clean.

Declaration
public void MarkAsClean()
View Source

ResetChanges()

Resets the changes.

Declaration
public void ResetChanges()
View Source

ToString()

Returns a that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
System.String

A that represents this instance.

Events

View Source

ValueChanged

Occurs when [value changed].

Declaration
public event EventHandler ValueChanged
Event Type
Type Description
EventHandler

Implements

IProperty<T>
IProperty

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)

See Also

IProperty<T>