private GetById ( long gid, GroupsFields fields = null ) : Model.Group | ||
gid | long | |
fields | GroupsFields | |
return | Model.Group |
public Group GetById(long gid, GroupsFields fields = null)
{
VkErrors.ThrowIfNumberIsNegative(() => gid);
return GetById(new List<string>(), gid.ToString(), fields).FirstOrDefault();
}
GroupsCategory::GetById ( string gid, GroupsFields fields = null ) : Model.Group | |
GroupsCategory::GetById ( IEnumerable |
|
GroupsCategory::GetById ( IEnumerable |
|
GroupsCategory::GetById ( IEnumerable |
public void GetById_Multiple_AccessTokenInvalid_ThrowAccessTokenInvalidException() { var groups = new GroupsCategory(new VkApi()); Assert.That(() => groups.GetById(2), Throws.InstanceOf<AccessTokenInvalidException>()); }