本文整理汇总了C#中System.Boolean.CopyTo方法的典型用法代码示例。如果您正苦于以下问题:C# Boolean.CopyTo方法的具体用法?C# Boolean.CopyTo怎么用?C# Boolean.CopyTo使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Boolean
的用法示例。
在下文中一共展示了Boolean.CopyTo方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: CreateControlsProperty
public CreateControlsProperty(
DataSession session,
String NameClass,
String NameProp,
String PropertyCaption,
Int32 Id,
Int32 IdClass,
List<object> items,
Boolean[] checkSettingHtml
)
{
this.session = session;
this.Id = Id;
this.NameClass = NameClass;
if (NameProp.IndexOf("-") == -1)
this.NameProperty = NameProp;
else
this.NameProperty = NameProp.Substring(0, NameProp.IndexOf("-"));
this.HTMLPropertyCaption = PropertyCaption;
this.NamePropertyItems = items;
this.IdClass = IdClass;
this.NameTable = session[NameClass].Class.DataTable;
checkSettingHtml.CopyTo(this.checkSettingHtml, 0);
if (!this.checkSettingHtml[9])
this.type = session[NameClass].Class.AllProperties.Need(this.NameProperty).DataTypeName;
else
{
this.type = "string";
if (NameProp.IndexOf("-") == -1)
AssocClass = session[NameClass].Class.AllProperties.Need(NameProperty).Association.Refs[0].RefClass.Name;
else
{
AssocClass = session[NameClass].Class.AllProperties.Need(NameProperty).Association.Refs.Need(session[NameProp.Substring(NameProp.IndexOf("-") + 1)].Class).RefClass.Name;
}
}
}