本文整理汇总了C#中CollectionChangeEventHandler类的典型用法代码示例。如果您正苦于以下问题:C# CollectionChangeEventHandler类的具体用法?C# CollectionChangeEventHandler怎么用?C# CollectionChangeEventHandler使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
CollectionChangeEventHandler类属于命名空间,在下文中一共展示了CollectionChangeEventHandler类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: QuestionSelectionModeData
public QuestionSelectionModeData()
{
this.InitClass();
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例2: Map_Info_Tables
public Map_Info_Tables()
{
InitClass();
CollectionChangeEventHandler schemaChangedHandler = new CollectionChangeEventHandler(SchemaChanged);
Tables.CollectionChanged += schemaChangedHandler;
Relations.CollectionChanged += schemaChangedHandler;
}
示例3: VoterStatisticsData
public VoterStatisticsData()
{
this.InitClass();
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例4: NSurveyQuestion
public NSurveyQuestion()
{
this.InitClass();
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例5: RegularExpressionData
public RegularExpressionData()
{
this.InitClass();
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例6: SurveyEntryQuotaData
public SurveyEntryQuotaData()
{
this.InitClass();
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例7: Map_Features_DataSet
protected Map_Features_DataSet(SerializationInfo info, StreamingContext context) {
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((strSchema != null)) {
DataSet ds = new DataSet();
ds.ReadXmlSchema(new XmlTextReader(new StringReader(strSchema)));
if ((ds.Tables["Features"] != null)) {
Tables.Add(new FeaturesDataTable(ds.Tables["Features"]));
}
if ((ds.Tables["Types"] != null)) {
Tables.Add(new TypesDataTable(ds.Tables["Types"]));
}
DataSetName = ds.DataSetName;
Prefix = ds.Prefix;
Namespace = ds.Namespace;
Locale = ds.Locale;
CaseSensitive = ds.CaseSensitive;
EnforceConstraints = ds.EnforceConstraints;
Merge(ds, false, MissingSchemaAction.Add);
InitVars();
}
else {
InitClass();
}
GetSerializationData(info, context);
CollectionChangeEventHandler schemaChangedHandler = new CollectionChangeEventHandler(SchemaChanged);
Tables.CollectionChanged += schemaChangedHandler;
Relations.CollectionChanged += schemaChangedHandler;
}
示例8: WebSecurityAddInData
public WebSecurityAddInData()
{
this.InitClass();
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例9: MessageConditionData
public MessageConditionData()
{
this.InitClass();
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例10: dsItem
protected dsItem(SerializationInfo info, StreamingContext context)
{
string s = (string) info.GetValue("XmlSchema", typeof(string));
if (s != null)
{
DataSet dataSet = new DataSet();
dataSet.ReadXmlSchema(new XmlTextReader(new StringReader(s)));
if (dataSet.Tables["Item"] != null)
{
base.Tables.Add(new _ItemDataTable(dataSet.Tables["Item"]));
}
base.DataSetName = dataSet.DataSetName;
base.Prefix = dataSet.Prefix;
base.Namespace = dataSet.Namespace;
base.Locale = dataSet.Locale;
base.CaseSensitive = dataSet.CaseSensitive;
base.EnforceConstraints = dataSet.EnforceConstraints;
base.Merge(dataSet, false, MissingSchemaAction.Add);
this.InitVars();
}
else
{
this.InitClass();
}
base.GetSerializationData(info, context);
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例11: datasourceDataSet
protected datasourceDataSet(SerializationInfo info, StreamingContext context) :
base(info, context, false) {
if ((this.IsBinarySerialized(info, context) == true)) {
this.InitVars(false);
CollectionChangeEventHandler schemaChangedHandler1 = new CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler1;
this.Relations.CollectionChanged += schemaChangedHandler1;
return;
}
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((this.DetermineSchemaSerializationMode(info, context) == SchemaSerializationMode.IncludeSchema)) {
DataSet ds = new DataSet();
ds.ReadXmlSchema(new XmlTextReader(new StringReader(strSchema)));
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
this.Locale = ds.Locale;
this.CaseSensitive = ds.CaseSensitive;
this.EnforceConstraints = ds.EnforceConstraints;
this.Merge(ds, false, MissingSchemaAction.Add);
this.InitVars();
}
else {
this.ReadXmlSchema(new XmlTextReader(new StringReader(strSchema)));
}
this.GetSerializationData(info, context);
CollectionChangeEventHandler schemaChangedHandler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
}
示例12: CSVExportData
public CSVExportData()
{
this.InitClass();
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例13: UnAuthentifiedUserActionData
public UnAuthentifiedUserActionData()
{
this.InitClass();
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例14: dsDepartment
public dsDepartment()
{
this.InitClass();
CollectionChangeEventHandler handler = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += handler;
base.Relations.CollectionChanged += handler;
}
示例15: ApplicationInfoDS
public ApplicationInfoDS()
{
base.BeginInit();
this.InitClass();
CollectionChangeEventHandler value = new CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += value;
base.Relations.CollectionChanged += value;
base.EndInit();
}