Hi

I have the following dictionary:

Dictionary<int, Dictionary<string, string>> ResourceDictionaries

and these are mine interfaces:

public interface IResourceLanguage
    {
        [Key("1033")]
        [Component]
        IResource En { get; }
    }
 
    public interface IResource
    {
        [Key("recent_comments")]
        string RecentComments { get; }
 
        [Key("invitation_already_exists")]
        string InvitationAlreadyExists { get; }
    }

The dictionary adapter is unable to return the values by ResourceLanguageKey 
which is int in my case. When I open the base class in debug mode I can find 
the real dictionary loaded properly there. I think that the problem is with 
[Key] attribute because it is int. Am I missing something?

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to