Project Description
Live Patterns provides patterns like implementing Notify Proprety Changed from any type at runtime.

Operators

  • Audit: Audits every member access
  • Disable: Disables specific functionality on an instance
  • Implement: Implements an interface with empty members
  • LoadBalance: Loads balance among multiple instances
  • Multicast: Works as a proxy for multiple instances
  • NotifyPropertyChanged: Implements INotifyPropertyChanged
  • Override: Runtime overriding of methods
  • Snapshot: Create a read-only snapshot of an instance

Example

Implementing INotifyPropertyChanged at runtime:

IArticle article = Build.NotifyPropertyChanged<IArticle>(DataContext.Repository<IArticle>().Get("first"));
viewModelPresenter.DataContext = article;
article.Title = "Changed Title";

Code Quality

  • Passes Microsoft Managed Recommended Rules without any warnings
  • Visual Studio standard coding style
  • All public members and parameters are documented

Documentation and samples

Here you can find the documentation with samples for each method.

Last edited Aug 10, 2013 at 8:39 AM by BlueCode, version 4