C# 클래스 ApiCore.Wall.WallFactory

상속: BaseFactory
파일 보기 프로젝트 열기: nolka/vkdotnet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
PostsCount int

공개 메소드들

메소드 설명
AddComment ( int ownerId, int postId, string msg, int replyToCid ) : int

AddLike ( int postId, bool needPublish ) : int

Delete ( int ownerId, int msg_id ) : bool

Delete wall post

DeleteComment ( int ownerId, int commentId ) : bool

DeleteLike ( int postId ) : int

Get ( int ownerId, int count, int offset, string filter ) : List

Get wall entries

GetComments ( int ownerId, int postId, SortOrder sortOrder, int offset, int count ) : List

Post ( int ownerId, string message ) : int

Post message in the wall

Restore ( int ownerId, int msg_id ) : bool

Restore deleted entry

RestoreComment ( int ownerId, int commentId ) : bool

WallFactory ( ApiManager manager ) : System

비공개 메소드들

메소드 설명
buildEntryList ( XmlDocument x ) : List
getAttachment ( XmlNode fromPost ) : Attachment
getAttachmentData ( AttachmentType type, XmlNode attachmentData ) : AttachmentData

메소드 상세

AddComment() 공개 메소드

public AddComment ( int ownerId, int postId, string msg, int replyToCid ) : int
ownerId int
postId int
msg string
replyToCid int
리턴 int

AddLike() 공개 메소드

public AddLike ( int postId, bool needPublish ) : int
postId int
needPublish bool
리턴 int

Delete() 공개 메소드

Delete wall post
public Delete ( int ownerId, int msg_id ) : bool
ownerId int if null - wall entry for current user will be deleted, else - for specified user
msg_id int post id to delete
리턴 bool

DeleteComment() 공개 메소드

public DeleteComment ( int ownerId, int commentId ) : bool
ownerId int
commentId int
리턴 bool

DeleteLike() 공개 메소드

public DeleteLike ( int postId ) : int
postId int
리턴 int

Get() 공개 메소드

Get wall entries
public Get ( int ownerId, int count, int offset, string filter ) : List
ownerId int if null - wall entries for current user will be returned, else - for specified user
count int messages count. null allowed
offset int message offset. null allowed
filter string
리턴 List

GetComments() 공개 메소드

public GetComments ( int ownerId, int postId, SortOrder sortOrder, int offset, int count ) : List
ownerId int
postId int
sortOrder SortOrder
offset int
count int
리턴 List

Post() 공개 메소드

Post message in the wall
public Post ( int ownerId, string message ) : int
ownerId int if null - wall entry for current user will be posted, else - for specified user
message string message to be posted
리턴 int

Restore() 공개 메소드

Restore deleted entry
public Restore ( int ownerId, int msg_id ) : bool
ownerId int if null - wall entry for current user will be restored, else - for specified user
msg_id int post id to restore
리턴 bool

RestoreComment() 공개 메소드

public RestoreComment ( int ownerId, int commentId ) : bool
ownerId int
commentId int
리턴 bool

WallFactory() 공개 메소드

public WallFactory ( ApiManager manager ) : System
manager ApiManager
리턴 System

프로퍼티 상세

PostsCount 공개적으로 프로퍼티

public int PostsCount
리턴 int