annotate Tools/DocGen/Content/Doc/Reflection/ObjectFactory.htm @ 6:11b6da379593

Исправлена странная ошибка при использовании OfType<...>().Where(...)
author cin
date Mon, 05 Dec 2016 05:50:52 +0300
parents f990fcb411a9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
1 <p class="j">
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
2 The following example shows how to create objects of different types coming from the same data source.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
3 </p>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
4 <p class="j">
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
5 Typically, to create an object, BLToolkit calls the <i>TypeAccessor.CreateInstanceEx</i> method.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
6 First of all, this method verifies if there is an object factory (<i>ObjectFactory</i> property)
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
7 associated with the creating objects type.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
8 If the property value is not null, it is used to create an object.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
9 </p>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
10 <p class="j">
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
11 The <i>ObjectFactory</i> property can be assigned explicitly at any time or
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
12 by decorating the target class with the <i>ObjectFactory</i> attribute.
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
13 </p>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
14
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
15 ObjectFactory.cs
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
16 <% ..\..\..\HowTo\Reflection\ObjectFactory.cs %>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
17 App.config
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
18 <% Doc\Data\App.config %>
f990fcb411a9 Копия текущей версии из github
cin
parents:
diff changeset
19 <a href="..\Data\CreateSql.htm">Create.sql script</a>