-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge NetworkDatabase into ResourceNetwork
- Loading branch information
Showing
28 changed files
with
260 additions
and
487 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#region Licence | ||
|
||
// Description: SymuBiz - Symu | ||
// Website: https://symu.org | ||
// Copyright: (c) 2020 laurent morisseau | ||
// License : the program is distributed under the terms of the GNU General Public License | ||
|
||
#endregion | ||
|
||
#region using directives | ||
|
||
using Symu.Common.Interfaces; | ||
using Symu.Repository.Networks.Resources; | ||
|
||
#endregion | ||
|
||
namespace Symu.Repository.Entity | ||
{ | ||
/// <summary> | ||
/// Define who is using a component or a product and how | ||
/// </summary> | ||
public class AgentPortfolio : IAgentResource | ||
{ | ||
public AgentPortfolio(IAgentId agentId, byte typeOfUse, float allocation): base(agentId, typeOfUse, allocation) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#region Licence | ||
|
||
// Description: SymuBiz - Symu | ||
// Website: https://symu.org | ||
// Copyright: (c) 2020 laurent morisseau | ||
// License : the program is distributed under the terms of the GNU General Public License | ||
|
||
#endregion | ||
|
||
#region using directives | ||
|
||
using Symu.Classes.Agents; | ||
using Symu.Classes.Organization; | ||
using Symu.Messaging.Templates; | ||
using Symu.Repository.Networks.Knowledges; | ||
|
||
#endregion | ||
|
||
namespace Symu.Repository.Entity | ||
{ | ||
/// <summary> | ||
/// Database used to store and search information | ||
/// A database is a system where agent store temporary or permanent information | ||
/// </summary> | ||
public class Email : Database | ||
{ | ||
public static Email CreateInstance(AgentId agentId, OrganizationModels organizationModels, NetworkKnowledges networkKnowledges) | ||
{ | ||
CommunicationTemplate communication = new EmailTemplate(); | ||
var entity = new DatabaseEntity(agentId, communication); | ||
return new Email(entity, organizationModels, networkKnowledges); | ||
} | ||
|
||
private Email(DatabaseEntity entity, OrganizationModels organizationModels, | ||
NetworkKnowledges networkKnowledges) : base(entity, organizationModels, networkKnowledges) | ||
{ | ||
} | ||
|
||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.