C# Class StarryEyes.Models.Databases.UserProxy

Exibir arquivo Open project: karno/StarryEyes Class Usage Examples

Public Methods

Method Description
AddAsync ( RelationDataType type, long userId, IEnumerable targetIds ) : System.Threading.Tasks.Task
AddBlockingsAsync ( long userId, IEnumerable targetIds ) : System.Threading.Tasks.Task
AddFollowersAsync ( long userId, IEnumerable targetIds ) : System.Threading.Tasks.Task
AddFollowingsAsync ( long userId, IEnumerable targetIds ) : System.Threading.Tasks.Task
AddMutesAsync ( long userId, IEnumerable targetIds ) : System.Threading.Tasks.Task
AddNoRetweetsAsync ( long userId, IEnumerable targetIds ) : System.Threading.Tasks.Task
ContainsAsync ( RelationDataType type, long userId, long targetId ) : Task
GetAllAsync ( RelationDataType type ) : Task>
GetAsync ( RelationDataType type, long userId ) : Task>
GetBlockingsAllAsync ( ) : Task>
GetBlockingsAsync ( long userId ) : Task>
GetFollowersAllAsync ( ) : Task>
GetFollowersAsync ( long userId ) : Task>
GetFollowingsAllAsync ( ) : Task>
GetFollowingsAsync ( long userId ) : Task>
GetId ( string screenName ) : long
GetMutesAllAsync ( ) : Task>
GetMutesAsync ( long userId ) : Task>
GetNoRetweetsAllAsync ( ) : Task>
GetNoRetweetsAsync ( long userId ) : Task>
GetRelatedUsersFastAsync ( string partOfScreenName, bool followingsOnly, int count ) : string>>>.Task
GetUserAsync ( long id ) : Task
GetUserAsync ( string screenName ) : Task
GetUsersAsync ( IEnumerable ids ) : Task>
GetUsersAsync ( string partOfScreenName ) : Task>
GetUsersFastAsync ( string partOfScreenName, int count ) : string>>>.Task
IsBlockingAsync ( long userId, long targetId ) : Task
IsFollowerAsync ( long userId, long targetId ) : Task
IsFollowingAsync ( long userId, long targetId ) : Task
IsMutedAsync ( long userId, long targetId ) : Task
IsNoRetweetsAsync ( long userId, long targetId ) : Task
RemoveAsync ( RelationDataType type, long userId, IEnumerable removalIds ) : System.Threading.Tasks.Task
RemoveBlockingsAsync ( long userId, IEnumerable removals ) : System.Threading.Tasks.Task
RemoveFollowersAsync ( long userId, IEnumerable removals ) : System.Threading.Tasks.Task
RemoveFollowingsAsync ( long userId, IEnumerable removals ) : System.Threading.Tasks.Task
RemoveMutesAsync ( long userId, IEnumerable removals ) : System.Threading.Tasks.Task
RemoveNoRetweetsAsync ( long userId, IEnumerable removals ) : System.Threading.Tasks.Task
SetAsync ( RelationDataType type, long userId, long targetId, bool value ) : System.Threading.Tasks.Task
SetBlockingAsync ( long userId, long targetId, bool blocking ) : System.Threading.Tasks.Task
SetFollowerAsync ( long userId, long targetId, bool followed ) : System.Threading.Tasks.Task
SetFollowingAsync ( long userId, long targetId, bool following ) : System.Threading.Tasks.Task
SetMutedAsync ( long userId, long targetId, bool muted ) : System.Threading.Tasks.Task
SetNoRetweetsAsync ( long userId, long targetId, bool suppressing ) : System.Threading.Tasks.Task
StoreUser ( StarryEyes.Anomaly.TwitterApi.DataModels.TwitterUser user ) : void

Private Methods

