private void VisitDynamicType(Type type, IList <DynamicElement> dynamics) { var attribute = type.GetDynamicAttribute(); if (attribute == null) { return; } var e = new DynamicElement(); e.type = type.AssemblyQualifiedName; e.lifetime = attribute.Lifetime; dynamics.Add(e); }
private void VisitDynamicType(Type type, IList<DynamicElement> dynamics) { var attribute = type.GetDynamicAttribute(); if ( attribute == null ) return; var e = new DynamicElement(); e.type = type.AssemblyQualifiedName; e.lifetime = attribute.Lifetime; dynamics.Add(e); }