Interface IPropertyObject
A simple class in which JSON can be deserialized.
Namespace: Microsoft.XboxStudios.SQTech.Roster
Assembly: Microsoft.GNS.Roster.Common.dll
Syntax
public interface IPropertyObject
Properties
View SourceRosterProperties
Gets JSON values not deserialized into other properties.
Declaration
IDictionary<string, JToken> RosterProperties { get; }
Property Value
Type | Description |
---|---|
IDictionary<System.String, JToken> |
Methods
View SourceGetList(String)
Gets a property as a list of strings.
Declaration
IList<string> GetList(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | The name of the property to get. |
Returns
Type | Description |
---|---|
IList<System.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 |
---|---|---|
System.String | propertyName | The name of the property to get. |
Returns
Type | Description |
---|---|
System.String | The property as a string. |