src/MvcContrib.FluentHtml/Behaviors/BehaviorMarkerExtensions.cs
/// <summary>
/// Apply behaviors to an object.
/// </summary>
/// <param name="behaviors">The behaviors to apply.</param>
/// <param name="target">The target element to apply behaviors to.</param>
Apply behaviors to an object.
Apply behaviors to an object .
public static IEnumerable<IBehaviorMarker> ApplyTo<T>(this IEnumerable<IBehaviorMarker> behaviors, T target) where T : IElement
		{
			foreach (var behavior in behaviors)
			{
				ApplyTo(behavior, target);
			}
			return behaviors;
		}
public static IEnumerable < IBehaviorMarker > ApplyTo < T > ( this IEnumerable < IBehaviorMarker > behaviors , T target ) where T : IElement { foreach ( var behavior in behaviors ) { ApplyTo ( behavior , target ) ; } return behaviors ; }
Apply behaviors to an object.
Apply behaviors to an object .
IEnumerable<IBehaviorMarker>
this
target
T
The target element to apply behaviors to.
The target element to apply behaviors to .
behaviors
The behaviors to apply.
The behaviors to apply .