Hi All,
I'm trying to find a way to add functionality to other plugins (ExBuddy to be precise). I've created my own directory under Plugins and a class to contain the functionality:
	
	
	
		
This gets compiled and is fine until I try to use the functionality in ExBuddy's Fish tag:
	
	
	
		
Once it gets to this in the profile I end up with the exception:
	
	
	
		
While I could put the code inside ExBuddy and within it's namespace (this does work) I'd like to keep the functionality outside of ExBuddy so that I don't have to patch it after re-installs (SoC is a good thing!).
Is there something I'm missing to register my namespace/class to make it usable across other plugins, or is there some from of sandboxing going on and this is not a possibility?
Thanks in advance!
				
			I'm trying to find a way to add functionality to other plugins (ExBuddy to be precise). I've created my own directory under Plugins and a class to contain the functionality:
		Code:
	
	namespace SomeNS
{
    public static class SomeClass
    {
        public static bool Until(double ezHour)
        {
            // run until we hit parameter time
        }
    }
}
	This gets compiled and is fine until I try to use the functionality in ExBuddy's Fish tag:
		Code:
	
	<Fish Condition="SomeNS.SomeClass.Until(4)"> <!-- run until 4am -->
  ....
</Fish>
	Once it gets to this in the profile I end up with the exception:
		Code:
	
	IronPython.Runtime.UnboundNameException: global name 'MyNS' is not defined
	While I could put the code inside ExBuddy and within it's namespace (this does work) I'd like to keep the functionality outside of ExBuddy so that I don't have to patch it after re-installs (SoC is a good thing!).
Is there something I'm missing to register my namespace/class to make it usable across other plugins, or is there some from of sandboxing going on and this is not a possibility?
Thanks in advance!






