Exemplo n.º 1
0
 /// <summary>
 /// Constructor which requires a <see cref="TypeSystem"/> instance as a parameter.
 /// </summary>
 /// <param name="typeSystem">A <see cref="TypeSystem"/> instance</param>
 public TypeDomainFactory(TypeSystem typeSystem)
 {
     if (typeSystem == null) throw new ArgumentNullException("typeSystem");
     _typeSystem = typeSystem;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor which take as an argument a TypeSystem instance.
 /// </summary>
 /// <param name="typeSystem"></param>
 public TypeSystemBuilder(TypeSystem typeSystem)
 {
     if (typeSystem == null) throw new ArgumentNullException("typeSystem");
     _typeSystem = typeSystem;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="treeModel"></param>
 /// <param name="typeSystem"></param>
 public DomainModelContext(IDomainModel treeModel, TypeSystem.TypeSystem typeSystem)
 {
     _treeModel = treeModel;
     _typeSystem = typeSystem;
     _typeDomainFactory = new TypeDomainFactory(_typeSystem);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Constructor which take as an argument a type system name.
 /// </summary>
 /// <param name="typeSystemName"></param>
 public TypeSystemBuilder(string typeSystemName)
 {
     // the argument check is made by the TypeSystem constructor
     _typeSystem = new TypeSystem(typeSystemName);
 }