Softpedia
 

WINDOWS CATEGORIES:



GLOBAL PAGES >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Sticky Password FR...
  • Parallels Workstat...
  • ESET NOD32 Antivir...
  • BitDefender Total ...
  • WinPatrol 24.6.201...
  • PerfectDisk Free D...
  • Adobe Photoshop CS...
  • PerfectDisk Profes...
  • Windows 8 Consumer...
  • Atlantis Word Proc...
  • Home > Windows > Programming > Components & Libraries
     Report malware

    Validation Aspects 2.1.0

    download button

    No screenshots available
    Downloads: 627  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Size / OS:

    Last Updated:

    Category:

    Ms-PL / $0
    427 KB / Windows All
    [view history]
    C: \ Programming \ Components & Libraries

     Read user reviews (0)  Send to friend   Follow (0 users)

    Validation Aspects description

    An AOP validation framework used to validate Objects, Properties and Method Parameters against coding contracts and business rules

    Validation Aspects contains an AOP validation framework used to validate Objects, Properties and Method Parameters against coding contracts and business rules. Validation can be declared via attributes and/or augmented/replaced programmatically at runtime. WPF integration supported.

    Here are some key features of "Validation Aspects":

    · Object Validation - Objects can be queried to determine if their state is valid against a set of validation rules. Validation messages and context of what/where validation failed is reported via a ValidationResult.

    Property Validation - Multi-Mode validation. The following modes can be enabled or disabled independantly to suit your chosen method of validation:
    · - Interception Validation - Validation is invoked when the property is set. If the validation fails, a validation exception will throw to ensure the model does not become invalid.
    · - State Validation - Validation is invoked when the object is validated. If the validation fails, the validation failure is added to the ValidationResult.

    · Parameter Validation - Parameter validation checks the validity of the value as determined by code contracts and business rules. If the validation fails, a validation exception will throw to ensure the model does not become invalid.
    · Real-time augmentation / replacement - Validation can be changed programmatically or via configuration.

    · AOP - Validation Aspects are applied to your models by PostSharp. There are no base classes to derive from or interfaces to explicitly implement.

    · Custom Validators - Implement new validators easily with minimal code with lambda syntax.

    · Strongly-typed validation targets - Compile-time checking ensures validation is correctly declared - you can't declare a numeric validator to validate a string. Validators are implemented to target certain types. Incorrectly declared validators applied at run-time fail fast.

    · Integration - Support and samples for WPF. Asp.net MVC server/client-side and Silverlight coming soon.

    · Localization - Validation exception messages can be customized with message formatting functions.

    · TDD'd - Near 100% code coverage from hundreds of unit tests.

    Requirements:

    · NET Framework 3.5
    · PostSharp v1.0 RTM

    What's New in This Release: [ read full changelog ]

    · 9366 - PostSharp compilation errors experienced when a [Validate] attributed class derives from a generic base class.
    · 9233 - TypeOf.GetProperty(...) returns the base virtual property
    · ValidationContext throws if a ValidateObject validator is applied to a method with no arguments
    · The new ValidationContext constructor incorrectly populates the Arguments property if the Value argument is null

     


    TAGS:

    AOP validation framework | validate Objects | Interception Validation | AOP | validation | framework



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM