예제 #1
0
        //-----------------------------------------------------------------------------------------------------------------------------------------------------

        public ImplementationClassWriter(ClassType ownerClass, Type baseType)
            : base(ownerClass)
        {
            m_BaseType = TypeTemplate.Resolve(baseType);

            if (m_BaseType.IsInterface)
            {
                ownerClass.AddInterface(m_BaseType);
            }

            m_Members = TypeMemberCache.Of(m_BaseType);
            //TODO: validate base type
        }