Interface IPropertyObject
A simple class in which JSON can be deserialized.
Namespace: Microsoft.XboxStudios.SQTech.Roster
Assembly: Microsoft.XboxStudios.SQTech.Roster.Common.dll
Syntax
public interface IPropertyObject
Properties
View SourceRosterProperties
Gets JSON values not deserialized into other properties.
Declaration
[JsonExtensionData]
IDictionary<string, JToken> RosterProperties { get; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, JToken> |
Methods
View SourceGetList(string)
Gets a property as a list of strings.
Declaration
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. |
GetString(string)
Gets a property as a string.
Declaration
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. |