本文整理汇总了C#中System.Web.UI.ControlBuilder.GetResourceKey方法的典型用法代码示例。如果您正苦于以下问题:C# ControlBuilder.GetResourceKey方法的具体用法?C# ControlBuilder.GetResourceKey怎么用?C# ControlBuilder.GetResourceKey使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类System.Web.UI.ControlBuilder
的用法示例。
在下文中一共展示了ControlBuilder.GetResourceKey方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ObjectPersistData
public ObjectPersistData(ControlBuilder builder, IDictionary builtObjects) {
_objectType = builder.ControlType;
_localize = builder.Localize;
_resourceKey = builder.GetResourceKey();
_builtObjects = builtObjects;
if (typeof(ICollection).IsAssignableFrom(_objectType)) {
_isCollection = true;
}
_collectionItems = new ArrayList();
_propertyTableByFilter = new HybridDictionary(true);
_propertyTableByProperty = new HybridDictionary(true);
_allPropertyEntries = new ArrayList();
_eventEntries = new ArrayList();
foreach (PropertyEntry entry in builder.SimplePropertyEntries) {
AddPropertyEntry(entry);
}
foreach (PropertyEntry entry in builder.ComplexPropertyEntries) {
AddPropertyEntry(entry);
}
foreach (PropertyEntry entry in builder.TemplatePropertyEntries) {
AddPropertyEntry(entry);
}
foreach (PropertyEntry entry in builder.BoundPropertyEntries) {
AddPropertyEntry(entry);
}
foreach (EventEntry entry in builder.EventEntries) {
AddEventEntry(entry);
}
}