Exemple #1
0
        public void InitializeExtension(MyExtensionContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            this.context = context;
            this.Initialize();
        }
Exemple #2
0
        public void InitializeExtension(MyExtensionContext context)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            this.context = context;
            this.Initialize();
        }
Exemple #3
0
 public MyExtension()
 {
     MyExtensionContext myExtensionContext = new MyExtensionContext(this.container);
     this.InitializeExtension(myExtensionContext);
 }
Exemple #4
0
#pragma warning restore 649

        public MyExtension()
        {
            MyExtensionContext myExtensionContext = new MyExtensionContext(this.container);

            this.InitializeExtension(myExtensionContext);
        }