instantiation
DDD - Aggregate Root - Example Order and OrderLine
I am trying to get my hands dirty learning DDD (by developing a sample eCommerce site with entities like Order, OrderLines, Product, Categories etc).[详细]
2023-01-28 22:15 分类:问答Letting an object decide its class
I\'m sorry I could not come up with a more descriptive title. My problem is the following. Assume that you have two classes A and B and you know that sometimes it may happen that some code tries to in[详细]
2023-01-27 13:01 分类:问答Why can private member variable be changed by class instance?
class TestClass { private string _privateString = \"h开发者_运维问答ello\"; void ChangeData() { TestClass otherTestClass = new TestClass();[详细]
2023-01-26 21:08 分类:问答Create an object in the constructor or at top of the class
which declaration/instantiation is better and WHY ? public class MainWindow { private Test _test; public MainWindow()[详细]
2023-01-26 07:48 分类:问答Polymorphic Explicit Template Instantiation
Have this basic hierarchy: // header class Base { virtual void method() { } virtual ~method() { } }; class Su开发者_运维知识库bclass : Base[详细]
2023-01-26 02:22 分类:问答explicit instantiation of parameterized template methods
I\'ve two different template classes, one of them using as parameter an object of the another template class. i\'m getting an error message:[详细]
2023-01-25 16:24 分类:问答Is there anyway to instead of doing explicit instantiation of a template code for DLL, deliver the code itself somehow implementation-hidden?
If a template code is about to be used for DLL the explicit instantiation should be applied to produce the binary but I want to know Is there anyway not to开发者_运维问答 do explicit instantiation but[详细]
2023-01-25 12:53 分类:问答Global variable lost which results on failure during function assigning
Currently I\'m developing a dashboard for the company that I\'m working for. The functionality of this dashboard is not interesting for this problem. This dashboard is build up like:[详细]
2023-01-24 14:04 分类:问答PHP custom class loader
i made a custom 开发者_StackOverflow中文版class loader function in php something like.. load_class($className,$parameters,$instantiate);[详细]
2023-01-22 18:28 分类:问答Error CS0563 (One of the parameters of a binary operator must be the containing type)
My source code (below) is generating Error CS0563 because both of the parameters in my CombinedJobs operator+ (see \"//Step 5: ...\" in source code) are listed as Job (as opposed to int, double, etc).[详细]
2023-01-22 11:53 分类:问答