/// <summary> /// Initializes a new instance of the <see cref="HarshField"/> class. /// </summary> public HarshField() { ModifyChildrenContextState(() => Field); ExistingField = DeferredResolveBuilder.Create( () => Resolve.Field().ById(Id) ); }
public HarshContentType() { ModifyChildrenContextState( () => ContentType ); ExistingContentType = DeferredResolveBuilder.Create( () => Resolve.ContentType().ById(Id) ); }
public HarshListView() { ViewFields = new Collection <String>(); ExistingViews = DeferredResolveBuilder.Create(() => Lists .ValidateIsClientObjectResolveBuilder() .View().ByUrl(Url) .As <Tuple <List, View> >() ); }
public HarshList() { ExistingList = DeferredResolveBuilder.Create( () => Resolve.List().ByUrl(Url) ); ModifyChildrenContextState( () => List ); TemplateType = ListTemplateType.GenericList; }
public HarshFieldRef() { ExistingFieldLinks = DeferredResolveBuilder.Create( () => new ResolveContentTypeFieldLink(ContentType.ValidateIsClientObjectResolveBuilder()) ); }