private Member(SerializationInfo info, StreamingContext ctxt) { _preferredDiscipline = (pd)info.GetValue("PreferredDiscipline", typeof(int)); _skillLevel = (sl)info.GetValue("SkillLevel", typeof(int)); GamesWon = info.GetInt32("GamesWon"); GamesLost = info.GetInt32("GamesLost"); FirstName = info.GetString("FirstName"); LastName = info.GetString("LastName"); }
public Isl Create( ImmutableList <IslCrossJoinElement> value) { Isl crossJoin = null; try { crossJoin = new sl( value); } catch (Exception exception) { this.Log.Error("Exception message: " + exception.Message + " and stacktrace " + exception.StackTrace); } return(crossJoin); }
public Isl Create( ImmutableList <IslCrossJoinElement> value) { Isl crossJoin = null; try { crossJoin = new sl( value); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(crossJoin); }