AddFormToCache() static private method

Adds the specified Type to the cache keyed by the Guid.
static private AddFormToCache ( System.Guid guid, Type type ) : void
guid System.Guid Guid for the scanner
type System.Type Scanner class Type
return void
Exemplo n.º 1
0
        /// <summary>
        /// Add the form of the specified type to the form cache.
        /// </summary>
        /// <param name="type">the .NET type</param>
        public void AddFormToCache(Type type)
        {
            var guid = PanelConfigMap.GetFormId(type);

            PanelConfigMap.AddFormToCache(guid, type);
        }