Esempio n. 1
0
        public void LoadDataReaders <TData>(string name)
        {
            Log.Log(MethodBase.GetCurrentMethod() !.Name, $"{name} {typeof(TData)}");

            Type TO = typeof(IDataReader <TData>);

            foreach (Assembly Ass in AppDomain.CurrentDomain.GetAssemblies())
            {
                foreach (Type Type in Ass.GetTypes().Where(t => t.IsClass && TO.IsAssignableFrom(t)))
                {
                    MethodInfo?MethodAutoLoad = Type.GetMethod(nameof(IDataReader.AutoLoad));
                    if ((bool)(MethodAutoLoad?.Invoke(null, null) ?? true))
                    {
                        IDataReader <TData>?Subscriber = Type.GetConstructors()[0].GetParameters().Length == 1
                            ? (IDataReader <TData>?)Activator.CreateInstance(Type, this)
                            : (IDataReader <TData>?)Activator.CreateInstance(Type);
                        if (Subscriber != null)
                        {
                            SubscribeDataReader <TData>(name, Subscriber);
                        }
                    }
                }
            }

            Log.Log(MethodBase.GetCurrentMethod() !.Name, $"{name} {typeof(TData)} Loaded");
        }
Esempio n. 2
0
 public Shit(int index, string name, bool gender, Ass ass, int[] items, Vector3 position)
 {
     Index    = index;
     Name     = name;
     Gender   = gender;
     Ass      = ass;
     Items    = items;
     Position = position;
 }
        public void Absent_elements_should_be_displayed_in_result()
        {
            var source = new[] { 6, 10, 5, 1, 12 };

            var sortedSource = _sort.Sort(source.ToList()).ToArray();
            var foundResults = _finder.Find(sortedSource);

            Ass.Equal(new[] { "2-4", "7-9", "11" }, foundResults);
        }
        public void Absent_elements_should_be_included_in_result()
        {
            var source = new[] { 6, 10, 5, 1 };

            var sortedSource = _sort.Sort(source.ToList()).ToArray();
            var filledSource = _filler.Fill(sortedSource);

            Ass.Equal(new[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }, filledSource);
        }
Esempio n. 5
0
 public void musicPause()
 {
     foreach (AudioSource Ass in As)
     {
         if (Ass != null)
         {
             Ass.Stop();
         }
     }
 }
        public override void Visit(Ass ass)
        {
            var expr       = new ExpressionSimplifierVisitor().Visit(ass.Expr);
            var exprResult = new ExpressionGeneratorVisitor(_state).Visit(expr);

            _state.VarToLabelToRegister[ass.Id] =
                new Dictionary <string, RegisterLabelContext> {
                { exprResult.Label, exprResult }
            };
        }
Esempio n. 7
0
        public void BubleSort_Should_Properly_Sort_List_Of_Integers()
        {
            var controlList = new List <int> {
                1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13
            };
            var intList = new List <int> {
                9, 5, 2, 4, 1, 13, 6, 11, 7, 10, 8, 12, 3
            };
            var result = _sort.Sort(intList);

            Ass.Equal(controlList, result);
        }
Esempio n. 8
0
        private void ClearDataproduct2()
        {
            ID.Clear();
            name.Clear();
            Lname.Clear();

            Ass.Clear();
            Email.Clear();
            Tal.Clear();
            number.Clear();
            Pass.Clear();
        }
Esempio n. 9
0
 /// <summary>
 /// 非配置化加载
 /// </summary>
 internal void NoConfigurationLoad(String DbType)
 {
     Assembly[] Asses = AppDomain.CurrentDomain.GetAssemblies();
     foreach (Assembly Ass in Asses)
     {
         Object[] Attrs = Ass.GetCustomAttributes(typeof(NamedSQLAttribute), true);
         if (Attrs != null && Attrs.Length > 0)
         {
             LoadConfigFromAssembly(Ass, DbType);
         }
     }
 }
Esempio n. 10
0
        public void BubleSort_Should_Properly_Sort_List_Of_Strings_with_Numbers()
        {
            var controlList = new List <string> {
                "2", "3", "A", "C", "E"
            };
            var strList = new List <string> {
                "E", "A", "C", "2", "3"
            };
            var result = _sort.Sort(strList);

            Ass.Equal(controlList, result);
        }
Esempio n. 11
0
        static void Main(string[] args)
        {
            Syringe syrige = new Syringe();
            Arm     arm    = new Arm("张三");
            Hand    hand   = new Hand("李四");
            Ass     ass    = new Ass("王五");

            arm.Accept(syrige);
            hand.Accept(syrige);
            ass.Accept(syrige);

            Console.ReadLine();
        }
