Exemplo n.º 1
0
        public static Dictionary <TKey, Type> GetAssemblyDataSource()
        {
            // Get all child classes from assembly
            IEnumerable <Type> subclasses = typeof(TParent).GetSubclasses();

            return(AssemblyTools.BuildDictionaryFromEnumProperty <TKey>(subclasses));
        }
Exemplo n.º 2
0
 protected override Dictionary <TKey, Type> SerializedDataAsDict(IEnumerable <Type> serializedData)
 {
     return(AssemblyTools.BuildDictionaryFromEnumProperty <TKey>(serializedData));
 }