-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hi,
I want to bind a object inherit from DynamicObject and IDictionary<string, object>. I want to use article.Title to bind the field, but it always throw a exception "CS1061: 'object' does not contain a definition for 'Title' and no extension method 'Title' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) (line 468)".
I change to use the dictionary syntax "article["Title"]", but it throws "
CS0021: Cannot apply indexing with [] to an expression of type 'object' (line 468)
"
How can I to fix it?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels