Get flash to fully experience Pearltrees
GetMetaObject() returns a new DynamicDictionaryMetaObject whenever it is called. Here’s where the first complexity enters the picture. GetMetaObject() is called every time any member of the DynamicDictionary is invoked. Call the same member 10 times, GetMetaObject() gets called 10 times. Even if your methods are statically defined in DynamicDictionary, GetMetaObject() will be called, and will intercept those methods to invoke possible dynamic behavior. Remember that dynamic objects are statically typed as dynamic, therefore have no compile time behavior defined.
In .NET Framework programming, an async method typically returns a Task or a Task < TResult > . Inside an async method, an await operator is applied to a task that's returned from a call to another async method. You specify Task < TResult > as the return type if the method contains a Return (Visual Basic) or return (C#) statement that specifies an operand of type TResult . You use Task as the return type if the method has no return statement or has a return statement that doesn't return an operand.