示例#1
0
 private void ApplyUntypedSpecification(Type specificationType)
 {
     if ((object)this.ComponentSpecificConfiguration != null)
     {
         this.UntypedComponentSpecificConfiguration = (IUnknownComponentConfigurationObject)
                                                      JObject.FromObject(this.ComponentSpecificConfiguration).ToObject(specificationType);
     }
 }
示例#2
0
 public void ResetSpecification()
 {
     this.ComponentSpecificConfiguration.Clear();
     this.UntypedComponentSpecificConfiguration = null;
 }