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