WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
PropertyInfoExtension.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.Reflection;
6 
7 
11 public static class PropertyInfoExtension
12 {
19  public static bool IsXMLSerializeable(this PropertyInfo PI)
20  {
21 
22  return !PI.IsDefined(typeof(System.Xml.Serialization.XmlIgnoreAttribute), false) && PI.CanRead && PI.CanWrite && PI.GetGetMethod(false)!=null && PI.GetSetMethod(false) != null && !PI.GetGetMethod(false).IsStatic;
23  }
24 }
25 
26