static RuntimeGeneratedTypesHelper()
 {
     RuntimeGeneratedTypesHelper.blendAssemblies               = new List <IAssembly>();
     RuntimeGeneratedTypesHelper.controlEditingAssemblies      = new List <IAssembly>();
     RuntimeGeneratedTypesHelper.assembliesInitialized         = new Dictionary <IPlatformTypes, HashSet <IAssembly> >();
     RuntimeGeneratedTypesHelper.RuntimeGeneratedTypesAssembly = RuntimeGeneratedTypesHelper.CreateNewAssembly();
     RuntimeGeneratedTypesHelper.BlendDefaultAssembly          = new Microsoft.Expression.DesignModel.Metadata.RuntimeAssembly(RuntimeGeneratedTypesHelper.RuntimeGeneratedTypesAssembly.Assembly, AssemblySource.Unknown, false);
     RuntimeGeneratedTypesHelper.blendAssemblies.Add(RuntimeGeneratedTypesHelper.BlendDefaultAssembly);
 }
 public static void EnsureControlEditingDesignTypeAssembly(IPlatformTypes platformMetadata)
 {
     if (RuntimeGeneratedTypesHelper.controlEditingDesignTypeAssembly == null)
     {
         RuntimeGeneratedTypesHelper.controlEditingDesignTypeAssembly = RuntimeGeneratedTypesHelper.CreateNewAssembly();
         RuntimeGeneratedTypesHelper.BlendControlEditingAssembly      = new Microsoft.Expression.DesignModel.Metadata.RuntimeAssembly(RuntimeGeneratedTypesHelper.controlEditingDesignTypeAssembly.Assembly, AssemblySource.Unknown, false);
         RuntimeGeneratedTypesHelper.blendAssemblies.Add(RuntimeGeneratedTypesHelper.BlendControlEditingAssembly);
         RuntimeGeneratedTypesHelper.controlEditingAssemblies.Add(RuntimeGeneratedTypesHelper.BlendControlEditingAssembly);
         RuntimeGeneratedTypesHelper.RegisterRuntimeAssemblies(platformMetadata);
     }
 }