Пример #1
0
 public static string DocOneInfo(ExtensionPropertyInfo info) {
     return DocOneInfoForProperty(info.DeclaringType, info.Name, info.Getter, info.Setter, null);
 }
Пример #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;
 }
Пример #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);
        }
Пример #6
0
 public static string DocOneInfo(ExtensionPropertyInfo info)
 {
     return(DocOneInfoForProperty(info.DeclaringType, info.Name, info.Getter, info.Setter, null));
 }
Пример #7
0
 public static string DocOneInfo(ExtensionPropertyInfo info) {
     return DocOneInfoForProperty(info.DeclaringType, info.Name, info.Getter, info.Setter, Enumerable.Empty<DocumentationAttribute>());
 }