Skip to content

Instantly share code, notes, and snippets.

Anu Viswan anuviswan

Block or report user

Report or block anuviswan

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@anuviswan
anuviswan / UnityBootstrapper.cs
Created Oct 14, 2018
Bootstrapper for Caliburn.Micro with Unity as IoC
View UnityBootstrapper.cs
public class Bootstrapper : BootstrapperBase
{
private IUnityContainer _unityContainer;
#region Constructor
public Bootstrapper()
{
Initialize();
}
#endregion
@anuviswan
anuviswan / RoundedRectangleAnnotation.cs
Created Aug 29, 2018
RectangleAnnotation With support for RoundedCorner in OxyPlot
View RoundedRectangleAnnotation.cs
// --------------------------------------------------------------------------------------------------------------------
// <summary>
// Represents an annotation that shows a rounded rectangle. Forked from OxyPlot Source.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
using System;
namespace OxyPlot.Annotations
{
@anuviswan
anuviswan / BenchmarkSpan.cs
Last active Mar 16, 2018
This class benchmarks usage of Span instead of string when parsing sub-string. This is a demonstrative class used in the blog post at www.bytelanguage.net.
View BenchmarkSpan.cs
public class Program
{
static void Main()
{
BenchmarkRunner.Run<BenchmarkDemo>();
}
}
[MemoryDiagnoser]
public class BenchmarkDemo
@anuviswan
anuviswan / MEFBootstrapper.cs
Created Feb 6, 2018
Bootstrapper for Caliburn.Micro with MEF as IoC
View MEFBootstrapper.cs
public class MEFBootstrapper:BootstrapperBase
{
#region Private Variables
private CompositionContainer _Container;
#endregion
#region Constructor
public MEFBootstrapper()
{
Initialize();
@anuviswan
anuviswan / SCBootstrapper.cs
Last active Sep 4, 2019
Bootstrapper Class for Caliburn.Micro with SimpleContainer as IoC Container
View SCBootstrapper.cs
public class SCBootstrapper:BootstrapperBase
{
private readonly SimpleContainer _Container = new SimpleContainer();
public SCBootstrapper()
{
Initialize();
}
protected override void Configure()
{
You can’t perform that action at this time.