/// <summary> /// Add a target techology /// </summary> /// <param name="type"></param> /// <param name="name"></param> public void AddTargetTechnology(string type, string name) { TargetTechnology tt = new TargetTechnology { Type = type, Name = name }; TargetTechnologies.Add(tt); }
/// <summary> /// Check if the ICodeEmitter supports the specified <paramref name="targetTechnologies"/>. /// </summary> /// <param name="targetTechnologies">An array of <see cref="TargetTechnology"/> instances</param> /// <returns></returns> public abstract bool CanEmitCode(TargetTechnology[] targetTechnologies);