Search Results for

    Show / Hide Table of Contents
    View Source

    Class UserProfile

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models.Membership
    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
    public int Id { get; }
    Property Value
    Type Description
    int
    View Source

    Name

    Declaration
    public string? Name { get; }
    Property Value
    Type Description
    string

    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
    Type Name Description
    UserProfile left
    UserProfile right
    Returns
    Type Description
    bool
    View Source

    operator !=(UserProfile, UserProfile)

    Declaration
    public static bool operator !=(UserProfile left, UserProfile right)
    Parameters
    Type Name Description
    UserProfile left
    UserProfile right
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX