Click or drag to resize

UserStub Structure

This is preliminary documentation and is subject to change.

Represents basic information of a user.
Inheritance Hierarchy
SystemObject
  SystemValueType
    WikiClientLibraryUserStub

Namespace: WikiClientLibrary
Assembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax
public readonly struct UserStub : IEquatable<UserStub>

The UserStub type exposes the following members.

Constructors
 NameDescription
Public methodUserStub(String, Int64)Initializes a new instance of the UserStub class
Public methodUserStub(String, Int64, Gender)Initializes a new instance of the UserStub class
Public methodUserStub(String, Int64, Gender, String)Initializes a new instance of the UserStub class
Top
Properties
 NameDescription
Public propertyGenderGets user's gender.
Public propertyHasIdDetermines whether the user has ID.
Public propertyIdGets user ID on the MediaWiki site.
Public propertyNameGets user name.
Public propertySiteNameGets the site name the user comes from.
Top
Methods
 NameDescription
Public methodEquals(Object)Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object))
Public methodEquals(UserStub)Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCodeReturns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns the fully qualified type name of this instance.
(Overrides ValueTypeToString)
Top
Operators
Fields
 NameDescription
Public fieldStatic memberEmpty 
Top
Remarks
Not all the fields are required to be available. But Name is mandatory.
See Also