Beispiel #1
0
 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");
 }
Beispiel #2
0
        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);
        }
Beispiel #3
0
        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);
        }