Esempio n. 1
0
 public ActivatedFeature(
     Guid featureId,
     Guid locationId,
     FeatureDefinition definition,
     bool faulty,
     Dictionary <string, string> properties,
     DateTime timeActivated,
     Version version,
     string sandBoxedSolutionLocation = null
     )
 {
     FeatureId                 = featureId;
     LocationId                = locationId;
     Definition                = definition;
     Faulty                    = faulty;
     Properties                = properties;
     TimeActivated             = timeActivated;
     Version                   = version;
     SandBoxedSolutionLocation = sandBoxedSolutionLocation;
 }
Esempio n. 2
0
 public ActivatedFeature(
     Guid featureId,
     Guid locationId,
     FeatureDefinition definition,
     bool faulty,
     Dictionary <string, string> properties,
     DateTime timeActivated,
     Version version,
     string definitionInstallationScope = Common.Constants.Defaults.DefinitionInstallationScopeFarm
     )
 {
     FeatureId     = featureId;
     LocationId    = locationId;
     Definition    = definition;
     Faulty        = faulty;
     Properties    = properties;
     TimeActivated = timeActivated;
     Version       = version;
     DefinitionInstallationScope = definitionInstallationScope;
 }
Esempio n. 3
0
 public ActivatedFeature(
     Guid featureId,
     Guid locationId,
     FeatureDefinition definition,
     bool faulty,
     Dictionary <string, string> properties,
     DateTime timeActivated,
     Version version,
     string sandBoxedSolutionLocation = null
     )
 {
     FeatureId = featureId;
     FeatureDefinitionUniqueIdentifier = definition.UniqueIdentifier;
     LocationId    = locationId;
     Definition    = definition;
     Faulty        = faulty;
     Properties    = properties;
     TimeActivated = timeActivated;
     Version       = version;
     CanUpgrade    = definition.Version < version;
 }