Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Neroken
#1 Posted : Friday, March 23, 2012 3:27:00 PM(UTC)
Neroken
Rank: Newbie

Groups: Member
Joined: 3/23/2012(UTC)
Posts: 1
Location: Belgium

Hi,

I already tested a few T4 editors and all of them failed to let Intelli-Sense work for my base classes that I use via the inherits argument of the template directive.

Can I download a trial of your PRO version to see if your editor can do this? I don't want to spend money before I know this works.

I'm using VS2010.

Kind regards,

Nero
tangible|Björn
#2 Posted : Tuesday, March 27, 2012 12:01:44 AM(UTC)
tangible|Björn
Rank: Administration

Groups: Administration
Joined: 3/17/2009(UTC)
Posts: 168
Man
Germany

Was thanked: 12 time(s) in 12 post(s)
Hello,

currently this is only suported when you do two things:

a) Add a reference to your dll containing the parent template you want to inherit from via <#@ assembly name="PATHTOFILE"#>
b) declare a variable myBase = (ParentClass) this;

Then you will have myBase.<INTELLISENSE>

In the next version this will work without doing the cast in b)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF | YAF © 2003-2020, Yet Another Forum.NET
This page was generated in 0.209 seconds.

Authorization on the site

For an authorized user opens up new possibilities

Login

Password