public AudioMixerEffectView()
 {
   // ISSUE: object of a compiler-generated type is created
   // ISSUE: variable of a compiler-generated type
   AudioMixerEffectView.\u003CAudioMixerEffectView\u003Ec__AnonStorey62 viewCAnonStorey62 = new AudioMixerEffectView.\u003CAudioMixerEffectView\u003Ec__AnonStorey62();
   this.m_SharedPlugin = new AudioMixerEffectPlugin();
   this.m_CustomEffectGUIs = new Dictionary<string, IAudioEffectPluginGUI>();
   // ISSUE: explicit constructor call
   base.\u002Ector();
   this.m_EffectDragging = new AudioMixerEffectView.EffectDragging();
   // ISSUE: reference to a compiler-generated field
   viewCAnonStorey62.pluginType = typeof (IAudioEffectPluginGUI);
   foreach (Assembly assembly in AppDomain.CurrentDomain.GetAssemblies())
   {
     try
     {
       // ISSUE: reference to a compiler-generated method
       foreach (System.Type type in ((IEnumerable<System.Type>) assembly.GetTypes()).Where<System.Type>(new Func<System.Type, bool>(viewCAnonStorey62.\u003C\u003Em__A9)))
         this.RegisterCustomGUI(Activator.CreateInstance(type) as IAudioEffectPluginGUI);
     }
     catch (Exception ex)
     {
     }
   }
 }
Exemple #2
0
        public AudioMixerEffectView()
        {
            this.m_EffectDragging = new AudioMixerEffectView.EffectDragging();
            Type pluginType = typeof(IAudioEffectPluginGUI);

            Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies();
            for (int i = 0; i < assemblies.Length; i++)
            {
                Assembly assembly = assemblies[i];
                try
                {
                    Type[] types = assembly.GetTypes();
                    foreach (Type current in
                             from t in types
                             where !t.IsAbstract && pluginType.IsAssignableFrom(t)
                             select t)
                    {
                        this.RegisterCustomGUI(Activator.CreateInstance(current) as IAudioEffectPluginGUI);
                    }
                }
                catch (Exception)
                {
                }
            }
        }
 public AudioMixerEffectView()
 {
     // ISSUE: object of a compiler-generated type is created
     // ISSUE: variable of a compiler-generated type
     AudioMixerEffectView.\u003CAudioMixerEffectView\u003Ec__AnonStorey62 viewCAnonStorey62 = new AudioMixerEffectView.\u003CAudioMixerEffectView\u003Ec__AnonStorey62();
     this.m_SharedPlugin     = new AudioMixerEffectPlugin();
     this.m_CustomEffectGUIs = new Dictionary <string, IAudioEffectPluginGUI>();
     // ISSUE: explicit constructor call
     base.\u002Ector();
     this.m_EffectDragging = new AudioMixerEffectView.EffectDragging();
     // ISSUE: reference to a compiler-generated field
     viewCAnonStorey62.pluginType = typeof(IAudioEffectPluginGUI);
     foreach (Assembly assembly in AppDomain.CurrentDomain.GetAssemblies())
     {
         try
         {
             // ISSUE: reference to a compiler-generated method
             foreach (System.Type type in ((IEnumerable <System.Type>)assembly.GetTypes()).Where <System.Type>(new Func <System.Type, bool>(viewCAnonStorey62.\u003C\u003Em__A9)))
             {
                 this.RegisterCustomGUI(Activator.CreateInstance(type) as IAudioEffectPluginGUI);
             }
         }
         catch (Exception ex)
         {
         }
     }
 }
		public AudioMixerEffectView()
		{
			this.m_EffectDragging = new AudioMixerEffectView.EffectDragging();
			Type pluginType = typeof(IAudioEffectPluginGUI);
			Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies();
			for (int i = 0; i < assemblies.Length; i++)
			{
				Assembly assembly = assemblies[i];
				try
				{
					Type[] types = assembly.GetTypes();
					foreach (Type current in 
						from t in types
						where !t.IsAbstract && pluginType.IsAssignableFrom(t)
						select t)
					{
						this.RegisterCustomGUI(Activator.CreateInstance(current) as IAudioEffectPluginGUI);
					}
				}
				catch (Exception)
				{
				}
			}
		}