C# 클래스 Facebook.Graph.User

상속: GraphEntity, ISubscribableEntity, ISearchableEntity
파일 보기 프로젝트 열기: prabirshrestha/opengraph.net

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
CreateAlbum ( string title, string message ) : Album

Creates a new photo album on behalf of the user.

CreateAlbumAsync ( string title, string message, Action callback ) : void

Creates a new photo album on behalf of the user.

CreateEvent ( string name, System.DateTime starts, System.DateTime ends ) : GraphEvent

Creates a new event on behalf of this user.

CreateEvent ( string name, string description, string privacy, System.DateTime starts, System.DateTime ends ) : GraphEvent

Creates a new event on behalf of this user.

CreateEventAsync ( string name, System.DateTime starts, System.DateTime ends, Action callback ) : void

Asynchronously creates a new event on behalf of this user.

CreateEventAsync ( string name, string description, string privacy, System.DateTime starts, System.DateTime ends, Action callback ) : void

Asynchronously creates a new event on behalf of this user.

CreateNote ( string subject, string message ) : Note

Creates a Note on behalf of the user.

CreateNoteAsync ( string subject, string message, Action callback ) : void

Asynchronously creates a Note on behalf of the user.

User ( ) : System

Creates a new, empty User.

User ( JToken obj, GraphSession session ) : System

Creates a new User from the specified JSON object and GraphSession.

WriteFeed ( string message, string pictureUrl = null, string linkUrl = null, string linkName = null, string linkDescription = null ) : Post

Writes a new Post to the user's feed.

WriteFeedAsync ( Action callback, string message, string pictureUrl = null, string linkUrl = null, string linkName = null, string linkDescription = null ) : Post

Writes a new Post to the user's feed.

WriteLink ( string linkUrl, string message ) : Link

Writes a link to the user's profile.

WriteLinkAsync ( string linkUrl, string message, Action callback ) : void

Asynchronously writes a link to the user's profile.

메소드 상세

CreateAlbum() 공개 메소드

Creates a new photo album on behalf of the user.
Thrown if the server fails to perform the request. Thrown if is or empty.
public CreateAlbum ( string title, string message ) : Album
title string The title of the album.
message string An initial remark about the album.
리턴 Album

CreateAlbumAsync() 공개 메소드

Creates a new photo album on behalf of the user.
Thrown immediately every time because this API is not yet implemented. Thrown if the server fails to perform the request. Thrown if is or empty.
public CreateAlbumAsync ( string title, string message, Action callback ) : void
title string The title of the album.
message string An initial remark about the album.
callback Action A reference to the method to call upon successful completion of this request.
리턴 void

CreateEvent() 공개 메소드

Creates a new event on behalf of this user.
Thrown if the server fails to perform the request. Thrown if is or empty.
public CreateEvent ( string name, System.DateTime starts, System.DateTime ends ) : GraphEvent
name string The name of the event to create.
starts System.DateTime The time that the event starts.
ends System.DateTime The time that the event ends.
리턴 GraphEvent

CreateEvent() 공개 메소드

Creates a new event on behalf of this user.
Thrown if the server fails to perform the request. Thrown if is or empty.
public CreateEvent ( string name, string description, string privacy, System.DateTime starts, System.DateTime ends ) : GraphEvent
name string The name of the event to create.
description string The event's description.
privacy string The event's privacy setting. Valid values are "OPEN", "CLOSED", and "SECRET".
starts System.DateTime The time that the event starts.
ends System.DateTime The time that the event ends.
리턴 GraphEvent

CreateEventAsync() 공개 메소드

Asynchronously creates a new event on behalf of this user.
Thrown if the server fails to perform the request. Thrown if is or empty. Thrown immediately every time because this API is not yet implemented.
public CreateEventAsync ( string name, System.DateTime starts, System.DateTime ends, Action callback ) : void
name string The name of the event to create.
starts System.DateTime The time that the event starts.
ends System.DateTime The time that the event ends.
callback Action A reference to the method to call upon completion of the request.
리턴 void

