public static void WriteAPadyam() { string identifier = Util.SelectedValue("MachineEnabled"); string s = new MachinePoem().Build(identifier); s = Business.TryMatch(s, identifier, MatchOptions.QucikMatchSettings); Document.GetElementById("result").InnerHTML = s; Util.ScrollTo("main"); }
protected void Page_Load(object sender, EventArgs e) { string s = new MachinePoem( ).Build("nadeepraghOshamu"); Rule R = new nadeepraghOshamu( ); Padyam P = new Padyam( ); P.MatchYati = true; P.MatchPrasa = true; MatchResult MR = P.Match(s, R); result.InnerHtml = MR.ShowErrors(OutputFormat.HTML); ; }