Beispiel #1
0
    static void Main(string[] args)
    {
        var instance = Instantiator.Instantiate();

        Referent.Refer(instance);
        Console.ReadLine();
    }
Beispiel #2
0
 static void Main(string[] args)
 {
     Instance.Instantiate();
     Referent.Refer(Instance.GetInstance());
     Console.ReadLine();
 }