本文整理匯總了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;
}
}
}