Example #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="messagesManager"><see cref="MessagesManager"/> where internal messages will be forwarded</param>
 /// <param name="idManager">Identifiers manager for all identified objects</param>
 /// <param name="assignIds">Should this register assigns ids if checked object has no identifier</param>
 /// <param name="key">Identifier of this ids register</param>
 public IdsRegister(MessagesManager messagesManager, IIdManager idManager, bool assignIds, string key)
 {
     this.messagesManager = messagesManager;
     this.idManager       = idManager;
     this.assignIds       = assignIds;
     Key = key;
 }
Example #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="messagesManager"><see cref="MessagesManager"/> where internal messages will be forwarded</param>
 /// <param name="assignIds">Should this register assigns ids if checked object has no identifier</param>
 public IdsRegister(MessagesManager messagesManager, bool assignIds)
 {
     this.messagesManager = messagesManager;
     this.assignIds       = assignIds;
 }