Class ProductContainer
Inheritance
ProductContainer
Syntax
public sealed class ProductContainer
Properties
initialized
Declaration
public static bool initialized { get; }
Property Value
initializing
Declaration
public static bool initializing { get; }
Property Value
products
Declaration
public static IEnumerable<Product> products { get; }
Property Value
Methods
GetProduct(String)
Declaration
public static Product GetProduct(string productId)
Parameters
Type |
Name |
Description |
String |
productId |
|
Returns
GetProductID(Type)
Declaration
public static string GetProductID(Type productType)
Parameters
Type |
Name |
Description |
Type |
productType |
|
Returns
GetProductType(String)
Declaration
public static Type GetProductType(string productId)
Parameters
Type |
Name |
Description |
String |
productId |
|
Returns
HasProduct(String)
Declaration
public static bool HasProduct(string productId)
Parameters
Type |
Name |
Description |
String |
productId |
|
Returns
Extension Methods