Ecologylab.BigSemantics.MetaMetadataNS.MetaMetadataCollectionField.DeserializationPostHook C# (CSharp) Метод

DeserializationPostHook() публичный Метод

public DeserializationPostHook ( TranslationContext translationContext ) : void
translationContext Simpl.Serialization.Context.TranslationContext
Результат void
        public override void DeserializationPostHook(TranslationContext translationContext)
        {
            int typeCode = this.GetFieldType();
              if (typeCode == FieldTypes.CollectionScalar || this.inheritDone)
            return;

              String childCompositeName = ChildType ?? UNRESOLVED_NAME;
              MetaMetadataCollectionField thisField = this;
              var composite = new MetaMetadataCompositeField(childCompositeName, Kids);

              composite.TypeChangeListener += (newType) => this.childType = newType;
              composite.ExtendsChangeListener += (newExtends) => this.childExtends = newExtends;
              composite.TagChangeListener += (newTag) => this.childTag = newTag;

              composite.Parent = this;
              composite.Type = childType;
              composite.ExtendsAttribute = this.childExtends;
              kids.Clear();
              kids.Add(composite.Name, composite);
              composite.PromoteChildren = this.PromoteChildren;
        }