Table of Contents

Class ProductDefinitionWrapper

Namespace
S1API.Products
Assembly
S1API.dll

Provides functionality to wrap and convert generic product definitions into their specific type-derived definitions.

public static class ProductDefinitionWrapper
Inheritance
ProductDefinitionWrapper
Inherited Members

Methods

Wrap(ProductDefinition)

Converts a generic ProductDefinition into its corresponding typed wrapper.

public static ProductDefinition Wrap(ProductDefinition def)

Parameters

def ProductDefinition

The raw product definition to be processed and converted.

Returns

ProductDefinition

A wrapped instance of ProductDefinition with type-specific methods and properties, or the input definition if no specific wrapper applies.