FetchAttribute
Identifies an interface or property to be pre-fetched.
using System;
namespace Castle.Components.DictionaryAdapter
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Interface, AllowMultiple = false)]
public class FetchAttribute : Attribute
{
public bool Fetch { get; set; }
public FetchAttribute()
: this(true)
{
}
public FetchAttribute(bool fetch)
{
Fetch = fetch;
}
}
}