You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though each InlineModule may be different, the kernel throws an exception when more than a single InlineModule is loaded. The cause is a compairision on the Name property. A solution would be to override the name in the InlineModule class.
public override string Name
{
get
{
return this.GetType().Name + this._loadCallbacks.GetHashCode();
}
}
I realize that Ninject 1 was end of life, but not everyone can take a dependancy on System.Core (and use .Net 3.5).
The text was updated successfully, but these errors were encountered:
As you already mentioned Ninject1 is end of life. I suggest to switch to Ninject2. Otherwise you will have to fix the issue yourself as we concentrate on improving Ninject2 and won't change Ninject1 anymore.
Even though each InlineModule may be different, the kernel throws an exception when more than a single InlineModule is loaded. The cause is a compairision on the Name property. A solution would be to override the name in the InlineModule class.
I realize that Ninject 1 was end of life, but not everyone can take a dependancy on System.Core (and use .Net 3.5).
The text was updated successfully, but these errors were encountered: