Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SitecoreLinkedAttribute"/> class.
 /// </summary>
 public SitecoreLinkedAttribute()
 {
     Option = SitecoreLinkedOptions.All;
 }
 /// <summary>
 /// Indicate weather All, References or Referred should be loaded
 /// </summary>
 /// <param name="option">The option.</param>
 /// <returns>SitecoreLinked{`0}.</returns>
 public SitecoreLinked <T> Option(SitecoreLinkedOptions option)
 {
     Configuration.Option = option;
     return(this);
 }
 /// <summary>
 /// Indicate weather All, References or Referred should be loaded
 /// </summary>
 public SitecoreLinked <T> Option(SitecoreLinkedOptions option)
 {
     _att.Option = option;
     return(this);
 }