コード例 #1
0
        public static string GetLocalPath(this XmlSchemaObject obj)
        {
            var baseUri = obj.GetBaseUri();

            return((baseUri == null)
                    ? null
                    : new Uri(baseUri).LocalPath);
        }