/// <summary> /// /// </summary> /// <param name="field">The field the this field should be based on.</param> /// <param name="limit">The limit of the edge.</param> public InstagramEdgeField(InstagramField field, int limit) : base(field.Name) { Limit = limit; Fields = new InstagramFieldList(); }
/// <summary> /// Initializes a new field with the name of <paramref name="field"/> and based on the specified <paramref name="fields"/>. /// </summary> /// <param name="field">The field the this field should be based on.</param> /// <param name="fields">The fields that should be requested from the edge.</param> public InstagramEdgeField(InstagramField field, InstagramFieldList fields) : base(field.Name) { Fields = fields ?? new InstagramFieldList(); }
/// <summary> /// Initializes a new edge field based on the specified <paramref name="field"/>. /// </summary> /// <param name="field">The field.</param> public InstagramEdgeField(InstagramField field) : base(field.Name) { Fields = new InstagramFieldList(); }
/// <summary> /// Initializes a new edge field based on the specified <paramref name="name"/>, <paramref name="limit"/> and <paramref name="fields"/>. /// </summary> /// <param name="name">The name of the edge field.</param> /// <param name="limit">The limit of the edge.</param> /// <param name="fields">The fields that should be requested from the edge.</param> public InstagramEdgeField(string name, int limit, InstagramFieldList fields) : base(name) { Limit = limit; Fields = fields ?? new InstagramFieldList(); }
/// <summary> /// Initializes a new edge field based on the specified <paramref name="name"/> and <paramref name="fields"/>. /// </summary> /// <param name="name">The name of the edge field.</param> /// <param name="fields">The fields that should be requested from the edge.</param> public InstagramEdgeField(string name, InstagramFieldList fields) : base(name) { Fields = fields ?? new InstagramFieldList(); }
/// <summary> /// Initializes a new field with the specified <paramref name="name"/>. /// </summary> /// <param name="name">The name of the field.</param> public InstagramEdgeField(string name) : base(name) { Fields = new InstagramFieldList(); }