This project has moved. For the latest updates, please go here.

Boilen v2.0

Rating: No reviews yet
Downloads: 31
Released: Jul 13, 2009
Updated: Jul 13, 2009 by EmperorXLII
Dev status: Stable Help Icon

Recommended Download

Application BoilenTemplate.zip
application, 1K, uploaded Jul 13, 2009 - 17 downloads

Other Available Downloads

Application Boilen.tt
application, 247K, uploaded Jul 13, 2009 - 14 downloads

Release Notes

Boilen v2.0
  • Members
    • Event
    • Constant-value Property
    • Immutable Property
    • Mutable Property
    • Dependency Property
      • New or from existing property (i.e. AddOwner)
      • Normal, Attached, or ReadOnly
      • Change, Coerce, Validate callbacks and FrameworkPropertyMetadataOptions
      • WPF and Silverlight
  • Interface and Helper Implementations
    • IEquatable
    • INotifyPropertyChanged
    • PropertyNameConstants

Changes from v1.2
  • Changed Silverlight compilation to current support version of SL2.
  • Added support for custom dependency property callback names.
  • Added support for non-public base type constructors.
  • Added PropertyNameConstants implementer, used by INotifyPropertyChanged and dependency property implementers.
  • Updated IEquatable<T> implementer to use EqualityComparer<T>.Default, and basic support for inheriting from an IEquatable<T> base type.
  • Added support for changing target type of attached dependency properties.
  • Added support for bool, double, and Size default values.
  • Added property to control whether to override DefaultStyleKey property.
  • Changed DefaultStyleKey override to target non-Panel controls.
  • Added support for dependency property inheritance (property accessors in Silverlight manually walk visual tree to get latest reference value).
  • Added support for automatically converting improperly cased documentation strings.
  • Moved Silverlight property coercion/validation shims out of accessor and into change handler.
  • Added support for changing member accessibility.
  • Generate System.Diagnostics.CodeAnalysis.SuppressMessage attributes for parameters to partial methods and operators.
  • Removed underscores and "Property" identifier from property helper methods.
  • Moved new'd dependency property default values to instance constructor (known issue: prevents property assignment through xaml, binding, and styles).
  • Added support for changing metadata on existing dependency properties.

Changes from v1.1
  • Corrected error causing generic types to be mistaken for derived types.
  • Added CustomEquals and CustomGetHashCode properties to IEquatable<T> implementer, to support custom method implementations.
  • Added support for multiple property default values with different compiler conditions.
  • Added support for SolidColorBrush default values on Brush properties (generates Brushes.[color] in WPF, and new SolidColorBrush(Colors.[color]) in Silverlight).
  • Corrected ordering of method parameter documentation and method attributes.
  • Changed property and event backing fields to use camel case instead of underscores.
  • Changed naming of property helper methods from Property_[name]_[action] to [name]_Property_[action], in order to make it easier to find methods associated with a property.

Changes from v1
  • Generate System.Diagnostics.CodeAnalysis.SuppressMessage attributes for valid members not recognized by code analysis.
  • Added SetCompilationSymbol method to Implementer<T>.
  • Added InheritImplementation property to INotifyPropertyChanged implementer, to correct for inability to detect Silverlight-only implementations for inheriting members.
  • Only override Freezable.CreateInstanceCore and FrameworkElement.DefaultStyleKey for non-abstract types.
  • Added Visual Studio item template (place in Visual Studio 2008\Templates\ItemTemplates\Visual C#\General under your Documents directory).
  • Create templates for types with base classes that do not have default constructors using new Partial.Type<BaseClass>( "DerivedClass" ) and Partial.Type( typeof(BaseClass), "DerivedClass" ) methods.

Reviews for this release

No reviews yet for this release.