Monobjc.Tools.InterfaceBuilder.IBDocument.LoadFromFile C# (CSharp) Method

LoadFromFile() public static method

Loads a IBDocument from a file.
public static LoadFromFile ( String path ) : IBDocument
path String The path.
return IBDocument
        public static IBDocument LoadFromFile(String path)
        {
            XmlReaderSettings settings = new XmlReaderSettings {CloseInput = true, DtdProcessing = DtdProcessing.Parse, XmlResolver = new IBXmlResolver()};
            using (XmlReader reader = XmlReader.Create(path, settings))
            {
                return LoadFromXml(reader);
            }
        }