/// <summary> /// Initializes a new instance of the <see cref="CSharpExternBody"/> class. /// </summary> /// <param name="context">The creation context.</param> /// <param name="parentFeature">The parent feature.</param> /// <param name="source">The Easly body from which the C# body is created.</param> protected CSharpExternBody(ICSharpContext context, ICSharpFeature parentFeature, IExternBody source) : base(context, parentFeature, source) { }
/// <summary> /// Creates a new C# body. /// </summary> /// <param name="context">The creation context.</param> /// <param name="parentFeature">The parent feature.</param> /// <param name="source">The Easly body from which the C# body is created.</param> public static ICSharpExternBody Create(ICSharpContext context, ICSharpFeature parentFeature, IExternBody source) { return(new CSharpExternBody(context, parentFeature, source)); }