Exemplo n.º 1
0
 public void AddContainer(Container container)
 {
     if (!containers.TryAdd(container.Handle, container))
     {
         throw new WardenException("Could not add container '{0}' to collection!", container);
     }
 }
Exemplo n.º 2
0
 public MkdirCommand(Container container, string[] arguments)
     : base(container, arguments)
 {
     if (base.arguments.IsNullOrEmpty())
     {
         throw new ArgumentException("mkdir command requires at least one argument.");
     }
 }
Exemplo n.º 3
0
 public InfoBuilder(Container container)
 {
     if (container == null)
     {
         throw new ArgumentNullException("container");
     }
     this.container = container;
 }
Exemplo n.º 4
0
 public void DestroyContainer(Container container)
 {
     DestroyContainer(container.Handle);
 }