Class IDs
Maps store specific Product identifiers to one or more store identifiers.
The name is deliberately terse for use as a collection initializer.
Inherited Members
Namespace: UnityEngine .Purchasing
Assembly: solution.dll
Syntax
public class IDs : IEnumerable<KeyValuePair<string, string>>, IEnumerable
Methods
Add(string, params object[])
Add a product identifier to a list of store names with non strings such as Enums.
Declaration
public void Add(string id, params object[] stores)
Parameters
Type | Name | Description |
---|---|---|
string | id | Product identifier. |
object[] | stores | List of stores by other object, to which we the id will be mapped to. |
Add(string, params string[])
Add a product identifier to a list of store names with string.
Declaration
public void Add(string id, params string[] stores)
Parameters
Type | Name | Description |
---|---|---|
string | id | Product identifier. |
string[] | stores | List of stores by string, to which we the id will be mapped to. |
GetEnumerator()
Retrieve an Enumerator with which can be used to iterate through the internal map structure.
Declaration
public IEnumerator<KeyValuePair<string, string>> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<Key |
Enumerator as a Key/Value pair. |