C# 클래스 Kooboo.Commerce.Rules.Serialization.RuleSerializer

파일 보기 프로젝트 열기: Kooboo/Ecommerce

공개 메소드들

메소드 설명
DeserializeRules ( EventSlot slot, System.Xml.Linq.XElement rulesXml ) : IList
DeserializeRules ( EventSlot slot, string rulesXml ) : IList
RuleSerializer ( ) : System
SerializeRule ( Rule rule ) : System.Xml.Linq.XElement
SerializeRules ( IEnumerable rules ) : System.Xml.Linq.XElement

비공개 메소드들

메소드 설명
DeserializeActivity ( System.Xml.Linq.XElement element ) : ConfiguredActivity
DeserializeAlways ( EventSlot slot, System.Xml.Linq.XElement element ) : Rule
DeserializeCondition ( System.Xml.Linq.XElement element ) : Condition
DeserializeIfElse ( EventSlot slot, System.Xml.Linq.XElement element ) : Rule
DeserializeRule ( EventSlot slot, System.Xml.Linq.XElement element ) : Rule
DeserializeSwitchCase ( EventSlot slot, System.Xml.Linq.XElement element ) : Rule
SerializeActivity ( ConfiguredActivity activity ) : System.Xml.Linq.XElement
SerializeAlways ( Rule rule ) : System.Xml.Linq.XElement
SerializeCondition ( Condition condition ) : System.Xml.Linq.XElement
SerializeIfElse ( Rule rule ) : System.Xml.Linq.XElement
SerializeSwitchCase ( Rule rule ) : System.Xml.Linq.XElement

메소드 상세

DeserializeRules() 공개 메소드

public DeserializeRules ( EventSlot slot, System.Xml.Linq.XElement rulesXml ) : IList
slot EventSlot
rulesXml System.Xml.Linq.XElement
리턴 IList

DeserializeRules() 공개 메소드

public DeserializeRules ( EventSlot slot, string rulesXml ) : IList
slot EventSlot
rulesXml string
리턴 IList

RuleSerializer() 공개 메소드

public RuleSerializer ( ) : System
리턴 System

SerializeRule() 공개 메소드

public SerializeRule ( Rule rule ) : System.Xml.Linq.XElement
rule Rule
리턴 System.Xml.Linq.XElement

SerializeRules() 공개 메소드

public SerializeRules ( IEnumerable rules ) : System.Xml.Linq.XElement
rules IEnumerable
리턴 System.Xml.Linq.XElement