fluently-sharepoint

所属分类:自然语言处理
开发工具:C#
文件大小:62KB
下载次数:0
上传日期:2019-09-20 17:02:50
上 传 者sh-1993
说明:  类似句子的CSOM编程经验
(Sentence-like CSOM programming experience)

文件列表:
FluentlySharepoint (0, 2019-09-20)
FluentlySharepoint\FluentlySharePoint (0, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Assets (0, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Assets\CamlQueries.Designer.cs (3202, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Assets\CamlQueries.resx (5871, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Assets\Messages.Designer.cs (4103, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Assets\Messages.resx (6176, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\CSOMFluentExtensions.cs (5921, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\CSOMHelpers.cs (406, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\CSOMOperation.cs (12709, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Constants (0, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Constants\WebTemplates.cs (606, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\DeferredAction.cs (210, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Enums (0, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Enums\ChoiceTypes.cs (176, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Enums\DeferredActions.cs (96, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Enums\Lcid.cs (385, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Enums\ListTemplate.cs (279, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Enums\OperationLevels.cs (116, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Extensions (0, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Extensions\ContentType.cs (1704, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Extensions\Folder.cs (1014, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Extensions\List.cs (7141, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Extensions\ListAlteration.cs (6327, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Extensions\Operation.cs (575, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Extensions\Site.cs (2045, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Extensions\Taxonomy.cs (7943, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Extensions\WebExtensions.cs (5535, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\FluentlySharePoint.csproj (2214, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\FluentlySharepoint.csproj (2214, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\FluentlySharepoint.nuspec (1503, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Helpers (0, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Helpers\DictionaryExtensions.cs (373, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Helpers\StringHelpers.cs (627, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Interfaces (0, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Interfaces\ILogger.cs (411, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\LevelLock.cs (621, 2019-09-20)
FluentlySharepoint\FluentlySharePoint\Loggers (0, 2019-09-20)
... ...

# fluently-sharepoint CSOM Linq styled helper ## Create and execute ``` var op = SiteUrl .Create(logger) .SetOnlineCredentials(UserName, Password) // Available also with SecureString parameter .Execute(); ``` ## Create, execute and reuse ``` var op = SiteUrl .Create(logger) .SetOnlineCredentials(UserName, Password) // Available also with SecureString parameter .Execute(); var listTitle = "Documents"; op.LoadList(listTitle, (context, list) => { context.Load(list, l=>l.ItemCount); }); var items = op.GetItems(); ``` ## Reuse existing CSOM client context ``` ClientContext context = new ClientContext(SiteUrl); context.Credentials = new SharePointOnlineCredentials(UserName, Password.ToSecureString()); var listTitle = "Documents"; var items = context .Create() .LoadList(listTitle) .GetItems(); logger.Info($"Total items of list {listTitle} with list.ItemCount: {items.Count}"); ```

近期下载者

相关文件


收藏者