10using System.Collections.Generic;
11using System.Security.Claims;
12using System.Security.Principal;
Provides consistent context information between the client and server DataPortal objects.
Maintains metadata about a property.
Maintains metadata about a property.
Defines a data portal service used to get an access to a client-side data portal instance.
Interface defining a business/validation rule implementation.
Context information provided to a business rule when it is invoked.
bool IsPropertyChangedContext
Gets a value indicating whether this instance is property changed context.
object Target
Gets a reference to the target business object.
void AddInformationResult(string description, bool stopProcessing)
Add an Information severity result to the Results list.
void AddOutValue(Csla.Core.IPropertyInfo property, object value)
Add an outbound value to update a property on the business object once the rule is complete.
RuleContextModes ExecuteContext
Gets the execution context.
void AddWarningResult(string description)
Add a Warning severity result to the Results list.
void AddWarningResult(string description, bool stopProcessing)
Add a Warning severity result to the Results list.
bool IsCheckRulesContext
Gets a value indicating whether this instance is check rules context.
void AddErrorResult(string description, bool stopProcessing)
Add a Error severity result to the Results list.
bool TryGetInputValue< T >(PropertyInfo< T > propertyInfo, ref T value)
Tries to get the value.
List< IPropertyInfo > DirtyProperties
Gets a list of dirty properties (value was updated).
IDataPortalFactory DataPortalFactory
Gets a data portal factory instance
List< RuleResult > Results
Gets a list of RuleResult objects containing the results of the rule.
void AddErrorResult(string description)
Add a Error severity result to the Results list.
IBusinessRuleBase Rule
Gets the rule object.
bool IsCheckObjectRulesContext
Gets a value indicating whether this instance is check object rules context.
void AddOutValue(object value)
Add an outbound value to update the rule's primary property on the business object once the rule is c...
void AddWarningResult(Csla.Core.IPropertyInfo property, string description)
Add a Warning severity result to the Results list.
void Complete()
Indicates that the rule processing is complete, so CSLA .NET will process the Results list.
void AddSuccessResult(bool stopProcessing)
Add a Success severity result to the Results list.
void AddInformationResult(Csla.Core.IPropertyInfo property, string description)
Add an Information severity result to the Results list.
Dictionary< Csla.Core.IPropertyInfo, object > OutputPropertyValues
Gets a dictionary containing copies of property values that should be updated in the target object.
Dictionary< Csla.Core.IPropertyInfo, object > InputPropertyValues
Gets a dictionary containing copies of property values from the target business object.
void AddInformationResult(string description)
Add an Information severity result to the Results list.
void AddDirtyProperty(Csla.Core.IPropertyInfo property)
Adds a property name as a dirty field (changed value).
void ExecuteRule(IBusinessRuleBase innerRule)
Executes the inner rule from the outer rules context.
void AddErrorResult(Csla.Core.IPropertyInfo property, string description)
Add a Error severity result to the Results list.
string OriginPropertyName
Gets or sets the name of the origin property.
bool IsCascadeContext
Gets a value indicating whether this instance is cascade context as a result of AffectedProperties.
T GetInputValue< T >(PropertyInfo< T > propertyInfo)
Gets the value.
IRuleContext GetChainedContext(IBusinessRuleBase rule)
Gets a new RuleContext object for a chained rule.
RuleContextModes
RuleContext mode flags