Method Description
LoadUserAsync ( [ user ) : Task
ResolveUsersAsync ( IEnumerable users ) : Task>
StoreUsersAsync ( IEnumerable pendingUser ) : System.Threading.Tasks.Task
UserProxy ( ) : System

Method Details

AddAsync() public static method

public static AddAsync ( RelationDataType type, long userId, IEnumerable targetIds ) : System.Threading.Tasks.Task
type RelationDataType
userId long
targetIds IEnumerable
return System.Threading.Tasks.Task

AddBlockingsAsync() public static method

public static AddBlockingsAsync ( long userId, IEnumerable targetIds ) : System.Threading.Tasks.Task
userId long
targetIds IEnumerable
return System.Threading.Tasks.Task

AddFollowersAsync() public static method

public static AddFollowersAsync ( long userId, IEnumerable targetIds ) : System.Threading.Tasks.Task
userId long
targetIds IEnumerable
return System.Threading.Tasks.Task

AddFollowingsAsync() public static method

public static AddFollowingsAsync ( long userId, IEnumerable targetIds ) : System.Threading.Tasks.Task
userId long
targetIds IEnumerable
return System.Threading.Tasks.Task

AddMutesAsync() public static method

public static AddMutesAsync ( long userId, IEnumerable targetIds ) : System.Threading.Tasks.Task
userId long
targetIds IEnumerable
return System.Threading.Tasks.Task

AddNoRetweetsAsync() public static method

public static AddNoRetweetsAsync ( long userId, IEnumerable targetIds ) : System.Threading.Tasks.Task
userId long
targetIds IEnumerable
return System.Threading.Tasks.Task

ContainsAsync() public static method

public static ContainsAsync ( RelationDataType type, long userId, long targetId ) : Task
type RelationDataType
userId long
targetId long
return Task

GetAllAsync() public static method

public static GetAllAsync ( RelationDataType type ) : Task>
type RelationDataType
return Task>

GetAsync() public static method

public static GetAsync ( RelationDataType type, long userId ) : Task>
type RelationDataType
userId long
return Task>

GetBlockingsAllAsync() public static method

public static GetBlockingsAllAsync ( ) : Task>
return Task>

GetBlockingsAsync() public static method

public static GetBlockingsAsync ( long userId ) : Task>
userId long
return Task>

GetFollowersAllAsync() public static method

public static GetFollowersAllAsync ( ) : Task>
return Task>

GetFollowersAsync() public static method

public static GetFollowersAsync ( long userId ) : Task>
userId long
return Task>

GetFollowingsAllAsync() public static method

public static GetFollowingsAllAsync ( ) : Task>
return Task>

GetFollowingsAsync() public static method

public static GetFollowingsAsync ( long userId ) : Task>
userId long
return Task>

GetId() public static method

public static GetId ( string screenName ) : long
screenName string
return long

GetMutesAllAsync() public static method

public static GetMutesAllAsync ( ) : Task>
return Task>

GetMutesAsync() public static method

public static GetMutesAsync ( long userId ) : Task>
userId long
return Task>

GetNoRetweetsAllAsync() public static method

public static GetNoRetweetsAllAsync ( ) : Task>
return Task>

GetNoRetweetsAsync() public static method

public static GetNoRetweetsAsync ( long userId ) : Task>
userId long
return Task>

GetRelatedUsersFastAsync() public static method

public static GetRelatedUsersFastAsync ( string partOfScreenName, bool followingsOnly, int count ) : string>>>.Task
partOfScreenName string
followingsOnly bool
count int
return string>>>.Task

GetUserAsync() public static method

public static GetUserAsync ( long id ) : Task
id long
return Task

GetUserAsync() public static method

public static GetUserAsync ( string screenName ) : Task
screenName string
return Task

GetUsersAsync() public static method

public static GetUsersAsync ( IEnumerable ids ) : Task>
ids IEnumerable
return Task>

GetUsersAsync() public static method

public static GetUsersAsync ( string partOfScreenName ) : Task>
partOfScreenName string
return Task>

GetUsersFastAsync() public static method

public static GetUsersFastAsync ( string partOfScreenName, int count ) : string>>>.Task
partOfScreenName string
count int
return string>>>.Task

IsBlockingAsync() public static method

public static IsBlockingAsync ( long userId, long targetId ) : Task
userId long
targetId long
return Task

IsFollowerAsync() public static method

public static IsFollowerAsync ( long userId, long targetId ) : Task
userId long
targetId long
return Task

IsFollowingAsync() public static method

public static IsFollowingAsync ( long userId, long targetId ) : Task
userId long
targetId long
return Task

IsMutedAsync() public static method

public static IsMutedAsync ( long userId, long targetId ) : Task
userId long
targetId long
return Task

IsNoRetweetsAsync() public static method

public static IsNoRetweetsAsync ( long userId, long targetId ) : Task
userId long
targetId long
return Task

RemoveAsync() public static method

public static RemoveAsync ( RelationDataType type, long userId, IEnumerable removalIds ) : System.Threading.Tasks.Task
type RelationDataType
userId long
removalIds IEnumerable
return System.Threading.Tasks.Task

RemoveBlockingsAsync() public static method

public static RemoveBlockingsAsync ( long userId, IEnumerable removals ) : System.Threading.Tasks.Task
userId long
removals IEnumerable
return System.Threading.Tasks.Task

RemoveFollowersAsync() public static method

public static RemoveFollowersAsync ( long userId, IEnumerable removals ) : System.Threading.Tasks.Task
userId long
removals IEnumerable
return System.Threading.Tasks.Task

RemoveFollowingsAsync() public static method

public static RemoveFollowingsAsync ( long userId, IEnumerable removals ) : System.Threading.Tasks.Task
userId long
removals IEnumerable
return System.Threading.Tasks.Task

RemoveMutesAsync() public static method

public static RemoveMutesAsync ( long userId, IEnumerable removals ) : System.Threading.Tasks.Task
userId long
removals IEnumerable
return System.Threading.Tasks.Task

RemoveNoRetweetsAsync() public static method

public static RemoveNoRetweetsAsync ( long userId, IEnumerable removals ) : System.Threading.Tasks.Task
userId long
removals IEnumerable
return System.Threading.Tasks.Task

SetAsync() public static method

public static SetAsync ( RelationDataType type, long userId, long targetId, bool value ) : System.Threading.Tasks.Task
type RelationDataType
userId long
targetId long
value bool
return System.Threading.Tasks.Task

SetBlockingAsync() public static method

public static SetBlockingAsync ( long userId, long targetId, bool blocking ) : System.Threading.Tasks.Task
userId long
targetId long
blocking bool
return System.Threading.Tasks.Task

SetFollowerAsync() public static method

public static SetFollowerAsync ( long userId, long targetId, bool followed ) : System.Threading.Tasks.Task
userId long
targetId long
followed bool
return System.Threading.Tasks.Task

SetFollowingAsync() public static method

public static SetFollowingAsync ( long userId, long targetId, bool following ) : System.Threading.Tasks.Task
userId long
targetId long
following bool
return System.Threading.Tasks.Task

SetMutedAsync() public static method

public static SetMutedAsync ( long userId, long targetId, bool muted ) : System.Threading.Tasks.Task
userId long
targetId long
muted bool
return System.Threading.Tasks.Task

SetNoRetweetsAsync() public static method

public static SetNoRetweetsAsync ( long userId, long targetId, bool suppressing ) : System.Threading.Tasks.Task
userId long
targetId long
suppressing bool
return System.Threading.Tasks.Task

StoreUser() public static method

public static StoreUser ( StarryEyes.Anomaly.TwitterApi.DataModels.TwitterUser user ) : void
user StarryEyes.Anomaly.TwitterApi.DataModels.TwitterUser
return void