Пример #1
0
 /// <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);
 }
Пример #2
0
 /// <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);