C# Class Kooboo.Commerce.Web.Areas.Commerce.Models.Rules.RuleModelBase

Show file Open project: Kooboo/Ecommerce Class Usage Examples

Public Methods

Method Description
FromRule ( Rule rule ) : RuleModelBase
ToRule ( EventSlot slot ) : Rule

Protected Methods

Method Description
RuleModelBase ( string type ) : System

Method Details

FromRule() public static method

public static FromRule ( Rule rule ) : RuleModelBase
rule Kooboo.Commerce.Rules.Rule
return RuleModelBase

RuleModelBase() protected method

protected RuleModelBase ( string type ) : System
type string
return System

ToRule() public abstract method

public abstract ToRule ( EventSlot slot ) : Rule
slot Kooboo.Commerce.Rules.EventSlot
return Kooboo.Commerce.Rules.Rule