protected void AddStaticConstructorPostStageFragment(ConstructorStage s, FragmentContext f)
        {
            if (!StaticConstructorInitializerFragments.ContainsKey(s))
            {
                StaticConstructorInitializerFragments[s] = new StaticConstructorStagePrePostFragments(s);
            }

            StaticConstructorInitializerFragments[s].PostStageFragments.Add(f);
        }
Beispiel #2
0
        private void AddStaticConstructorPostStageFragment(ConstructorStage s, Func <string> f)
        {
            if (!StaticConstructorInitializerFragments.ContainsKey(s))
            {
                StaticConstructorInitializerFragments[s] = new StaticConstructorStagePrePostFragments(s);
            }

            StaticConstructorInitializerFragments[s].PostStageFragments.Add(f);
        }