Posted by: Stegothedump - Tuesday, 3 July 2012 13:35:54 |
---|
I have the code below... YafContext.Current.Cache.Clear(); But I'm getting a compile error, has this been removed or moved? S |
Posted by: tha_watcha - Tuesday, 3 July 2012 15:02:42 |
---|
[quote=Stegothedump;55240]I have the code below...
YafContext.Current.Cache.Clear();
But I'm getting a compile error, has this been removed or moved?
S[/quote]
its
YafContext.Current.Get |
Posted by: Stegothedump - Tuesday, 3 July 2012 15:18:44 |
---|
thanks! what is the IDataCache though? |
Posted by: tha_watcha - Tuesday, 3 July 2012 15:33:51 |
---|
[quote=Stegothedump;55242]thanks! what is the IDataCache though? [/quote] Its the Interface for the cache system. |
Posted by: Stegothedump - Tuesday, 3 July 2012 15:47:23 |
---|
weird I'm still getting an error?? Error 5 The type or namespace name 'IDataCache' could not be found (are you missing a using directive or an assembly reference?) C:\websites\CloudWiseForum\YetAnotherForum.NET\NewUserReg\NewUser.aspx.cs 48 40 YAF Pretty sure i have all the assemblies referenced? S |
Posted by: tha_watcha - Tuesday, 3 July 2012 15:58:47 |
---|
[quote=Stegothedump;55246]weird I'm still getting an error??
Error 5 The type or namespace name 'IDataCache' could not be found (are you missing a using directive or an assembly reference?) C:\websites\CloudWiseForum\YetAnotherForum.NET\NewUserReg\NewUser.aspx.cs 48 40 YAF
Pretty sure i have all the assemblies referenced?
S
[/quote]
You need to add a using to the NewUser.aspx.cs Page
using YAF.Types.Interfaces;
or
YafContext.Current.Get |
Posted by: Stegothedump - Tuesday, 3 July 2012 16:04:08 |
---|
Thanks Watcha I had YAF.Types but not YAF.Types.Interfaces. S |