Skip to content

Commit

Permalink
Update src/Castle.Windsor/Windsor/IWindsorContainer_ObsoleteAPI.cs
Browse files Browse the repository at this point in the history
Changed the ObsoleteAttribute message on AddFacility<TFacility>(String idInConfiguration) to be more helpful.
  • Loading branch information
Johannes Hansen committed Sep 17, 2012
1 parent e162c31 commit 31b4076
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ IWindsorContainer AddComponentWithProperties(String key, Type serviceType, Type
/// <typeparam name = "TFacility">The facility type.</typeparam>
/// <param name = "idInConfiguration"></param>
/// <returns></returns>
[Obsolete("Use AddFacility<TFacility>() instead.")]
[Obsolete("Use AddFacility<TFacility>(Action<TFacility> onCreate) instead.")]
[EditorBrowsable(EditorBrowsableState.Never)]
IWindsorContainer AddFacility<TFacility>(String idInConfiguration) where TFacility : IFacility, new();

Expand Down

0 comments on commit 31b4076

Please sign in to comment.