This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Your.Namespace.Here | |
{ | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Threading; | |
using System.Threading.Tasks; | |
public static class ExceptionListenerExtensions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
Caesura.System.IO = function (args) { | |
args = args || {}; | |
let hidden = Caesura.System.class(args, "Caesura.System.IO"); | |
let reveal = hidden.reveal; | |
reveal.outputMethod = undefined; | |
reveal.defaultHTMLoutputElementId = args.defaultHTMLoutputElementId || "CaesuraIO"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Caesura.System.Collections = {}; | |
Caesura.System.Collections.List = function (args) { | |
var self = Caesura.System.class(args, "Caesura.System.Collections.List"); | |
var public = self.public; | |
self.addArgs = function (col) { | |
var newcol = []; | |
if (col === undefined || col.collection === undefined) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Project = {}; | |
var newclass = function (args) { | |
args.public = {}; | |
args.extends = function (classname) { | |
args.public = classname(args); | |
args.base = Object.assign({}, args); | |
return args; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var MyProject = {}; | |
var newobj = function (args) { | |
return { | |
public: {}, | |
private: args || {} | |
}; | |
}; | |
var extendsfrom = function (classname, args) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
class MainClass | |
{ | |
public static void Main (string[] args) | |
{ | |
var p = new Program(); | |
p.Run(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Numbers | |
{ | |
public static class GenericNumbers | |
{ | |
[Flags] | |
public enum NumberTypes | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Caesura.Additions | |
{ | |
using System.Runtime.CompilerServices; | |
using Caesura.Additions.Contracts; | |
public static class Division | |
{ |