コード例 #1
0
 public GetActivityFeedResult(APPI.Meetball.Structs.GetMeetballsStruct gms)
     : this(MeetballAttendees.cast(gms.OtherAttendees),
            gms.StartDate, gms.EndDate, gms.CreateDate, gms.SortDate,
            gms.GPXWKT, gms.Address, gms.City, gms.State,
            gms.LocationName, gms.MeetballName, gms.Description,
            gms.MicroSite, gms.MeetballID, gms.Accuracy, gms.OwnerID,
            gms.IsOwner, gms.Accepted, gms.HasPicture, gms.NewUpdates,
            gms.NewMessages, gms.IsBroadcasting, gms.isPrivate)
 {
 }
コード例 #2
0
        public static MeetballAttendees[] cast(
            APPI.Meetball.Structs.MeetballAttendee[] ma)
        {
            var length = ma.Length;
            var array  = new MeetballAttendees[length];

            for (int i = 0; i < length; i++)
            {
                array[i] = ma[i];
            }

            return(array);
        }
コード例 #3
0
 public MeetballAttendeeInfo(APPI.Meetball.Structs.MeetballAttendeeInfo ma)
     : this(MeetballAttendees.cast(ma.attendees), ma.allAttendeeCount)
 {
 }