PsHandler.PokerTypes.PokerType.ToXElement C# (CSharp) Method

ToXElement() public method

public ToXElement ( ) : System.Xml.Linq.XElement
return System.Xml.Linq.XElement
        public XElement ToXElement()
        {
            return new XElement("PokerType",
                                    new XElement("Name", Name),
                                    new XElement("LevelLength", LevelLength.Ticks),
                                    new XElement("RegexWindowTitle", RegexWindowTitle),
                                    new XElement("RegexWindowClass", RegexWindowClass)
                                    );
        }