Esempio n. 12
0
        protected IEnumerable <Type> GetAPICommandClasses()
        {
            if (API_type != null)
            {
                Assembly[] asses = AppDomain.CurrentDomain.GetAssemblies();

                List <Assembly> GoodLooking = new List <Assembly>();
                foreach (Assembly Ass in asses)
                {
                    if (Ass.FullName.StartsWith("BetterSecondbot") == true)
                    {
                        GoodLooking.Add(Ass);
                    }
                    else if (Ass.FullName.StartsWith("Core") == true)
                    {
                        GoodLooking.Add(Ass);
                    }
                    else if (Ass.FullName.StartsWith("Shared") == true)
                    {
                        GoodLooking.Add(Ass);
                    }
                }

                List <Type> reply = new List <Type>();
                foreach (Assembly Ass in GoodLooking)
                {
                    foreach (Type ClassType in Ass.GetTypes())
                    {
                        if (ClassType.IsSubclassOf(API_type) == true)
                        {
                            reply.Add(ClassType);
                        }
                    }
                }
                return(reply);
            }
            else
            {
                LogFormater.Crit(this.GetType() + " Attempted to call GetSubTypes without setting API_TYPE first!");
            }
            return(null);
        }
Esempio n. 13
0
        public override void Visit(Ass ass)
        {
            var expr       = new ExpressionSimplifierVisitor().Visit(ass.Expr);
            var exprResult = new ExpressionGeneratorVisitor(_state).Visit(expr);

            if (_state.VarToLabelToRegister.ContainsKey(ass.Id))
            {
                var varType = _state.VarToLabelToRegister[ass.Id].ToList()[0].Value.Type;
                if (varType.GetText() != exprResult.Type.GetText())
                {
                    var nextRegister = _state.NewRegister;
                    _llvmGenerator.Emit($"{nextRegister} = bitcast {AstToLlvmString.Type(exprResult.Type)} " +
                                        $"{exprResult.Register} to {AstToLlvmString.Type(varType)}");
                    exprResult.Register = nextRegister;
                    exprResult.Type     = varType;
                }

                _state.VarToLabelToRegister[ass.Id] =
                    new Dictionary <string, RegisterLabelContext> {
                    { exprResult.Label, exprResult }
                };
            }
            else
            {
                var classDef     = _globalState.CurrentClass;
                var field        = classDef.Fields[ass.Id];
                var selfRegister = _state.VarToLabelToRegister["self"].Values.ToList()[0].Register;

                var nextRegister = _state.NewRegister;

                _llvmGenerator.Emit(
                    $"{nextRegister} = getelementptr %{classDef.Id}, %{classDef.Id}* {selfRegister}, i32 0, i32 {field.Number + 1}");
                _llvmGenerator.Emit($"store {AstToLlvmString.Type(field.Type)} {exprResult.Register}, " +
                                    $"{AstToLlvmString.Type(field.Type)}* {nextRegister}");
            }
        }
Esempio n. 14
0
 public PlayerSystem(Ass ass) : base(ass)
 {
     Initialize();
 }
