public ConstructorArgumentReflector(Constructor ctor, Parameter p, CompilerDataTypeProvider c) : base(c) { _ctor = ctor; _p = p; Name = p.Name; var attr = p.Attributes.FirstOrDefault(x => x.Constructor.DeclaringType.GetCachedFullName() == "Uno.UX.UXParameterAttribute"); if (attr != null) { Name = attr.Arguments[0].ConstantValue as string; } }
internal DataTypeReflector(Uno.Compiler.API.Domain.IL.DataType dt, CompilerDataTypeProvider c, AutoGenericInfo agi) { _c = c; UnoDataType = dt; AutoGenericInfo = agi; foreach (var ctor in UnoDataType.Constructors) { if (ctor.Attributes.Any(x => x.Constructor.DeclaringType.GetCachedFullName() == "Uno.UX.UXConstructorAttribute")) { _ctor = ctor; break; } } }
public EnumReflector(Uno.Compiler.API.Domain.IL.Types.EnumType dt, CompilerDataTypeProvider c) : base(dt, c, null) { }
internal PropertyReflectorBase(CompilerDataTypeProvider c) { _c = c; }
public GlobalResourceReflector(Uno.Compiler.API.Domain.IL.Members.Member m, CompilerDataTypeProvider c) { _m = m; _c = c; }
public AttachedEventReflector(AttachedEvent ae, CompilerDataTypeProvider c) { _ae = ae; _c = c; }
public PropertyReflector(Uno.Compiler.API.Domain.IL.Members.Property prop, CompilerDataTypeProvider c) : base(c) { _property = prop; }
public AttachedPropertyReflector(AttachedProperty apf, CompilerDataTypeProvider c) : base(c) { _apf = apf; }