예제 #1
0
 public static IPackageContainer Create()
 {
     lock (syncRoot)
     {
         if (current != null)
         {
             throw new InvalidOperationException("Only one pacakge container can be created.");
         }
         current = new PackageContainer();
     }
     return current;
 }
예제 #2
0
 public IgniteRouteHandler(IPackageContainerInternal container)
 {
     this.container = container;
 }