##// END OF EJS Templates
Working on Unity xml configuration
Working on Unity xml configuration

File last commit:

r271:d4d437ec4483 v3
r271:d4d437ec4483 v3
Show More
Program.cs
58 lines | 1.1 KiB | text/x-csharp | CSharpLexer
cin
Working on Unity xml configuration
r267 using System;
cin
Implemented typereference parser
r268 using System.Diagnostics;
using Implab.Diagnostics;
cin
Working on Unity xml configuration
r267 using Implab.ServiceHost.Unity;
cin
JsonXmlReader performance tuning...
r229 using Implab.Xml;
cin
Working on Unity xml configuration
r267 using Unity;
using Unity.Injection;
cin
JsonXmlReader performance tuning...
r229
namespace Implab.Playground {
cin
Working on Unity xml configuration
r267
public class Foo {
cin
Working on Unity container xml configuration
r269
public class Bar {
}
cin
Working on Unity container xml configuration
r270 public string Name { get; set; }
cin
Working on Unity xml configuration
r267 public int IntValue { get; set; }
public string StringValue { get; set; }
}
public class Container<T> {
public Container() {
}
public Container(T instance) {
Instance = instance;
}
public T Instance { get; set; }
cin
Working on Unity container xml configuration
r270
public void SetInstance(T value) {
Instance = value;
}
cin
Working on Unity xml configuration
r267 }
cin
Adde workaround to the behaviour of the logical operations stack in conjuction...
r255
cin
JsonXmlReader performance tuning...
r229 public class Program {
cin
Adde workaround to the behaviour of the logical operations stack in conjuction...
r255 static void Main(string[] args) {
cin
Working on Unity xml configuration
r267 var container = new UnityContainer();
cin
Adde workaround to the behaviour of the logical operations stack in conjuction...
r255
cin
Working on Unity xml configuration
r271 var ctx = new ConfigurationContext(container);
cin
Working on Unity container xml configuration
r269 var conf = SerializationHelpers.DeserializeFromFile<ContainerElement>("data/sample.xml");
cin
Improved AsyncQueue...
r233
cin
Working on Unity xml configuration
r271 ctx.Visit(conf);
cin
Working on Unity container xml configuration
r270 Console.WriteLine($"Registrations: {conf.Items.Count}");
cin
Implemented typereference parser
r268
cin
Improved AsyncQueue...
r233 }
cin
JsonXmlReader performance tuning...
r229
}
}