View Source
Class UserProfile
Assembly: Umbraco.Core.dll
Syntax
public class UserProfile : IProfile
Constructors
View Source
UserProfile(int, string?)
Declaration
public UserProfile(int id, string? name)
Parameters
| Type |
Name |
Description |
| int |
id |
|
| string |
name |
|
Properties
View Source
Id
Declaration
Property Value
View Source
Name
Declaration
public string? Name { get; }
Property Value
Methods
View Source
Equals(object?)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
The object to compare with the current object.
|
Returns
| Type |
Description |
| bool |
true if the specified object is equal to the current object; otherwise, false.
|
View Source
Equals(UserProfile?)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(UserProfile? other)
Parameters
| Type |
Name |
Description |
| UserProfile |
other |
An object to compare with this object.
|
Returns
| Type |
Description |
| bool |
true if the current object is equal to the other parameter; otherwise, false.
|
View Source
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| int |
A hash code for the current object.
|
Operators
View Source
operator ==(UserProfile, UserProfile)
Declaration
public static bool operator ==(UserProfile left, UserProfile right)
Parameters
Returns
View Source
operator !=(UserProfile, UserProfile)
Declaration
public static bool operator !=(UserProfile left, UserProfile right)
Parameters
Returns