/// <summary> /// Initializes a new instance of the <see cref="ZincAsExIdTiasBoxBase"/> class /// with a given initial <see cref="IZincAnnotations"/>, <see cref="IZincExp"/>, <see cref="IZincIdent"/> and /// <see cref="IZincTypeInstExprAndIdent"/> instances. /// </summary> /// <param name='anns'> /// The given initial <see cref="IZincAnnotations"/> instance. /// </param> /// <param name='expr'> /// The given initial <see cref="IZincExp"/> instance. /// </param> /// <param name='id'> /// The given initial <see cref="IZincIdent"/> instance. /// </param> /// <param name='tias'> /// The given initial <see cref="IZincTypeInstExprAndIdent"/> instances. /// </param> protected ZincAsExIdTiasBoxBase(IZincAnnotations anns, IZincExp expr, IZincIdent id, IList<IZincTypeInstExprAndIdent> tias) : base(id,expr) { this.Annotations = anns; this.typeInstExpressions = tias; }
/// <summary> /// Initializes a new instance of the <see cref="ZincAsExIdTiasBoxBase"/> class /// with a given initial <see cref="IZincAnnotations"/>, <see cref="IZincExp"/>, <see cref="IZincIdent"/> and /// <see cref="IZincTypeInstExprAndIdent"/> instances. /// </summary> /// <param name='anns'> /// The given initial <see cref="IZincAnnotations"/> instance. /// </param> /// <param name='expr'> /// The given initial <see cref="IZincExp"/> instance. /// </param> /// <param name='id'> /// The given initial <see cref="IZincIdent"/> instance. /// </param> /// <param name='tias'> /// The given initial <see cref="IZincTypeInstExprAndIdent"/> instances. /// </param> protected ZincAsExIdTiasBoxBase(IZincAnnotations anns, IZincExp expr, IZincIdent id, IEnumerable<IZincTypeInstExprAndIdent> tias) : this(anns,expr,id,(IList<IZincTypeInstExprAndIdent>)tias.ToArray()) { }
/// <summary> /// Initializes a new instance of the <see cref="ZincAsExIdTiasBoxBase"/> class /// with a given initial <see cref="IZincAnnotations"/>, <see cref="IZincExp"/>, <see cref="IZincIdent"/> /// instances. /// </summary> /// <param name='anns'> /// The given initial <see cref="IZincAnnotations"/> instance. /// </param> /// <param name='expr'> /// The given initial <see cref="IZincExp"/> instance. /// </param> /// <param name='id'> /// The given initial <see cref="IZincIdent"/> instance. /// </param> protected ZincAsExIdTiasBoxBase(IZincAnnotations anns, IZincExp expr, IZincIdent id) : base(id,expr) { this.Annotations = anns; }
/// <summary> /// Initializes a new instance of the <see cref="ZincExIdBoxBase"/> class with a given initial /// <see cref="IZincIdent"/> instances. /// </summary> /// <param name='ident'> /// The initial <see cref="IZincIdent"/> instance to store. /// </param> protected ZincIdBoxBase(IZincIdent ident) { this.Ident = ident; }
/// <summary> /// Initializes a new instance of the <see cref="ZincAsExIdTiasBoxBase"/> class /// with a given initial <see cref="IZincAnnotations"/>, <see cref="IZincExp"/>, <see cref="IZincIdent"/> and /// <see cref="IZincTypeInstExprAndIdent"/> instances. /// </summary> /// <param name='anns'> /// The given initial <see cref="IZincAnnotations"/> instance. /// </param> /// <param name='expr'> /// The given initial <see cref="IZincExp"/> instance. /// </param> /// <param name='id'> /// The given initial <see cref="IZincIdent"/> instance. /// </param> /// <param name='tias'> /// The given initial <see cref="IZincTypeInstExprAndIdent"/> instances. /// </param> protected ZincAsExIdTiasBoxBase(IZincAnnotations anns, IZincExp expr, IZincIdent id, params IZincTypeInstExprAndIdent[] tias) : this(anns,expr,id,(IList<IZincTypeInstExprAndIdent>)tias) { }
/// <summary> /// Initializes a new instance of the <see cref="ZincExIdBoxBase"/> class with given initial /// <see cref="IZincIdent"/> and <see cref="IZincExp"/> instances. /// </summary> /// <param name='ident'> /// The initial <see cref="IZincIdent"/> instance to store. /// </param> /// <param name='expression'> /// The initial <see cref="IZincExp"/> instance to store. /// </param> protected ZincExIdBoxBase(IZincIdent ident, IZincExp expression) : base(ident) { this.expression = expression; }
/// <summary> /// Replaces all the instances stored in the given <see cref="T:Generic.IDictionary`2"/> /// stored as keys to the corresponding values and returns this instance. /// </summary> /// <param name='identMap'> /// A <see cref="T:IDictionary`2"/> that contains pairs if /// <see cref="IZincIdent"/> instances. The keys should be replaced by the values of the dictionary. /// </param> /// <returns> /// This instance, for cascading purposes. /// </returns> public override IZincIdentReplaceContainer Replace(IDictionary<IZincIdent,IZincIdent> identMap) { this.ident = this.ident.Replace (identMap) as ZincIdent; return this; }
/// <summary> /// Replaces all the instances stored in the given <see cref="T:Generic.IDictionary`2"/> /// stored as keys to the corresponding values and returns this instance. /// </summary> /// <param name='identMap'> /// A <see cref="T:IDictionary`2"/> that contains pairs if /// <see cref="IZincIdent"/> instances. The keys should be replaced by the values of the dictionary. /// </param> /// <returns> /// This instance, for cascading purposes. /// </returns> public override IZincIdentReplaceContainer Replace(IDictionary <IZincIdent, IZincIdent> identMap) { this.ident = this.ident.Replace(identMap) as ZincIdent; return(this); }
/// <summary> /// Initializes a new instance of the <see cref="ZincExIdBoxBase"/> class with a given initial /// <see cref="IZincIdent"/> instance. /// </summary> /// <param name='ident'> /// The initial <see cref="IZincIdent"/> instance to store. /// </param> protected ZincExIdBoxBase(IZincIdent ident) : base(ident) { }
/// <summary> /// Initializes a new instance of the <see cref="ZincAsExIdTiasBoxBase"/> class /// with a given initial <see cref="IZincAnnotations"/>, <see cref="IZincExp"/>, <see cref="IZincIdent"/> /// instances. /// </summary> /// <param name='anns'> /// The given initial <see cref="IZincAnnotations"/> instance. /// </param> /// <param name='expr'> /// The given initial <see cref="IZincExp"/> instance. /// </param> /// <param name='id'> /// The given initial <see cref="IZincIdent"/> instance. /// </param> protected ZincAsExIdTiasBoxBase(IZincAnnotations anns, IZincExp expr, IZincIdent id) : base(id, expr) { this.Annotations = anns; }
/// <summary> /// Initializes a new instance of the <see cref="ZincAsExIdTiasBoxBase"/> class /// with a given initial <see cref="IZincAnnotations"/>, <see cref="IZincExp"/>, <see cref="IZincIdent"/> and /// <see cref="IZincTypeInstExprAndIdent"/> instances. /// </summary> /// <param name='anns'> /// The given initial <see cref="IZincAnnotations"/> instance. /// </param> /// <param name='expr'> /// The given initial <see cref="IZincExp"/> instance. /// </param> /// <param name='id'> /// The given initial <see cref="IZincIdent"/> instance. /// </param> /// <param name='tias'> /// The given initial <see cref="IZincTypeInstExprAndIdent"/> instances. /// </param> protected ZincAsExIdTiasBoxBase(IZincAnnotations anns, IZincExp expr, IZincIdent id, IEnumerable <IZincTypeInstExprAndIdent> tias) : this(anns, expr, id, (IList <IZincTypeInstExprAndIdent>)tias.ToArray()) { }
/// <summary> /// Initializes a new instance of the <see cref="ZincAsExIdTiasBoxBase"/> class /// with a given initial <see cref="IZincAnnotations"/>, <see cref="IZincExp"/>, <see cref="IZincIdent"/> and /// <see cref="IZincTypeInstExprAndIdent"/> instances. /// </summary> /// <param name='anns'> /// The given initial <see cref="IZincAnnotations"/> instance. /// </param> /// <param name='expr'> /// The given initial <see cref="IZincExp"/> instance. /// </param> /// <param name='id'> /// The given initial <see cref="IZincIdent"/> instance. /// </param> /// <param name='tias'> /// The given initial <see cref="IZincTypeInstExprAndIdent"/> instances. /// </param> protected ZincAsExIdTiasBoxBase(IZincAnnotations anns, IZincExp expr, IZincIdent id, params IZincTypeInstExprAndIdent[] tias) : this(anns, expr, id, (IList <IZincTypeInstExprAndIdent>)tias) { }
/// <summary> /// Initializes a new instance of the <see cref="ZincAsExIdTiasBoxBase"/> class /// with a given initial <see cref="IZincAnnotations"/>, <see cref="IZincExp"/>, <see cref="IZincIdent"/> and /// <see cref="IZincTypeInstExprAndIdent"/> instances. /// </summary> /// <param name='anns'> /// The given initial <see cref="IZincAnnotations"/> instance. /// </param> /// <param name='expr'> /// The given initial <see cref="IZincExp"/> instance. /// </param> /// <param name='id'> /// The given initial <see cref="IZincIdent"/> instance. /// </param> /// <param name='tias'> /// The given initial <see cref="IZincTypeInstExprAndIdent"/> instances. /// </param> protected ZincAsExIdTiasBoxBase(IZincAnnotations anns, IZincExp expr, IZincIdent id, IList <IZincTypeInstExprAndIdent> tias) : base(id, expr) { this.Annotations = anns; this.typeInstExpressions = tias; }