예제 #1
0
파일: Def.cs 프로젝트: sjschaff/rimlite
        public static BldgProtoDef Create <TProto, TDef>()
            where TDef : BldgDefG <TDef>
        {
            var def = new BldgProtoDef(TypeDef.Create <TProto>(), TypeDef.Create <TDef>());

            BldgDefG <TDef> .SetProto(def);

            return(def);
        }