Quantcast
Channel: fasterflect Discussions Rss Feed
Browsing latest articles
Browse All 20 View Live

New Post: how to use ExcludeHiddenMembers

I'll take a look and get back to you.. maybe later today but probably not until tomorrow.

View Article



New Post: how to use ExcludeHiddenMembers

Meanwhile, can you put a breakpoint in Fasterflect in BaseEmitter.cs line 46 and tell me if the cache lookup is successful? It should only fail for the first invocation. If it continues to fail, there...

View Article

New Post: how to use ExcludeHiddenMembers

how u explain that when explicity pass the Type array with the method args works fast? does not look o me like a cache issue but i will tell u the info u asked

View Article

New Post: how to use ExcludeHiddenMembers

i breakpoint inside GetDelegate method and delgate2==null the 2nd time. it is then added and if u step backwards u can see the cache working but when the method is again executed normally from the...

View Article

New Post: how to use ExcludeHiddenMembers

I cannot reproduce the problem here, so my best guess at whats going on is this: When you call with a View instance only (and do not specify the type array), you are not just calling with View...

View Article


New Post: how to use ExcludeHiddenMembers

When you call with a View instance only (and do not specify the type array), you are not just calling with View instances, but rather with different subclasses that are derived from View. This would...

View Article

New Post: how to use ExcludeHiddenMembers

Fasterflect should internally execute the same code, regardless of whether you pass the type array or not - the only difference is that the type array is produced from the parameter values given...

View Article

New Post: how to use ExcludeHiddenMembers

sent

View Article


New Post: how to use ExcludeHiddenMembers

Not seeing anything in my inbox - did you substitute firstname/lastname with my actual name info?

View Article


New Post: how to use ExcludeHiddenMembers

yes i did but the mail returned and do not see any mistake can u find me at gmail as apostolis.bekiaris

View Article

New Post: how to use ExcludeHiddenMembers

I sent an email to the given name + @gmail.com but haven't heard back.. but seriously, this is ridiculous. I've given you all the information a person needs to figure out my email address and I've had...

View Article

New Post: MethodInvoker Benchmarking

Hey all, thank you for your work with this library it made life much easier. I'm using it for a fairly intensive application invoking a method roughly 25 million times with 4 simple parameters. The...

View Article

New Post: MethodInvoker Benchmarking

Could you share a small but complete/working sample of the code you are executing? I could take a quick look and tell you whether you are using Fasterflect in the most optimal way. The library contains...

View Article


New Post: DateTime.Today.Date

Hi, How can I get this working? var result = typeof(DateTime).GetPropertyValue("Today.Date"); Thanks,

View Article

New Post: DateTime.Today.Date

That is what I get: Unable to cast object of type 'System.DateTime' to type 'Fasterflect.Emitter.ValueTypeHolder'.

View Article


New Post: Identify Closures?

What is the best way to identify a closure based on the System.Type information?

View Article

New Post: Convert ExpandoObject to typed list without generic T

I query database and get a list of ExpandoObject. Due to framework restriction, can't pass in generic T. The best I can get is Type type = typeof(MyType).Assembly.GetType("SomeType"); Is there a quick...

View Article


New Post: Convert ExpandoObject to typed list without generic T

The best I can do so far is type.CreateInstance, then loop through the dictionary and TrySetPropertyValue. Wonder if there's something even better.

View Article

New Post: Convert ExpandoObject to typed list without generic T

Nevermind, turned out the micro ORM I used, schotime/NPoco has this built in. Type type = typeof(Vehicle).Assembly.GetType("Car"); var vehicles = db.Query<Vehicle>(new[] { type }, null, new...

View Article

New Post: Structure GetFieldValue

Hello, I'm trying to make a serializer using fasterflect, fasterflect seams powerfull and can access public/private/static members of class, but when i try to use it on structures i got an error, it...

View Article
Browsing latest articles
Browse All 20 View Live




Latest Images