вам нужно добавить класс [System.Serializable]
в PlayerItem
, например:
using System;
[System.Serializable]
public class PlayerItem {
public string playerId;
public string playerLoc;
public string playerNick;
}
Он называется открытым общим , и да, Windsor действительно поддерживает это.
container.Register(Component
.For(typeof(IAdapterFactory<,>))
.ImplementedBy(typeof(AdapterFactory<,>))
.LifestylePerWebRequest());
System.Type
, представляющий открытый общий тип. – Krzysztof Kozmic 10 September 2012 в 04:59