Show / Hide Table of Contents

Class PropertyObject

A simple class in which JSON can be deserialized.

Inheritance
object
PropertyObject
RosterDocument
MetadataItem
Implements
IPropertyObject
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.SQTech.Roster
Assembly: Microsoft.XboxStudios.SQTech.Roster.Common.dll
Syntax
public class PropertyObject : IPropertyObject

Fields

View Source

Empty

Represents an empty or unset version of this object.

Declaration
public static readonly PropertyObject Empty
Field Value
Type Description
PropertyObject

Properties

View Source

RosterProperties

Gets JSON values not deserialized into other properties.

Declaration
[JsonExtensionData]
public IDictionary<string, JToken> RosterProperties { get; }
Property Value
Type Description
IDictionary<string, JToken>

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.

Overrides
object.Equals(object)
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.

Overrides
object.GetHashCode()
View Source

GetList(string)

Gets a property as a list of strings.

Declaration
public virtual IList<string> GetList(string propertyName)
Parameters
Type Name Description
string propertyName

The name of the property to get.

Returns
Type Description
IList<string>

The property as a list of strings.

View Source

GetString(string)

Gets a property as a string.

Declaration
public virtual string GetString(string propertyName)
Parameters
Type Name Description
string propertyName

The name of the property to get.

Returns
Type Description
string

The property as a string.

Implements

IPropertyObject
  • View Source
In this article
Back to top Generated by DocFX