C# Класс GSoft.Dynamite.Examples.Repositories.WallPostRepository

Data access for wall posts
Наследование: IWallPostRepository
Показать файл Открыть проект

Открытые методы

Метод Описание
AllWallPosts ( SPWeb web ) : IEnumerable

Retrieves all wall posts from SharePoint list

Create ( SPWeb web, WallPost newEntity ) : void

Creates a new wall post

WallPostRepository ( ISharePointEntityBinder binder, IWallReplyRepository wallRepliesRepository, ILogger log ) : System.Collections.Generic

Constructor to inject repository dependencies

Описание методов

AllWallPosts() публичный Метод

Retrieves all wall posts from SharePoint list
public AllWallPosts ( SPWeb web ) : IEnumerable
web SPWeb The current web
Результат IEnumerable

Create() публичный Метод

Creates a new wall post
public Create ( SPWeb web, WallPost newEntity ) : void
web SPWeb The current web
newEntity GSoft.Dynamite.Examples.Entities.WallPost The new wall post entity
Результат void

WallPostRepository() публичный Метод

Constructor to inject repository dependencies
public WallPostRepository ( ISharePointEntityBinder binder, IWallReplyRepository wallRepliesRepository, ILogger log ) : System.Collections.Generic
binder ISharePointEntityBinder The entity binder for mappings between list items and entities
wallRepliesRepository IWallReplyRepository Wall replies repository
log ILogger Logging utility
Результат System.Collections.Generic