Struct StoreItem
Inherited Members
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: cs.temp.dll.dll
Syntax
public struct StoreItem : IEquatable<StoreItem>
Constructors
StoreItem(Int32, String, String, String, Int32, String[], String)
Declaration
public StoreItem(int id, string identifier, string name, string description, int price, string[] tags, string imageUrl)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
System.String |
identifier |
|
System.String |
name |
|
System.String |
description |
|
System.Int32 |
price |
|
System.String[] |
tags |
|
System.String |
imageUrl |
|
Properties
Description
Declaration
public string Description { get; }
Property Value
Type |
Description |
System.String |
|
Id
Declaration
Property Value
Type |
Description |
System.Int32 |
|
Identifier
Declaration
public string Identifier { get; }
Property Value
Type |
Description |
System.String |
|
ImageUrl
Declaration
public string ImageUrl { get; }
Property Value
Type |
Description |
System.String |
|
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
Price
Declaration
public int Price { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public string[] Tags { get; }
Property Value
Type |
Description |
System.String[] |
|
Methods
Equals(StoreItem)
Declaration
public bool Equals(StoreItem other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
Implements
IEquatable<>