Esempio n. 15
0
        static void Main(string[] args)
        {
            var ass = new Ass();

            ass.MyProperty.Add(1);
            ass.MyProperty.Add(41);
            ass.MyProperty.Add(12);
            foreach (var intt in ass.MyProperty)
            {
                Console.WriteLine(intt);
            }
            //Console.WriteLine(typeof(string).IsPrimitiveType());
            //Console.WriteLine(typeof(DateTime).IsPrimitiveType());
            //Console.WriteLine(typeof(DateTime?).IsPrimitiveType());
            //Console.WriteLine(typeof(int?).IsPrimitiveType());
            //Console.WriteLine(typeof(int).IsPrimitiveType());
            //Dictionary<string, int> dictionary = new Dictionary<string, int>();

            //dictionary.Add("cat1", 1);
            //dictionary.Add("dog2", 2);
            //dictionary.Add("cat3", 3);
            //dictionary.Add("dog4", 4);
            //dictionary.Add("cat5", 5);
            //dictionary.Add("dog6", 6);
            //dictionary.Add("cat7", 7);
            //dictionary.Add("dog8", 8);
            //dictionary.Add("cat9", 9);
            //dictionary.Add("dog10", 10);
            //dictionary.Add("dog11", 11);

            //dictionary.Add("dog100", 100);

            //var firstHalf = new Dictionary<string, int>();
            //int i = 0, count = dictionary.Count;
            //foreach (var item in dictionary.Keys.ToList())
            //{
            //    firstHalf.Add(item, dictionary[item]);
            //    dictionary.Remove(item);
            //    if (++i == count / 2) break;
            //}
            //var t = Type.ReflectionOnlyGetType("NHibernate.HibernateException, NHibernate", false, true);

            //var isIt = t != null && typeof(ApplicationException).IsAssignableFrom(t);
            //return;
            //Init();
            //var list = new List<Somadina>();
            //list.Add(new Somadina
            //{
            //    TeacherId = 99,
            //    ClassId = 199,
            //    SubjectId = 299
            //});
            //list.Add(new Somadina
            //{
            //    TeacherId = 99,
            //    ClassId = 199,
            //    SubjectId = 399
            //});
            //list.Add(new Somadina
            //{
            //    TeacherId = 99,
            //    ClassId = 199,
            //    SubjectId = 499
            //});
            ////testSplitCamelCase();
            //var handler = new GetAppUserByUsernameQueryHandler
            //{
            //    InstitutionCode = "mel2q"
            //};
            //var res = handler.Handle(new MultiTenancyFramework.Data.Queries.GetAppUserByUsernameQuery { Username = "******" });
            //try
            //{
            //    var dao = new MultiTenancyFramework.NHibernate.CoreDAO<UserRole>();
            //    dao.InstitutionCode = "mel2q";
            //    var ite = dao.RetrieveAll();
            //    var ite2 = dao.Retrieve(1);

            //}
            //catch (Exception ex)
            //{
            //    Utilities.Logger.Log(ex);
            //}
            Console.ReadKey();
        }
Esempio n. 16
0
        private void UpdateYourself(bool returnStatus)
        {
            ReturnStatus = returnStatus;
            if (returnStatus)
            {
                Progress      = 0;
                ProcessedBits = 0;
                if (Ass.Mode == TaskMode.STORE)
                {
                    Mapping = Mapping.Stored; Ass.Mode = TaskMode.RESTORE; DirInfo = new DirectoryInfo(Ass.Target.FullName); Ass.SwitchTargets();
                }
                else if (Ass.Mode == TaskMode.RESTORE)
                {
                    Mapping = Mapping.Source; Ass.Mode = TaskMode.STORE; DirInfo = new DirectoryInfo(Ass.Target.FullName); Ass.SwitchTargets();
                }
                else if (Ass.Mode == TaskMode.LINK)
                {
                    Mapping = Mapping.Stored; Ass.Mode = TaskMode.RESTORE;
                }
            }
            else
            {
                string targetDir = Ass.Target.FullName;
                Progress      = 0;
                ProcessedBits = 0;
                if (Ass.Mode == TaskMode.RESTORE)
                {
                    MoveHelper.LinkStorageToSource(Ass);
                }
                else if (Ass.Mode == TaskMode.STORE)
                {
                    if (Canceled == false)
                    {
                        Mapping = Mapping.Unlinked; Ass.Mode = TaskMode.LINK;
                    }
                }

                DirectoryInfo deletableDirInfo = new DirectoryInfo(targetDir);
                if (deletableDirInfo.Exists)
                {
                    deletableDirInfo.Delete(true);
                }
            }
        }
Esempio n. 17
0
 public void Visit(Ass ass)
 {
     Console.WriteLine("drug is in {0}'s body through ass", ass.ownername);
 }
Esempio n. 18
0
 public LevelSystem(Ass ass) : base(ass)
 {
     Initialize();
 }
Esempio n. 19
0
 public GameSystem(Ass ass)
 {
     m_Ass = ass;
 }
