public VariablesHierarchyInfoDto(VariableScope scope, int scopeID, string scopeName)
 {
     this.ScopeKey = scope.GetName();
     this.ScopeID = scopeID;
     this.ScopeName = scopeName;
     this.Variables = new List<VariableDto>();
     this.Children = new List<VariablesHierarchyInfoDto>();
 }
 public VariablesHierarchyInfoDto(VariableScope scope, int scopeID, string scopeName)
 {
     this.ScopeKey  = scope.GetName();
     this.ScopeID   = scopeID;
     this.ScopeName = scopeName;
     this.Variables = new List <VariableDto>();
     this.Children  = new List <VariablesHierarchyInfoDto>();
 }
Example #3
0
        public IEnumerable <TDto> GetAllForScopeAs <TDto>(VariableScope scope, int scopeID)
        {
            var scopeKey = scope.GetName();

            return(this.GetAllForScopeAs <TDto>(scopeKey, scopeID));
        }