CreateEventAsync() 공개 메소드

Asynchronously creates a new event on behalf of this user.
Thrown immediately every time because this API is not yet implemented. Thrown if the server fails to perform the request. Thrown if is or empty.
public CreateEventAsync ( string name, string description, string privacy, System.DateTime starts, System.DateTime ends, Action callback ) : void
name string The name of the event to create.
description string The event's description.
privacy string The event's privacy setting. Valid values are "OPEN", "CLOSED", and "SECRET".
starts System.DateTime The time that the event starts.
ends System.DateTime The time that the event ends.
callback Action A reference to the method to call upon completion of this request.
리턴 void

CreateNote() 공개 메소드

Creates a Note on behalf of the user.
Thrown if the server fails to perform the request. Thrown if or is or empty.
public CreateNote ( string subject, string message ) : Note
subject string The title of the Note.
message string The Note's contents.
리턴 Note

CreateNoteAsync() 공개 메소드

Asynchronously creates a Note on behalf of the user.
Thrown immediately every time because this API is not yet implemented. Thrown if the server fails to perform the request. Thrown if or is or empty.
public CreateNoteAsync ( string subject, string message, Action callback ) : void
subject string The title of the Note.
message string The Note's contents.
callback Action A reference to the method to call upon completion of this request.
리턴 void

User() 공개 메소드

Creates a new, empty User.
public User ( ) : System
리턴 System

User() 공개 메소드

Creates a new User from the specified JSON object and GraphSession.
public User ( JToken obj, GraphSession session ) : System
obj JToken The source JSON object.
session GraphSession The session that is creating the object.
리턴 System

WriteFeed() 공개 메소드

Writes a new Post to the user's feed.
Thrown if the server fails to perform the request. Thrown if is or empty.
public WriteFeed ( string message, string pictureUrl = null, string linkUrl = null, string linkName = null, string linkDescription = null ) : Post
message string The post message.
pictureUrl string A URL of an optional picture associated with the post. The default value of this parameter is .
linkUrl string A URL of an optional link to be associated with this post. The default value of this parameter is .
linkName string The name of the optional link to be associated with this post. The default value of this parameter is .
linkDescription string The description of the optional link associated with this post. The default value of this parameter is .
리턴 Post

WriteFeedAsync() 공개 메소드

Writes a new Post to the user's feed.
Thrown immediately every time because this API is not yet implemented. Thrown if the server fails to perform the request. Thrown if is or empty.
public WriteFeedAsync ( Action callback, string message, string pictureUrl = null, string linkUrl = null, string linkName = null, string linkDescription = null ) : Post
callback Action A reference to the method to call upon successful completion of the request. This parameter should accept a single /// parameter.
message string The post message.
pictureUrl string A URL of an optional picture associated with the post. The default value of this parameter is .
linkUrl string A URL of an optional link to be associated with this post. The default value of this parameter is .
linkName string The name of the optional link to be associated with this post. The default value of this parameter is .
linkDescription string The description of the optional link associated with this post. The default value of this parameter is .
리턴 Post

WriteLink() 공개 메소드

Writes a link to the user's profile.
Thrown if or is or empty. Thrown if the server fails to perform the request.
public WriteLink ( string linkUrl, string message ) : Link
linkUrl string The URL of the link
message string A descriptive message with the link.
리턴 Link

WriteLinkAsync() 공개 메소드

Asynchronously writes a link to the user's profile.
Thrown if or is or empty. Thrown if the server fails to perform the request. Thrown immediately every time because this API is not yet implemented.
public WriteLinkAsync ( string linkUrl, string message, Action callback ) : void
linkUrl string The URL of the link
message string A descriptive message with the link.
callback Action A reference to the method to call upon successful completion of the request.
리턴 void