示例#1
0
        public string UpdatePersonImage(string authorization, int personID, string imageData)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            byte[] data = Convert.FromBase64String(imageData);

            return(rpc.UpdatePersonImage(personID, data));
        }
示例#2
0
        public IDictionary GetPersonProfiles(string authorization, int personID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return((IDictionary)JsonConverter.EncodeObject(rpc.GetPersonProfiles(personID)));
        }
示例#3
0
        public int[] FindPeopleByPhone(string authorization, string phone)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.FindPeopleByPhone(phone));
        }
示例#4
0
        public int[] FindPeople(string authorization, IDictionary query)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.FindPeople((RpcPeopleQuery)JsonConverter.DecodeObject(query, typeof(RpcPeopleQuery))));
        }
示例#5
0
        public Object[] GetSmallGroupMembers(string authorization, int groupID, int startAtIndex, int numberOfMembers)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return((Object[])JsonConverter.EncodeObject(rpc.GetSmallGroupMembers(groupID, startAtIndex, numberOfMembers)));
        }
示例#6
0
 public string Login(string loginID, string password)
 {
     return(CoreRpc.Login(loginID, password));
 }
示例#7
0
        public int[] GetProfileChildren(string authorization, int profileID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.GetProfileChildren(profileID);
        }
示例#8
0
        public int[] GetSmallGroupCategories(string authorization)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.GetSmallGroupCategories());
        }
示例#9
0
        public IDictionary GetPersonPeers(string authorization, int personID, int start, int count)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return (IDictionary)JsonConverter.EncodeObject(rpc.GetPersonPeers(personID, start, count));
        }
示例#10
0
        public IDictionary GetPersonProfiles(string authorization, int personID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return (IDictionary)JsonConverter.EncodeObject(rpc.GetPersonProfiles(personID));
        }
示例#11
0
        public Object[] GetPersonNotes(string authorization, int personID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return (Object[])JsonConverter.EncodeObject(rpc.GetPersonNotes(personID));
        }
示例#12
0
        public int[] FindPeopleByPhone(string authorization, string phone)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.FindPeopleByPhone(phone);
        }
示例#13
0
        public int[] FindPeopleByName(string authorization, string firstName, string lastName)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.FindPeopleByName(firstName, lastName);
        }
示例#14
0
        public Object[] GetProfileMemberActivity(string authorization, int profileID, int personID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return((Object[])JsonConverter.EncodeObject(rpc.GetProfileMemberActivity(profileID, personID)));
        }
示例#15
0
        public Object[] GetProfileMemberActivity(string authorization, int profileID, int personID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return (Object[])JsonConverter.EncodeObject(rpc.GetProfileMemberActivity(profileID, personID));
        }
示例#16
0
        public int[] GetProfileRoots(string authorization, int profileType)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.GetProfileRoots(profileType));
        }
示例#17
0
        public IDictionary GetProfileMemberInformation(string authorization, int profileID, int personID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return (IDictionary)JsonConverter.EncodeObject(rpc.GetProfileMemberInformation(profileID, personID));
        }
示例#18
0
        public int[] GetSmallGroups(string authorization, int clusterID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.GetSmallGroups(clusterID));
        }
示例#19
0
        public int[] GetProfileOccurrences(string authorization, int profileID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.GetProfileOccurrences(profileID);
        }
示例#20
0
        public int[] FindPeopleByEmail(string authorization, string email)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.FindPeopleByEmail(email);
        }
示例#21
0
        public int[] GetProfileRoots(string authorization, int profileType)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.GetProfileRoots(profileType);
        }
示例#22
0
        public int[] FindPeopleByName(string authorization, string firstName, string lastName)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.FindPeopleByName(firstName, lastName));
        }
示例#23
0
        public int[] GetSmallGroupCategories(string authorization)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.GetSmallGroupCategories();
        }
示例#24
0
        public int[] FindPeopleByEmail(string authorization, string email)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.FindPeopleByEmail(email));
        }
示例#25
0
        public IDictionary GetSmallGroupInformation(string authorization, int groupID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return (IDictionary)JsonConverter.EncodeObject(rpc.GetSmallGroupInformation(groupID));
        }
示例#26
0
        public IDictionary GetPersonPeers(string authorization, int personID, int start, int count)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return((IDictionary)JsonConverter.EncodeObject(rpc.GetPersonPeers(personID, start, count)));
        }
示例#27
0
        public Object[] GetSmallGroupMembers(string authorization, int groupID, int startAtIndex, int numberOfMembers)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return (Object[])JsonConverter.EncodeObject(rpc.GetSmallGroupMembers(groupID, startAtIndex, numberOfMembers));
        }
示例#28
0
        public Object[] GetPersonNotes(string authorization, int personID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return((Object[])JsonConverter.EncodeObject(rpc.GetPersonNotes(personID)));
        }
示例#29
0
        public int[] GetSmallGroupOccurrences(string authorization, int groupID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.GetSmallGroupOccurrences(groupID);
        }
示例#30
0
        public IDictionary GetProfileMemberInformation(string authorization, int profileID, int personID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return((IDictionary)JsonConverter.EncodeObject(rpc.GetProfileMemberInformation(profileID, personID)));
        }
示例#31
0
        public int[] GetSmallGroupRootClusters(string authorization, int categoryID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.GetSmallGroupRootClusters(categoryID);
        }
示例#32
0
        public int[] GetProfileChildren(string authorization, int profileID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.GetProfileChildren(profileID));
        }
示例#33
0
        public int[] GetSmallGroups(string authorization, int clusterID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.GetSmallGroups(clusterID);
        }
示例#34
0
        public int[] GetProfileOccurrences(string authorization, int profileID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.GetProfileOccurrences(profileID));
        }
示例#35
0
        public string UpdatePersonImage(string authorization, int personID, string imageData)
        {
            CoreRpc rpc = new CoreRpc(authorization);
            byte[] data = Convert.FromBase64String(imageData);

            return rpc.UpdatePersonImage(personID, data);
        }
示例#36
0
        public int[] GetSmallGroupRootClusters(string authorization, int categoryID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.GetSmallGroupRootClusters(categoryID));
        }
示例#37
0
 public IDictionary Version()
 {
     return((IDictionary)JsonConverter.EncodeObject(CoreRpc.Version()));
 }
示例#38
0
        public IDictionary GetSmallGroupInformation(string authorization, int groupID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return((IDictionary)JsonConverter.EncodeObject(rpc.GetSmallGroupInformation(groupID)));
        }
示例#39
0
 public bool IsClientVersionSupported(int major, int minor)
 {
     return(CoreRpc.IsClientVersionSupported(major, minor));
 }
示例#40
0
        public int[] GetSmallGroupOccurrences(string authorization, int groupID)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return(rpc.GetSmallGroupOccurrences(groupID));
        }
示例#41
0
        public int[] FindPeople(string authorization, IDictionary query)
        {
            CoreRpc rpc = new CoreRpc(authorization);

            return rpc.FindPeople((RpcPeopleQuery)JsonConverter.DecodeObject(query, typeof(RpcPeopleQuery)));
        }