Ejemplo n.º 1
0
 public static string DocOneInfo(ExtensionPropertyInfo info) {
     return DocOneInfoForProperty(info.DeclaringType, info.Name, info.Getter, info.Setter, null);
 }
Ejemplo n.º 2
0
 public static string DocOneInfo(ExtensionPropertyInfo info)
 {
     return(DocOneInfoForProperty(info.DeclaringType, info.Name, info.Getter, info.Setter, Enumerable.Empty <DocumentationAttribute>()));
 }
 public ReflectedExtensionProperty(ExtensionPropertyInfo info, NameType nt)
     : base(new MethodInfo[] { info.Getter }, new MethodInfo[] { info.Setter }, nt)
 {
     _extInfo = info;
     _deleter = info.Deleter;
 }
 public ReflectedExtensionProperty(ExtensionPropertyInfo info, NameType nt)
     : base(new MethodInfo[] { info.Getter }, new MethodInfo[] { info.Setter }, nt) {
     _extInfo = info;
     _deleter = info.Deleter;
 }
Ejemplo n.º 5
0
        public static NameType TryGetName(PythonType dt, ExtensionPropertyInfo pi, MethodInfo prop, out string name) {
            name = pi.Name;

            return GetNameFromMethod(dt, prop, NameType.Property, ref name);
        }
Ejemplo n.º 6
0
 public static string DocOneInfo(ExtensionPropertyInfo info)
 {
     return(DocOneInfoForProperty(info.DeclaringType, info.Name, info.Getter, info.Setter, null));
 }
Ejemplo n.º 7
0
 public static string DocOneInfo(ExtensionPropertyInfo info) {
     return DocOneInfoForProperty(info.DeclaringType, info.Name, info.Getter, info.Setter, Enumerable.Empty<DocumentationAttribute>());
 }