Show / Hide Table of Contents

Class MetadataItem

A base implementation of the interface user objects must implement in order to work with the Roster client.

Inheritance
System.Object
PropertyObject
MetadataItem
TestClass
Implements
IMetadataItem
IPropertyObject
IMetadata
IVerifiable
Inherited Members
PropertyObject.RosterProperties
PropertyObject.GetList(String)
PropertyObject.GetString(String)
Namespace: Microsoft.XboxStudios.SQTech.Roster
Assembly: Microsoft.GNS.Roster.Common.dll
Syntax
public class MetadataItem : PropertyObject, IMetadataItem, IPropertyObject, IVerifiable

Fields

View Source

Empty

Represents an empty or unset version of this object.

Declaration
public static readonly MetadataItem Empty
Field Value
Type Description
MetadataItem

Properties

View Source

MetadataContainer

Declaration
public string MetadataContainer { get; set; }
Property Value
Type Description
System.String
View Source

MetadataContext

Declaration
public IMetadataContext MetadataContext { get; }
Property Value
Type Description
IMetadataContext
View Source

MetadataName

Declaration
public string MetadataName { get; set; }
Property Value
Type Description
System.String
View Source

MetadataVersion

Declaration
public string MetadataVersion { get; set; }
Property Value
Type Description
System.String

Methods

View Source

Equals(Nullable<Object>)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
System.Nullable<System.Object> obj
Returns
Type Description
System.Boolean
Overrides
PropertyObject.Equals(Nullable<Object>)
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
PropertyObject.GetHashCode()
View Source

IsEmpty()

Determines if the object is equal to its 'Empty' value.

Declaration
public virtual bool IsEmpty()
Returns
Type Description
System.Boolean

True if the object is equal to its 'Empty' value. Otherwise, false.

View Source

IsValid()

Determines if an object is in a valid state.

Declaration
public virtual bool IsValid()
Returns
Type Description
System.Boolean

True if the object is valid. Otherwise, false.

Implements

IMetadataItem
IPropertyObject
IMetadata
IVerifiable
  • View Source
In This Article
Back to top Generated by DocFX