types/SPClientWebParentParameter.cs
/*
* SPClientWebParentParameter.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 subsites. /// </summary> public class SPClientWebParentParameter { /// <summary> /// Gets the client object. /// </summary> public Microsoft.SharePoint.Client.ClientObject ClientObject { get; private set; } /// <summary> /// Initializes the new instance of <see cref="SPClient.SPClientWebParentParameter"/> class. /// </summary> /// <param name="site">the site which contains subsites.</param> public SPClientWebParentParameter(Microsoft.SharePoint.Client.Web site) { this.ClientObject = site; } } } |