Пример #1
0
 /// <summary>
 /// Populates list of resources, tracked resources and proxy resources
 /// </summary>
 private void PopulateResourceTypes(ServiceDefinition serviceDefinition)
 {
     this.ResourceModels              = ValidationUtilities.GetResourceModels(serviceDefinition).ToList();
     this.TrackedResourceModels       = ValidationUtilities.GetTrackedResources(this.ResourceModels, serviceDefinition.Definitions).ToList();
     this.ChildTrackedResourceModels  = ValidationUtilities.GetChildTrackedResourcesWithImmediateParent(serviceDefinition).ToList();
     this.ParentTrackedResourceModels = ValidationUtilities.GetParentTrackedResources(this.TrackedResourceModels, this.ChildTrackedResourceModels).ToList();
     this.ProxyResourceModels         = this.ResourceModels.Except(this.TrackedResourceModels).ToList();
 }