Ejemplo n.º 1
0
 internal FacetProperty(FacetPropertyDefinition Definition, string ValueAsString)
 {
     thisDefinition = Definition;
     try
     {
         thisValue = Activator.CreateInstance(Definition.Datatype) as AnyType;
         thisValue.ValueAsString = ValueAsString;
     }
     catch (Exception e)
     {
         throw new NotSupportedException("INTERNAL ERROR: CreateInstance error in FacetProperty construction", e);
     }
 }
Ejemplo n.º 2
0
 internal void AddFacetPropertyDefinition(FacetPropertyDefinition NewFacetPropertyDefinition)
 {
     this.PropertyDefinitions.Add(NewFacetPropertyDefinition);
 }
Ejemplo n.º 3
0
 internal void AddFacetProperty(FacetPropertyDefinition Definition, string Value)
 {
     this.Properties.Add(new FacetProperty(Definition, Value));
 }