protected BarElement(SerializationInfo info, StreamingContext context) : base(info, context)
 {
     _webRotation            = (double)info.GetValue("_webRotation", typeof(double));
     _material               = (BaseMaterial)info.GetValue("_material", typeof(BaseMaterial));
     _behavior               = (BarElementBehaviour)info.GetValue("_behavior", typeof(int));
     _section                = (Base1DSection)info.GetValue("_section", typeof(Base1DSection));
     _nodalReleaseConditions = (Constraint[])info.GetValue("_nodalReleaseConditions", typeof(Constraint[]));
 }
Exemple #2
0
 protected BarElement(SerializationInfo info, StreamingContext context) : base(info, context)
 {
     _webRotation = (double)info.GetValue("_webRotation", typeof(double));
     _material    = (BaseMaterial)info.GetValue("_material", typeof(BaseMaterial));
     _behavior    = (BarElementBehaviour)info.GetValue("_behavior", typeof(int));
 }