Skip to content

Commit 925fa32

Browse files
891562: Need to move the latest changes to public repo
1 parent edaeb3f commit 925fa32

File tree

122 files changed

+172982
-172638
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+172982
-172638
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
**/.vs/
2+
.git/
3+
**/bin/
4+
**/obj

LoanCalculator.sln

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Threading.Tasks;
5-
using Microsoft.AspNetCore.Mvc;
6-
using Syncfusion.EJ2.Charts;
7-
8-
namespace EJ2CoreSampleBrowser.Controllers
9-
{
10-
public class HomeController : Controller
11-
{
12-
public IActionResult Index()
13-
{
14-
ViewBag.titleStyle = new ChartFont { Color = "#FFFFFF", FontFamily = "Raleway, sans-serif", FontWeight = "600", Size = "16px", Opacity = 0.62 };
15-
16-
ViewBag.yAxisTitleStyle = new ChartFont { Color = "#FFFFFF", FontFamily = "Raleway, sans-serif", FontWeight = "600", Size = "16px", Opacity = 0.62 };
17-
18-
ViewBag.axesTitleStyle = new ChartFont { Color = "#FFFFFF", FontFamily = "Raleway, sans-serif", FontWeight = "600", Size = "16px", Opacity = 0.62 };
19-
ViewBag.palettes = new string[] { "#FB6589", "#3AC8DC", "#FFFFFF" };
20-
ViewBag.childGrid = new { };
21-
return View();
22-
}
23-
}
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Threading.Tasks;
5+
using Microsoft.AspNetCore.Mvc;
6+
using Syncfusion.EJ2.Charts;
7+
8+
namespace EJ2CoreSampleBrowser.Controllers
9+
{
10+
public class HomeController : Controller
11+
{
12+
public IActionResult Index()
13+
{
14+
ViewBag.titleStyle = new ChartFont { Color = "#FFFFFF", FontFamily = "Raleway, sans-serif", FontWeight = "600", Size = "16px", Opacity = 0.62 };
15+
16+
ViewBag.yAxisTitleStyle = new ChartFont { Color = "#FFFFFF", FontFamily = "Raleway, sans-serif", FontWeight = "600", Size = "16px", Opacity = 0.62 };
17+
18+
ViewBag.axesTitleStyle = new ChartFont { Color = "#FFFFFF", FontFamily = "Raleway, sans-serif", FontWeight = "600", Size = "16px", Opacity = 0.62 };
19+
ViewBag.palettes = new string[] { "#FB6589", "#3AC8DC", "#FFFFFF" };
20+
ViewBag.childGrid = new { };
21+
return View();
22+
}
23+
}
2424
}
Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
1-
#region Copyright © 2001-2003 Jean-Claude Manoli [[email protected]]
2-
/*
3-
* This software is provided 'as-is', without any express or implied warranty.
4-
* In no event will the author(s) be held liable for any damages arising from
5-
* the use of this software.
6-
*
7-
* Permission is granted to anyone to use this software for any purpose,
8-
* including commercial applications, and to alter it and redistribute it
9-
* freely, subject to the following restrictions:
10-
*
11-
* 1. The origin of this software must not be misrepresented; you must not
12-
* claim that you wrote the original software. If you use this software
13-
* in a product, an acknowledgment in the product documentation would be
14-
* appreciated but is not required.
15-
*
16-
* 2. Altered source versions must be plainly marked as such, and must not
17-
* be misrepresented as being the original software.
18-
*
19-
* 3. This notice may not be removed or altered from any source distribution.
20-
*/
21-
#endregion
22-
23-
using System;
24-
using System.IO;
25-
using System.Text;
26-
using System.Text.RegularExpressions;
27-
28-
namespace Manoli.Utils.CSharpFormat
29-
{
30-
/// <summary>
31-
/// Provides a base class for formatting languages similar to C.
32-
/// </summary>
33-
public abstract class CLikeFormat : CodeFormat
34-
{
35-
/// <summary>
36-
/// Regular expression string to match single line and multi-line
37-
/// comments (// and /* */).
38-
/// </summary>
39-
protected override string CommentRegEx
40-
{
41-
get { return @"/\*.*?\*/|//.*?(?=\r|\n)"; }
42-
}
43-
44-
/// <summary>
45-
/// Regular expression string to match string and character literals.
46-
/// </summary>
47-
protected override string StringRegEx
48-
{
49-
get { return @"@?""""|@?"".*?(?!\\).""|''|'.*?(?!\\).'"; }
50-
}
51-
}
52-
}
53-
1+
#region Copyright © 2001-2003 Jean-Claude Manoli [[email protected]]
2+
/*
3+
* This software is provided 'as-is', without any express or implied warranty.
4+
* In no event will the author(s) be held liable for any damages arising from
5+
* the use of this software.
6+
*
7+
* Permission is granted to anyone to use this software for any purpose,
8+
* including commercial applications, and to alter it and redistribute it
9+
* freely, subject to the following restrictions:
10+
*
11+
* 1. The origin of this software must not be misrepresented; you must not
12+
* claim that you wrote the original software. If you use this software
13+
* in a product, an acknowledgment in the product documentation would be
14+
* appreciated but is not required.
15+
*
16+
* 2. Altered source versions must be plainly marked as such, and must not
17+
* be misrepresented as being the original software.
18+
*
19+
* 3. This notice may not be removed or altered from any source distribution.
20+
*/
21+
#endregion
22+
23+
using System;
24+
using System.IO;
25+
using System.Text;
26+
using System.Text.RegularExpressions;
27+
28+
namespace Manoli.Utils.CSharpFormat
29+
{
30+
/// <summary>
31+
/// Provides a base class for formatting languages similar to C.
32+
/// </summary>
33+
public abstract class CLikeFormat : CodeFormat
34+
{
35+
/// <summary>
36+
/// Regular expression string to match single line and multi-line
37+
/// comments (// and /* */).
38+
/// </summary>
39+
protected override string CommentRegEx
40+
{
41+
get { return @"/\*.*?\*/|//.*?(?=\r|\n)"; }
42+
}
43+
44+
/// <summary>
45+
/// Regular expression string to match string and character literals.
46+
/// </summary>
47+
protected override string StringRegEx
48+
{
49+
get { return @"@?""""|@?"".*?(?!\\).""|''|'.*?(?!\\).'"; }
50+
}
51+
}
52+
}
53+
Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,65 @@
1-
#region Copyright © 2001-2003 Jean-Claude Manoli [[email protected]]
2-
/*
3-
* This software is provided 'as-is', without any express or implied warranty.
4-
* In no event will the author(s) be held liable for any damages arising from
5-
* the use of this software.
6-
*
7-
* Permission is granted to anyone to use this software for any purpose,
8-
* including commercial applications, and to alter it and redistribute it
9-
* freely, subject to the following restrictions:
10-
*
11-
* 1. The origin of this software must not be misrepresented; you must not
12-
* claim that you wrote the original software. If you use this software
13-
* in a product, an acknowledgment in the product documentation would be
14-
* appreciated but is not required.
15-
*
16-
* 2. Altered source versions must be plainly marked as such, and must not
17-
* be misrepresented as being the original software.
18-
*
19-
* 3. This notice may not be removed or altered from any source distribution.
20-
*/
21-
#endregion
22-
namespace Manoli.Utils.CSharpFormat
23-
{
24-
using System;
25-
using System.IO;
26-
using System.Text;
27-
using System.Text.RegularExpressions;
28-
29-
/// <summary>
30-
/// Generates color-coded HTML 4.01 from C# source code.
31-
/// </summary>
32-
public class CSharpFormat : CLikeFormat
33-
{
34-
/// <summary>
35-
/// The list of C# keywords.
36-
/// </summary>
37-
protected override string Keywords
38-
{
39-
get
40-
{
41-
return "abstract as base bool break byte case catch char "
42-
+ "checked class const continue decimal default delegate do double else "
43-
+ "enum event explicit extern false finally fixed float for foreach goto "
44-
+ "if implicit in int interface internal is lock long namespace new null "
45-
+ "object operator out override partial params private protected public readonly "
46-
+ "ref return sbyte sealed short sizeof stackalloc static string struct "
47-
+ "switch this throw true try typeof uint ulong unchecked unsafe ushort "
48-
+ "using value virtual void volatile where while yield";
49-
}
50-
}
51-
52-
/// <summary>
53-
/// The list of C# preprocessors.
54-
/// </summary>
55-
protected override string Preprocessors
56-
{
57-
get
58-
{
59-
return "#if #else #elif #endif #define #undef #warning "
60-
+ "#error #line #region #endregion #pragma";
61-
}
62-
}
63-
}
64-
}
65-
1+
#region Copyright © 2001-2003 Jean-Claude Manoli [[email protected]]
2+
/*
3+
* This software is provided 'as-is', without any express or implied warranty.
4+
* In no event will the author(s) be held liable for any damages arising from
5+
* the use of this software.
6+
*
7+
* Permission is granted to anyone to use this software for any purpose,
8+
* including commercial applications, and to alter it and redistribute it
9+
* freely, subject to the following restrictions:
10+
*
11+
* 1. The origin of this software must not be misrepresented; you must not
12+
* claim that you wrote the original software. If you use this software
13+
* in a product, an acknowledgment in the product documentation would be
14+
* appreciated but is not required.
15+
*
16+
* 2. Altered source versions must be plainly marked as such, and must not
17+
* be misrepresented as being the original software.
18+
*
19+
* 3. This notice may not be removed or altered from any source distribution.
20+
*/
21+
#endregion
22+
namespace Manoli.Utils.CSharpFormat
23+
{
24+
using System;
25+
using System.IO;
26+
using System.Text;
27+
using System.Text.RegularExpressions;
28+
29+
/// <summary>
30+
/// Generates color-coded HTML 4.01 from C# source code.
31+
/// </summary>
32+
public class CSharpFormat : CLikeFormat
33+
{
34+
/// <summary>
35+
/// The list of C# keywords.
36+
/// </summary>
37+
protected override string Keywords
38+
{
39+
get
40+
{
41+
return "abstract as base bool break byte case catch char "
42+
+ "checked class const continue decimal default delegate do double else "
43+
+ "enum event explicit extern false finally fixed float for foreach goto "
44+
+ "if implicit in int interface internal is lock long namespace new null "
45+
+ "object operator out override partial params private protected public readonly "
46+
+ "ref return sbyte sealed short sizeof stackalloc static string struct "
47+
+ "switch this throw true try typeof uint ulong unchecked unsafe ushort "
48+
+ "using value virtual void volatile where while yield";
49+
}
50+
}
51+
52+
/// <summary>
53+
/// The list of C# preprocessors.
54+
/// </summary>
55+
protected override string Preprocessors
56+
{
57+
get
58+
{
59+
return "#if #else #elif #endif #define #undef #warning "
60+
+ "#error #line #region #endregion #pragma";
61+
}
62+
}
63+
}
64+
}
65+

0 commit comments

Comments
 (0)