public virtual T Fragment <T>() where T : IFragmentBuilder { var fragment = this.Fragments.OfType <T>().FirstOrDefault(); if (fragment == null) { return(this.Fragment(FragmentBuilder.GetProxy(this).Fragment <T>())); } return(fragment); }
private IndexConfig(IConfig config) { this.Config = config; this.Builder = FragmentBuilder.GetProxy(null); this.Expression = this.CreateConstraint(); }