Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (33 sloc) 1.282 kb
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Installer.Model
{
public interface IMeta
{
string Identifier { get; }
int NumberOfMetaFields { get; }
bool IsAValidField(int index, string field, bool first);
bool IsAValidField(int index, int field, bool first);
bool FieldIsInt(int index);
/// <summary>
/// Adds a meta field to the appropriate index of our meta type.
/// Throws an exception if field type is not supported.
/// </summary>
/// <param name="index">index to be added</param>
/// <param name="field">integer to be added</param>
void AddMetaField(int index, int field);
/// <summary>
/// Adds a meta field to the appropriate index of our meta type.
/// Throws an exception if field type is not supported.
/// </summary>
/// <param name="index">index to be added</param>
/// <param name="field">content of field</param>
void AddMetaField(int index, string field);
/// <summary>
/// Tells the parser whether or not this meta type should be associated with a statement.
/// </summary>
bool IsIndependent { get; }
}
}
Jump to Line
Something went wrong with that request. Please try again.