Generated by DocFX

Interface IObservableClass

Interface IObservableClass Implements the IBindable Implements the

Inherited Members
IBindable.OnPropertyChanged(String)
Namespace: ISynergy.Framework.Core.Abstractions.Base
Assembly: ISynergy.Framework.Core.dll
Syntax
public interface IObservableClass : IBindable

Properties

View Source

AutomaticValidationTrigger

Automatic validation trigger.

Declaration
bool AutomaticValidationTrigger { get; set; }
Property Value
Type Description
System.Boolean
View Source

Errors

Gets the errors.

Declaration
ObservableCollection<KeyValuePair<string, string>> Errors { get; }
Property Value
Type Description
ObservableCollection<KeyValuePair<System.String, System.String>>

The errors.

View Source

IsDirty

Gets a value indicating whether this instance is dirty.

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

true if this instance is dirty; otherwise, false.

View Source

IsValid

Returns true if ... is valid.

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

true if this instance is valid; otherwise, false.

View Source

Properties

Gets the properties.

Declaration
Dictionary<string, IProperty> Properties { get; }
Property Value
Type Description
Dictionary<System.String, IProperty>

The properties.

View Source

Validator

Gets or sets the validator.

Declaration
Action<IObservableClass> Validator { get; set; }
Property Value
Type Description
Action<IObservableClass>

The validator.

Methods

View Source

AddValidationError(String, String)

Adds an error message to the validation errors.

Declaration
void AddValidationError(string propertyName, string errorMessage)
Parameters
Type Name Description
System.String propertyName
System.String errorMessage
View Source

MarkAsClean()

Marks as clean.

Declaration
void MarkAsClean()
View Source

Revert()

Reverts this instance.

Declaration
void Revert()
View Source

Validate(Boolean)

Validates this instance.

Declaration
bool Validate(bool validateUnderlayingProperties = true)
Parameters
Type Name Description
System.Boolean validateUnderlayingProperties
Returns
Type Description
System.Boolean

true if XXXX, false otherwise.

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.GetProperty<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

IBindable