Esempio n. 1
0
 // #02 - Constructos
 public Content_Repository(GalaxyObjectContext ctx
                           , IInstance_Repository _Instances
                           , IAttribute_Repository _Attributes
                           , IIOTag_Repository _IOTags
                           , IPLCTag_Repository _PLCTags)
 {
     Instances  = _Instances;
     Attributes = _Attributes;
     IOTags     = _IOTags;
     PLCTags    = _PLCTags;
 }
 public AttributeController(IAttribute_Repository repo)
 {
     repository = repo ?? throw new ArgumentNullException(nameof(repository));
 }