ATMLModelLibrary.model.equipment.DetectionType.Deserialize C# (CSharp) Method

Deserialize() public static method

public static Deserialize ( string input ) : DetectionType
input string
return DetectionType
        public static DetectionType Deserialize(string input)
        {
            StringReader stringReader = null;
            try
            {
                stringReader = new StringReader(input);
                return ((DetectionType)(Serializer.Deserialize(System.Xml.XmlReader.Create(stringReader))));
            }
            finally
            {
                if ((stringReader != null))
                {
                    stringReader.Dispose();
                }
            }
        }

Same methods

DetectionType::Deserialize ( Stream s ) : DetectionType
DetectionType::Deserialize ( string input, DetectionType &obj ) : bool
DetectionType::Deserialize ( string input, DetectionType &obj, Exception &exception ) : bool