Esempio n. 20
0
        static void Main(string[] args)
        {
            Smi smi = new Smi()
            {
                text = "가<font face='궁서체'>나<font color='#abcdef' face=\"돋움체\" fade=\"in\">다</font>라</font>마<b>바</b>사<br>아<u>자</u>차<b>카<u>타<i>파</i></u></b>하"
            };
            Ass         ass;
            string      text;
            SmiFile     file;
            List <Attr> attrs;
            bool        doThis = false;

            doThis = false;
            if (doThis)
            {
                Console.WriteLine("샘플1");
                Console.WriteLine(smi);
                Console.WriteLine();

                Console.WriteLine("SMI -> 자체 형식");
                attrs = smi.ToAttr();
                Console.WriteLine();

                Console.WriteLine("자체 형식 -> ASS (fade 손실)");
                ass = new Ass().FromAttr(attrs);
                Console.WriteLine(ass.text);
                Console.WriteLine();

                Console.WriteLine("자체 형식 -> SMI");
                smi = new Smi().FromAttr(attrs);
                Console.WriteLine(smi.text);
                Console.WriteLine();

                Console.WriteLine("ASS -> 자체 형식");
                attrs = ass.ToAttr();
                Console.WriteLine();

                Console.WriteLine("자체 형식 -> SMI");
                smi = new Smi().FromAttr(attrs);
                Console.WriteLine(smi.text);
                Console.WriteLine();

                Console.WriteLine("자체 형식 -> ASS");
                ass = new Ass().FromAttr(attrs);
                Console.WriteLine(ass.text);
                Console.WriteLine();

                Console.WriteLine();
            }

            doThis = false;
            if (doThis)
            {
                Console.WriteLine("샘플2");
                text = "<Sync Start=1000><P Class=KRCC>\n"
                       + "asdf\n"
                       + "<Sync Start=1250><P Class=KRCC >\n"
                       + "가<font color='#abcdef'>나</font>다<font color='#9abcde' fade='in'>라</font>마<font color='#89abcd' fade='out'>바</font>사\n"
                       + "<Sync Start=1500><P Class=KRCC >\n"
                       + "가<font color='#abcdef'>나</font>다<font color='#9abcde'>라</font>마<font color='#000000'>바</font>사\n"
                ;
                Console.WriteLine(text);
                Console.WriteLine();

                Console.WriteLine("가공");
                file = new SmiFile().FromTxt(text);
                Smi.Normalize(file.body);
                text = Smi.Smi2txt(file.body);
                Console.WriteLine(text);
                Console.WriteLine();

                Console.WriteLine();
            }

            doThis = false;
            if (doThis)
            {
                Console.WriteLine("샘플3");
                text = "<Sync Start=61379><P Class=KRCC>\n"
                       + "<font color=\"#cccc88\">I</font><font color=\"#997722\">n the dreaming 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<font color=\"#cccc88\">In</font> <font color=\"#997722\">the dreaming 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<Sync Start=61687><P Class=KRCC>\n"
                       + "<font color=\"#cccc88\">In t</font><font color=\"#997722\">he dreaming 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<font color=\"#cccc88\">In th</font><font color=\"#997722\">e dreaming 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<font color=\"#cccc88\">In the</font> <font color=\"#997722\">dreaming 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<Sync Start=61957><P Class=KRCC>\n"
                       + "<font color=\"#cccc88\">In the d</font><font color=\"#997722\">reaming 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<font color=\"#cccc88\">In the dr</font><font color=\"#997722\">eaming 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<font color=\"#cccc88\">In the dre</font><font color=\"#997722\">aming 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<font color=\"#cccc88\">In the drea</font><font color=\"#997722\">ming 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<Sync Start=62595><P Class=KRCC>\n"
                       + "<font color=\"#cccc88\">In the dream</font><font color=\"#997722\">ing 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<font color=\"#cccc88\">In the dreami</font><font color=\"#997722\">ng 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<font color=\"#cccc88\">In the dreamin</font><font color=\"#997722\">g 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<font color=\"#cccc88\">In the dreaming</font> <font color=\"#997722\">誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<Sync Start=63710><P Class=KRCC>\n"
                ;
                Console.WriteLine(text);
                Console.WriteLine();

                Console.WriteLine("가공");
                file = new SmiFile().FromTxt(text);
                Smi.FillEmptySync(file.body);
                text = Smi.Smi2txt(file.body);
                Console.WriteLine(text);
                Console.WriteLine();

                Console.WriteLine();
            }

            doThis = false;
            if (doThis)
            {
                Console.WriteLine("샘플4");
                smi.text = "테스트<font typing='TypeWriter'>테스트</font>테스트";
                Console.WriteLine(smi.text);
                Console.WriteLine();

                Console.WriteLine("SMI -> 자체 형식");
                attrs = smi.ToAttr();
                Console.WriteLine();

                Console.WriteLine("자체 형식 -> ASS");
                ass = new Ass().FromAttr(attrs);
                Console.WriteLine(ass.text);
                Console.WriteLine();

                Console.WriteLine("자체 형식 -> SMI");
                smi = new Smi().FromAttr(attrs);
                Console.WriteLine(smi.text);
                Console.WriteLine();
            }

            doThis = false;
            if (doThis)
            {
                Console.WriteLine("샘플5");
                text = "<Sync Start=1000><P Class=KRCC>\n"
                       + "테스트   테스트\n"
                       + "<Sync Start=2000><P Class=KRCC>\n"
                       + "테스트<font typing='typewriter'>텍스트</font>테스트\n"
                       + "<Sync Start=3000><P Class=KRCC>\n"
                       + "테스트<font typing='keyboard'>텍스트</font>테스트\n"
                       + "<Sync Start=4000><P Class=KRCC>\n"
                       + "테스트<font typing='keyboard'>테스트</font>테스트\n"
                       + "<Sync Start=5000><P Class=KRCC>\n"
                       + "테스트<font typing='keyboard(0,1)'>테스트</font>테스트\n"
                       + "<Sync Start=6000><P Class=KRCC>\n"
                       + "테스트<font typing='keyboard(1,1)'>테스트</font>테스트\n"
                       + "<Sync Start=7000><P Class=KRCC>\n"
                       + "테스트<font typing='keyboard'>테test</font>테스트\n"
                       + "<Sync Start=8000><P Class=KRCC>\n"
                       + "테스트<font typing='keyboard invisible'>테test</font>테스트\n"
                       + "<Sync Start=9000><P Class=KRCC>\n"
                       + "테스트<font typing='keyboard hangeul'>테test</font><br>테스트\n"
                       + "<Sync Start=10000><P Class=KRCC>\n"
                       + "테스트테스트<font typing='keyboard'>테스트</font>\n"
                       + "<Sync Start=11000><P Class=KRCC>\n"
                       + "테스트테스트테스트\n"
                ;
                Console.WriteLine(text);
                Console.WriteLine();

                Console.WriteLine("가공");
                file = new SmiFile().FromTxt(text);
                Smi.Normalize(file.body);
                text = Smi.Smi2txt(file.body);
                Console.WriteLine(text);
                Console.WriteLine();
            }

            doThis = false;
            if (doThis)
            {
                string input = "실홰롻튄즤륢 ㅁㄴㅇㄻㄴ";
                Console.WriteLine("입력값");
                Console.WriteLine(input);
                Console.WriteLine();

                Console.WriteLine("타자기");
                char[] type   = Typing.ToType(input, Typing.Mode.typewriter);
                Typing typing = new Typing(Typing.Mode.typewriter, Typing.Cursor.invisible);
                foreach (char c in type)
                {
                    typing.Type(c);
                    Console.WriteLine(typing.Out());
                }

                Console.WriteLine();

                Console.WriteLine("키보드");
                type   = Typing.ToType(input, Typing.Mode.keyboard);
                typing = new Typing(Typing.Mode.keyboard, Typing.Cursor.invisible);
                foreach (char c in type)
                {
                    typing.Type(c);
                    Console.WriteLine(typing.Out());
                }
            }

            doThis = false;
            if (doThis)
            {
                Console.WriteLine("샘플 몇이냐");
                text = "<Sync Start=1379><P Class=KRCC>\n"
                       + "<font color=\"#cccc88\">I</font><font color=\"#997722\">n the dreaming 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<Sync Start=61533><P Class=KRCC	>\n"
                       + "<font color=\"#cccc88\">In</font> <font color=\"#997722\">the dreaming 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<Sync Start=1687><P Class=KRCC>\n"
                       + "<font color=\"#cccc88\">In t</font><font color=\"#997722\">he dreaming 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<Sync Start=61777><P Class=KRCC	>\n"
                       + "<font color=\"#cccc88\">In th</font><font color=\"#997722\">e dreaming 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<Sync Start=61867><P Class=KRCC	>\n"
                       + "<font color=\"#cccc88\">In the</font> <font color=\"#997722\">dreaming 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<Sync Start=1957><P Class=KRCC>\n"
                       + "<font color=\"#cccc88\">In the d</font><font color=\"#997722\">reaming 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<Sync Start=62116><P Class=KRCC	>\n"
                       + "<font color=\"#cccc88\">In the dr</font><font color=\"#997722\">eaming 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<Sync Start=62276><P Class=KRCC	>\n"
                       + "<font color=\"#cccc88\">In the dre</font><font color=\"#997722\">aming 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<Sync Start=62435><P Class=KRCC	>\n"
                       + "<font color=\"#cccc88\">In the drea</font><font color=\"#997722\">ming 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<Sync Start=2595><P Class=KRCC>\n"
                       + "<font color=\"#cccc88\">In the dream</font><font color=\"#997722\">ing 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<Sync Start=62873><P Class=KRCC	>\n"
                       + "<font color=\"#cccc88\">In the dreami</font><font color=\"#997722\">ng 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<Sync Start=63152><P Class=KRCC	>\n"
                       + "<font color=\"#cccc88\">In the dreamin</font><font color=\"#997722\">g 誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<Sync Start=63431><P Class=KRCC	>\n"
                       + "<font color=\"#cccc88\">In the dreaming</font> <font color=\"#997722\">誰かのために</font><br>In the dreaming 누군가를 위해서\n"
                       + "<Sync Start=3710><P Class=KRCC>asdf\n";
                Console.WriteLine(text);
                Console.WriteLine();

                Console.WriteLine("중간싱크 조절 가공");
                file = new SmiFile().FromTxt(text);
                Smi.Normalize(file.body);
                text = Smi.Smi2txt(file.body);
                Console.WriteLine(text);
                Console.WriteLine();

                Console.WriteLine();
            }

            doThis = false;
            if (doThis)
            {
                text = "<Sync Start=1293110><P Class=KRCC>"
                       + "<i><font color=\"#ccbbdd\">나란히 날아가는 한 쌍의 새</font></i>"
                       + "<Sync Start=1299594><P Class=KRCC>"
                       + "<i><font color=\"#ccbbdd\">손을 맞잡은</font></i>"
                       + "<Sync Start=1302545><P Class=KRCC>"
                       + "<i><font color=\"#ccbbdd\">부모·자식이 만드는 그림자</font></i>"
                       + "<Sync Start=1305823><P Class=KRCC>"
                       + "<i><font color=\"#ccbbdd\">저녁 해가 비춘 아름다운 것</font></i>"
                       + "<Sync Start=1312310><P Class=KRCC>"
                       + "<i><font color=\"#ccbbdd\">그런 “평범”한 게 눈부셨어</font></i>"
                       + "<Sync Start=1318632><P Class=KRCC>"
                       + "<i><font color=\"#ccbbdd\">푸른색 벤치가 허전해서</font></i>"
                       + "<Sync Start=1323976><P Class=KRCC>"
                       + "<i><font color=\"#ccbbdd\">나 혼자 외톨이 로 느껴졌어</font></i>"
                       + "<Sync Start=1331612><P Class=KRCC>"
                       + "&nbsp;"
                       + "<Sync Start=1333917><P Class=KRCC>"
                       + "<i><font color=\"#ccbbdd\">평범한 게 좋아서</font></i>";

                doThis = false;
                if (doThis)
                {
                    text = "<Sync Start=65483><P Class=KRCC >\n"
                           + "카나???\n"
                           + "<Sync Start=66293><P Class=KRCC >\n"
                           + "&nbsp;\n"
                           + "<Sync Start=68324><P Class=KRCC>\n"
                           + "하루코 ???\n"
                           + "<Sync Start=69054><P Class=KRCC >\n"
                           + "&nbsp;\n"
                           + "<Sync Start=72223><P Class=KRCC >\n"
                           + "슈퍼바이저\n"
                           + "<Sync Start=73504><P Class=KRCC >\n"
                           + "&nbsp;\n"
                           + "<Sync Start=169787><P Class=KRCC >\n"
                           + "히도미 미나세 이노리\n"
                           + "<Sync Start=170883><P Class=KRCC >\n"
                           + "&nbsp;\n"
                           + "<Sync Start=172325><P Class=KRCC >\n"
                           + "진유\n"
                           + "사와시로 미유키\n"
                           + "<Sync Start=173349><P Class=KRCC >\n"
                           + "&nbsp;\n"
                           + "<Sync Start=175555><P Class=KRCC >\n"
                           + "라하루\n"
                           + "하야시바라 메구미\n"
                           + "<Sync Start=176463><P Class=KRCC >\n"
                           + "슈퍼바이저 캐릭터 원안 주제가\n"
                           + "<Sync Start=177671><P Class=KRCC >\n"
                           + "&nbsp;";
                }

                file = new SmiFile().FromTxt(text);
                List <Ass> assBody = new AssFile().FromSync(file.ToSync()).body;
                foreach (Ass line in assBody)
                {
                    Console.WriteLine(line.ToTxt());
                }
            }

            System.Threading.Thread.Sleep(int.MaxValue);
        }
Esempio n. 21
0
 public virtual void Visit(Ass ass)
 {
 }
Esempio n. 22
0
 public Rotater_System(Ass ass) : base(ass)
 {
     Initialize();
 }