types/SPClientWebTemplateParentPipeBind.cs
/*
* SPClientWebTemplateParentPipeBind.cs * * Copyright (c) 2017 karamem0 * * This software is released under the MIT License. * https://github.com/karamem0/SPClient/blob/master/LICENSE */ namespace SPClient { /// <summary> /// Represents a parameter that stores a client object that is the parent of site templates. /// </summary> public class SPClientWebTemplateParentPipeBind { /// <summary> /// Gets the client object. /// </summary> public Microsoft.SharePoint.Client.ClientObject ClientObject { get; private set; } /// <summary> /// Initializes the new instance of <see cref="SPClient.SPClientWebTemplateParentPipeBind"/> class. /// </summary> /// <param name="site">the site collection which contains site templates.</param> public SPClientWebTemplateParentPipeBind(Microsoft.SharePoint.Client.Site site) { this.ClientObject = site; } /// <summary> /// Initializes the new instance of <see cref="SPClient.SPClientWebTemplateParentPipeBind"/> class. /// </summary> /// <param name="web">the site which contains site templates.</param> public SPClientWebTemplateParentPipeBind(Microsoft.SharePoint.Client.Web web) { this.ClientObject = web; } } } |