Format:
Recent snippets matching tags of object inflation
public XDocument ResponseXml { get; protected set; } public T Inflate<T>() where T : class { var attr = typeof(T) .GetCustomAttributes(true) .OfType<XmlRootAttribute>() .SingleOrDefault(); string root = attr.ElementName;
146 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
