commercetools.Sdk
The commercetools platform, import-api and C# sdks generated from our api reference.
Loading...
Searching...
No Matches
Public Member Functions | Properties
commercetools.Base.CustomAttributes.TypeDiscriminatorAttribute Class Reference

Represents the System.Attribute used to indicate the property used to discriminate derived types of the marked class. More...

Inherits Attribute.

Public Member Functions

 TypeDiscriminatorAttribute (string property)
 Initializes a new TypeDiscriminatorAttribute
 

Properties

string Property [get]
 Gets the name of the property used to discriminate derived types of the class marked by the TypeDiscriminatorAttribute
 

Detailed Description

Represents the System.Attribute used to indicate the property used to discriminate derived types of the marked class.

Constructor & Destructor Documentation

◆ TypeDiscriminatorAttribute()

commercetools.Base.CustomAttributes.TypeDiscriminatorAttribute.TypeDiscriminatorAttribute ( string  property)
inline

Initializes a new TypeDiscriminatorAttribute

Parameters
propertyThe name of the property used to discriminate derived types of the class marked by the TypeDiscriminatorAttribute

Property Documentation

◆ Property

string commercetools.Base.CustomAttributes.TypeDiscriminatorAttribute.Property
get

Gets the name of the property used to discriminate derived types of the class marked by the TypeDiscriminatorAttribute


The documentation for this class was generated from the following file: