Esempio n. 1
0
        public static MockDefine AddDefine(this DefineCenter defineCenter, string name,
                                           IComponent[] components)
        {
            var newDefine = new MockDefine(name, components);

            defineCenter.GetDefines().Add(name, newDefine);
            return(newDefine);
        }