示例#1
0
        public static DrawableProperty Parse(IPropertyInfo property, string value)
        {
            if (LocalBoundDrawableProperty.Syntax.IsMatch(value))
            {
                return(LocalBoundDrawableProperty.Parse(property, value));
            }

            if (ConfigBoundDrawableProperty.Syntax.IsMatch(value))
            {
                return(ConfigBoundDrawableProperty.Parse(property, value));
            }

            return(EmbeddedDrawableProperty.Parse(property, value));
        }
 public static AssignmentExpressionSyntax GenerateInitializerSyntax(this ConfigBoundDrawableProperty prop)
 {
     return(null);
 }