コード例 #1
0
        public void BuildFactory(Faction owner, Product product)
        {
            Factory factory = new Factory(this, owner, product, 1);

            Factories.Add(factory);
        }
コード例 #2
0
 protected override void BuildServiceInfoFactories()
 {
     Factories.Clear();
     Factories.Add(new TestServiceInfoFactory());
 }
コード例 #3
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="MemoryPlus" /> class.
 /// </summary>
 /// <param name="proc">The process.</param>
 /// <remarks>
 ///     Created 2012-02-15
 /// </remarks>
 public MemoryPlus(Process proc) : base(proc)
 {
     Factories.Add(Detours = new DetourManager(this));
     Factories.Add(Hooks   = new HookManager());
 }