svn path=/trunk/upcoming-sharp/; revision=71389
This commit is contained in:
Thomas Van Machelen 2007-01-20 11:35:42 +00:00
Коммит 1cf8af6a0b
56 изменённых файлов: 4333 добавлений и 0 удалений

1
AUTHORS Normal file
Просмотреть файл

@ -0,0 +1 @@
Thomas Van Machelen <thomas van machelen gmail com>

21
COPYING Normal file
Просмотреть файл

@ -0,0 +1,21 @@
Copyright (c) 2007 Novell, Inc. and the individuals listed
on the ChangeLog entries.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0
ChangeLog Normal file
Просмотреть файл

1
INSTALL Symbolic link
Просмотреть файл

@ -0,0 +1 @@
/usr/share/automake-1.9/INSTALL

2
Makefile.am Normal file
Просмотреть файл

@ -0,0 +1,2 @@
SUBDIRS=src examples doc

0
NEWS Normal file
Просмотреть файл

24
README Normal file
Просмотреть файл

@ -0,0 +1,24 @@
Last updated: 2007-01-19
README for upcoming-sharp
---------------------------
upcoming-sharp is a .NET library that lets you log in to upcoming.org and use
their services programmatically.
You can get your watchlist, add and edit events, get venue information,...
* Directory Layout
------------------
docs/
Monodoc documentation for the library
sample/
Sample programs using the library
src/
Source files for the library
Maintainer: thomas.vanmachelen@gmail.com

4
autogen.sh Executable file
Просмотреть файл

@ -0,0 +1,4 @@
aclocal
automake -a
autoconf
./configure $*

1
config.guess поставляемый Symbolic link
Просмотреть файл

@ -0,0 +1 @@
/usr/share/automake-1.9/config.guess

1
config.sub поставляемый Symbolic link
Просмотреть файл

@ -0,0 +1 @@
/usr/share/automake-1.9/config.sub

54
configure.ac Normal file
Просмотреть файл

@ -0,0 +1,54 @@
dnl configure.ac for Mono.Upcoming library
AC_PREREQ(2.57)
AC_INIT(src/Mono.Upcoming/UpcomingConnection.cs)
AC_CANONICAL_SYSTEM
AM_INIT_AUTOMAKE(Mono.Upcoming, 0.1.0)
AM_MAINTAINER_MODE
AC_PROG_INSTALL
AC_PATH_PROG(CSC, csc, no)
AC_PATH_PROG(MCS, mcs, no)
AC_PATH_PROG(RUNTIME, mono, no)
CS="C#"
if test "x$CSC" = "xno" -a "x$MCS" = "xno" ; then
dnl AC_MSG_ERROR([You need to install a C# compiler])
AC_MSG_ERROR([No $CS compiler found])
fi
if test "x$MCS" = "xno" ; then
MCS=$CSC
fi
AC_PATH_PROG(MDASSEMBLER, mdassembler, no)
AC_PATH_PROG(MONODOCER, monodocer, no)
if test "x$MONODOCER" = "xno" -o "x$MDASSEMBLER" = "xno"; then
enable_monodoc=no
doc_sources_dir=
else
enable_monodoc=yes
doc_sources_dir="`pkg-config --variable=sourcesdir monodoc`"
fi
AM_CONDITIONAL(ENABLE_MONODOC, test "x$enable_monodoc" = "xyes")
AC_SUBST(MCS)
AC_SUBST(RUNTIME)
AC_SUBST(MDASSEMBLER)
AC_SUBST(MONODOCER)
AC_OUTPUT([
Makefile
src/Makefile
src/mono-upcoming.pc
src/Mono.Upcoming/AssemblyInfo.cs
doc/Makefile
examples/Makefile
])
echo " * $CS compiler: $MCS"
echo " * Documentation build enabled: $enable_monodoc "
if test "x$enable_monodoc" = "xyes" -a "x$doc_sources_dir" != "x$prefix/lib/monodoc/sources"; then
echo " WARNING: The install prefix is different than the monodoc prefix."
echo " Monodoc will not be able to load the documentation."
fi

47
doc/Makefile.am Normal file
Просмотреть файл

@ -0,0 +1,47 @@
if ENABLE_MONODOC
SOURCESDIR=$(libdir)/monodoc/sources
TARGETS=Mono.Upcoming.tree Mono.Upcoming.zip Mono.Upcoming.source
UPDATER = $(MONODOCER) -path:Mono.Upcoming $(UPDATE_ASSEMBLIES)
else
SOURCESDIR=$(datadir)
TARGETS=
UPDATER = echo "Documentation build is disabled."
endif
NAMESPACES=Mono.Upcoming
UPDATE_ASSEMBLIES = -assembly:$(top_builddir)/src/Mono.Upcoming.dll
docsdir=$(SOURCESDIR)
docs_DATA=$(TARGETS)
CLEANFILES=Mono.Upcoming.tree Mono.Upcoming.zip
EXTRA_DIST=Mono.Upcoming.source
Mono.Upcoming: Mono.Upcoming.tree
Mono.Upcoming.tree Mono.Upcoming.zip: $(srcdir)/Mono.Upcoming/*.xml $(srcdir)/Mono.Upcoming/*/*.xml
mdassembler --ecma $(srcdir)/Mono.Upcoming -o Mono.Upcoming
install-hook:
cp Mono.Upcoming.* `pkg-config monodoc --variable=sourcesdir`
uninstall-hook:
rm -f `pkg-config monodoc --variable=sourcesdir`/Mono.Upcoming.*
update:
$(UPDATER)
update-delete:
$(UPDATER) --delete
merge:
monodoc --merge-changes ~/.config/monodoc/changeset.xml .
dist-hook:
mkdir -p $(distdir)/Mono.Upcoming
cp $(srcdir)/Mono.Upcoming/*.xml $(distdir)/Mono.Upcoming/
for i in $(NAMESPACES); do \
mkdir -p $(distdir)/Mono.Upcoming/$$i; \
cp $(srcdir)/Mono.Upcoming/$$i/*.xml $(distdir)/Mono.Upcoming/$$i; \
done

4
doc/Mono.Upcoming.source Normal file
Просмотреть файл

@ -0,0 +1,4 @@
<?xml version="1.0"?>
<monodoc>
<source provider="ecma" basefile="Mono.Upcoming" path="classlib-mono"/>
</monodoc>

Просмотреть файл

@ -0,0 +1,6 @@
<Namespace Name="Mono.Upcoming">
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Namespace>

Просмотреть файл

@ -0,0 +1,46 @@
<Type Name="AttendStatus" FullName="Mono.Upcoming.AttendStatus">
<TypeSignature Language="C#" Value="public enum AttendStatus" />
<AssemblyInfo>
<AssemblyName>Mono.Upcoming</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Members>
<Member MemberName="Attend">
<MemberSignature Language="C#" Value="Attend" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlEnum(Name="attend")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Mono.Upcoming.AttendStatus</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
</Docs>
</Member>
<Member MemberName="Watch">
<MemberSignature Language="C#" Value="Watch" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlEnum(Name="watch")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Mono.Upcoming.AttendStatus</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
</Docs>
</Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Type>

Просмотреть файл

@ -0,0 +1,320 @@
<Type Name="AuthenticatedConnection" FullName="Mono.Upcoming.AuthenticatedConnection">
<TypeSignature Language="C#" Value="public class AuthenticatedConnection : Mono.Upcoming.UpcomingConnection" />
<AssemblyInfo>
<AssemblyName>Mono.Upcoming</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Mono.Upcoming.UpcomingConnection</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public AuthenticatedConnection (string api_key);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="api_key" Type="System.String" />
</Parameters>
<Docs>
<param name="api_key">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public AuthenticatedConnection (string token, string api_key);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="token" Type="System.String" />
<Parameter Name="api_key" Type="System.String" />
</Parameters>
<Docs>
<param name="token">To be added.</param>
<param name="api_key">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CreateToken">
<MemberSignature Language="C#" Value="public void CreateToken (string frob);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="frob" Type="System.String" />
</Parameters>
<Docs>
<param name="frob">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetMetroList">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Metro[] GetMetroList ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Metro[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetUserInfo">
<MemberSignature Language="C#" Value="public Mono.Upcoming.User GetUserInfo ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.User</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetMyGroups">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Group[] GetMyGroups ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Group[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetWatchList">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Watch[] GetWatchList ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Watch[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddEvent">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Event AddEvent (string name, Mono.Upcoming.Venue venue, Mono.Upcoming.Category category, DateTime start_date);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Event</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="venue" Type="Mono.Upcoming.Venue" />
<Parameter Name="category" Type="Mono.Upcoming.Category" />
<Parameter Name="start_date" Type="System.DateTime" />
</Parameters>
<Docs>
<param name="name">To be added.</param>
<param name="venue">To be added.</param>
<param name="category">To be added.</param>
<param name="start_date">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddEvent">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Event AddEvent (string name, Mono.Upcoming.Venue venue, Mono.Upcoming.Category category, DateTime start_date, string description, Uri url, bool personal, bool selfpromotion);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Event</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="venue" Type="Mono.Upcoming.Venue" />
<Parameter Name="category" Type="Mono.Upcoming.Category" />
<Parameter Name="start_date" Type="System.DateTime" />
<Parameter Name="description" Type="System.String" />
<Parameter Name="url" Type="System.Uri" />
<Parameter Name="personal" Type="System.Boolean" />
<Parameter Name="selfpromotion" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="name">To be added.</param>
<param name="venue">To be added.</param>
<param name="category">To be added.</param>
<param name="start_date">To be added.</param>
<param name="description">To be added.</param>
<param name="url">To be added.</param>
<param name="personal">To be added.</param>
<param name="selfpromotion">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="EditEvent">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Event EditEvent (Mono.Upcoming.Event event_to_edit);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Event</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="event_to_edit" Type="Mono.Upcoming.Event" />
</Parameters>
<Docs>
<param name="event_to_edit">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddTagsToEvent">
<MemberSignature Language="C#" Value="public void AddTagsToEvent (Mono.Upcoming.Event event_to_edit, string tags);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="event_to_edit" Type="Mono.Upcoming.Event" />
<Parameter Name="tags" Type="System.String" />
</Parameters>
<Docs>
<param name="event_to_edit">To be added.</param>
<param name="tags">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="RemoveTagFromEvent">
<MemberSignature Language="C#" Value="public void RemoveTagFromEvent (Mono.Upcoming.Event event_to_edit, string tag);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="event_to_edit" Type="Mono.Upcoming.Event" />
<Parameter Name="tag" Type="System.String" />
</Parameters>
<Docs>
<param name="event_to_edit">To be added.</param>
<param name="tag">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddVenue">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Venue AddVenue (string venuename, string venueaddress, string venuecity, Mono.Upcoming.Metro metro, string venuezip, string venuephone, Uri venueurl, string venuedescription, bool is_private);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Venue</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="venuename" Type="System.String" />
<Parameter Name="venueaddress" Type="System.String" />
<Parameter Name="venuecity" Type="System.String" />
<Parameter Name="metro" Type="Mono.Upcoming.Metro" />
<Parameter Name="venuezip" Type="System.String" />
<Parameter Name="venuephone" Type="System.String" />
<Parameter Name="venueurl" Type="System.Uri" />
<Parameter Name="venuedescription" Type="System.String" />
<Parameter Name="is_private" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="venuename">To be added.</param>
<param name="venueaddress">To be added.</param>
<param name="venuecity">To be added.</param>
<param name="metro">To be added.</param>
<param name="venuezip">To be added.</param>
<param name="venuephone">To be added.</param>
<param name="venueurl">To be added.</param>
<param name="venuedescription">To be added.</param>
<param name="is_private">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="EditVenue">
<MemberSignature Language="C#" Value="public void EditVenue (Mono.Upcoming.Venue venue);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="venue" Type="Mono.Upcoming.Venue" />
</Parameters>
<Docs>
<param name="venue">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddEventToWatchList">
<MemberSignature Language="C#" Value="public int AddEventToWatchList (Mono.Upcoming.Event event_to_add);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="event_to_add" Type="Mono.Upcoming.Event" />
</Parameters>
<Docs>
<param name="event_to_add">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddEventToWatchList">
<MemberSignature Language="C#" Value="public int AddEventToWatchList (Mono.Upcoming.Event event_to_add, Mono.Upcoming.AttendStatus status);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="event_to_add" Type="Mono.Upcoming.Event" />
<Parameter Name="status" Type="Mono.Upcoming.AttendStatus" />
</Parameters>
<Docs>
<param name="event_to_add">To be added.</param>
<param name="status">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="RemoveWatch">
<MemberSignature Language="C#" Value="public void RemoveWatch (Mono.Upcoming.Watch watch);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="watch" Type="Mono.Upcoming.Watch" />
</Parameters>
<Docs>
<param name="watch">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Token">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Token Token { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Token</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Type>

Просмотреть файл

@ -0,0 +1,74 @@
<Type Name="Category" FullName="Mono.Upcoming.Category">
<TypeSignature Language="C#" Value="public class Category" />
<AssemblyInfo>
<AssemblyName>Mono.Upcoming</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Category ();" />
<MemberType>Constructor</MemberType>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ID">
<MemberSignature Language="C#" Value="public string ID;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Name">
<MemberSignature Language="C#" Value="public string Name;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="name", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Description">
<MemberSignature Language="C#" Value="public string Description;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="description", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Type>

Просмотреть файл

@ -0,0 +1,69 @@
<Type Name="ConnectionWrapper" FullName="Mono.Upcoming.ConnectionWrapper">
<TypeSignature Language="C#" Value="public abstract class ConnectionWrapper" />
<AssemblyInfo>
<AssemblyName>Mono.Upcoming</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected ConnectionWrapper ();" />
<MemberType>Constructor</MemberType>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="connection">
<MemberSignature Language="C#" Value="protected Mono.Upcoming.UpcomingConnection connection;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.UpcomingConnection</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ApplyConnection">
<MemberSignature Language="C#" Value="public void ApplyConnection (Mono.Upcoming.ConnectionWrapper[] wrappers);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="wrappers" Type="Mono.Upcoming.ConnectionWrapper[]" />
</Parameters>
<Docs>
<param name="wrappers">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Connection">
<MemberSignature Language="C#" Value="public Mono.Upcoming.UpcomingConnection Connection { set; get; };" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlIgnore</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Mono.Upcoming.UpcomingConnection</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Type>

Просмотреть файл

@ -0,0 +1,87 @@
<Type Name="Country" FullName="Mono.Upcoming.Country">
<TypeSignature Language="C#" Value="public class Country : Mono.Upcoming.ConnectionWrapper" />
<AssemblyInfo>
<AssemblyName>Mono.Upcoming</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Mono.Upcoming.ConnectionWrapper</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Country ();" />
<MemberType>Constructor</MemberType>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ID">
<MemberSignature Language="C#" Value="public int ID;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Name">
<MemberSignature Language="C#" Value="public string Name;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="name", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Code">
<MemberSignature Language="C#" Value="public string Code;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="code", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetStateList">
<MemberSignature Language="C#" Value="public Mono.Upcoming.State[] GetStateList ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.State[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Type>

Просмотреть файл

@ -0,0 +1,444 @@
<Type Name="Event" FullName="Mono.Upcoming.Event">
<TypeSignature Language="C#" Value="public class Event : Mono.Upcoming.ConnectionWrapper" />
<AssemblyInfo>
<AssemblyName>Mono.Upcoming</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Mono.Upcoming.ConnectionWrapper</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Event ();" />
<MemberType>Constructor</MemberType>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ID">
<MemberSignature Language="C#" Value="public int ID;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Name">
<MemberSignature Language="C#" Value="public string Name;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="name", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Tags">
<MemberSignature Language="C#" Value="public string Tags;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="tags", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Description">
<MemberSignature Language="C#" Value="public string Description;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="description", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="start_date">
<MemberSignature Language="C#" Value="public string start_date;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="start_date", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="end_date">
<MemberSignature Language="C#" Value="public string end_date;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="end_date", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="personal">
<MemberSignature Language="C#" Value="public int personal;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="personal", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="self_promotion">
<MemberSignature Language="C#" Value="public int self_promotion;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="self_promotion", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MetroID">
<MemberSignature Language="C#" Value="public int MetroID;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="metro_id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="VenueID">
<MemberSignature Language="C#" Value="public int VenueID;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="venue_id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="UserID">
<MemberSignature Language="C#" Value="public int UserID;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="user_id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CategoryID">
<MemberSignature Language="C#" Value="public int CategoryID;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="category_id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="date_posted">
<MemberSignature Language="C#" Value="public string date_posted;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="date_posted", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="latitude">
<MemberSignature Language="C#" Value="public string latitude;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="latitude", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="longitude">
<MemberSignature Language="C#" Value="public string longitude;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="longitude", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GeocodingPrecision">
<MemberSignature Language="C#" Value="public string GeocodingPrecision;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="geocoding_precision", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="geocoding_ambiguous">
<MemberSignature Language="C#" Value="public string geocoding_ambiguous;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="geocoding_ambiguous", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetMetro">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Metro GetMetro ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Metro</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetVenue">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Venue GetVenue ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Venue</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetUser">
<MemberSignature Language="C#" Value="public Mono.Upcoming.User GetUser ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.User</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetGroups">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Group[] GetGroups ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Group[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="StartDate">
<MemberSignature Language="C#" Value="public DateTime StartDate { get; };" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlIgnore</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.DateTime</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="EndDate">
<MemberSignature Language="C#" Value="public DateTime EndDate { get; };" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlIgnore</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.DateTime</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Personal">
<MemberSignature Language="C#" Value="public bool Personal { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SelfPromotion">
<MemberSignature Language="C#" Value="public bool SelfPromotion { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Latitude">
<MemberSignature Language="C#" Value="public float Latitude { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Single</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Longitude">
<MemberSignature Language="C#" Value="public float Longitude { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Single</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GeocodingAmbiguous">
<MemberSignature Language="C#" Value="public bool GeocodingAmbiguous { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Type>

Просмотреть файл

@ -0,0 +1,243 @@
<Type Name="Group" FullName="Mono.Upcoming.Group">
<TypeSignature Language="C#" Value="public class Group : Mono.Upcoming.ConnectionWrapper" />
<AssemblyInfo>
<AssemblyName>Mono.Upcoming</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Mono.Upcoming.ConnectionWrapper</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Group ();" />
<MemberType>Constructor</MemberType>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ID">
<MemberSignature Language="C#" Value="public int ID;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Name">
<MemberSignature Language="C#" Value="public string Name;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="name", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Description">
<MemberSignature Language="C#" Value="public string Description;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="description", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ModerationLevel">
<MemberSignature Language="C#" Value="public string ModerationLevel;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="moderation_level", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="is_private">
<MemberSignature Language="C#" Value="public int is_private;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="is_private", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="timestamp">
<MemberSignature Language="C#" Value="public string timestamp;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="timestamp", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OwnerUserId">
<MemberSignature Language="C#" Value="public int OwnerUserId;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="owner_user_id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CommercialAccountId">
<MemberSignature Language="C#" Value="public int CommercialAccountId;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="commercial_account_id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="NumberOfMembers">
<MemberSignature Language="C#" Value="public int NumberOfMembers;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="num_members", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetOwner">
<MemberSignature Language="C#" Value="public Mono.Upcoming.User GetOwner ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.User</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetMembers">
<MemberSignature Language="C#" Value="public Mono.Upcoming.User[] GetMembers (int page_nr, int members_per_page);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.User[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="page_nr" Type="System.Int32" />
<Parameter Name="members_per_page" Type="System.Int32" />
</Parameters>
<Docs>
<param name="page_nr">To be added.</param>
<param name="members_per_page">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetEvents">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Event[] GetEvents (int page_nr, int events_per_page);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Event[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="page_nr" Type="System.Int32" />
<Parameter Name="events_per_page" Type="System.Int32" />
</Parameters>
<Docs>
<param name="page_nr">To be added.</param>
<param name="events_per_page">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="IsPrivate">
<MemberSignature Language="C#" Value="public bool IsPrivate { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Timestamp">
<MemberSignature Language="C#" Value="public DateTime Timestamp { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.DateTime</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Type>

Просмотреть файл

@ -0,0 +1,116 @@
<Type Name="Metro" FullName="Mono.Upcoming.Metro">
<TypeSignature Language="C#" Value="public class Metro : Mono.Upcoming.ConnectionWrapper" />
<AssemblyInfo>
<AssemblyName>Mono.Upcoming</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Mono.Upcoming.ConnectionWrapper</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Metro ();" />
<MemberType>Constructor</MemberType>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ID">
<MemberSignature Language="C#" Value="public int ID;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Name">
<MemberSignature Language="C#" Value="public string Name;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="name", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Code">
<MemberSignature Language="C#" Value="public string Code;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="code", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="StateId">
<MemberSignature Language="C#" Value="public int StateId;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="state_id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetState">
<MemberSignature Language="C#" Value="public Mono.Upcoming.State GetState ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.State</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetVenues">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Venue[] GetVenues ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Venue[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Type>

Просмотреть файл

@ -0,0 +1,207 @@
<Type Name="Response" FullName="Mono.Upcoming.Response">
<TypeSignature Language="C#" Value="public class Response" />
<AssemblyInfo>
<AssemblyName>Mono.Upcoming</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlRoot(DataType="", ElementName="rsp", IsNullable=True, Namespace=null)</AttributeName>
</Attribute>
</Attributes>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Response ();" />
<MemberType>Constructor</MemberType>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Status">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Status Status;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="stat", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Mono.Upcoming.Status</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Categories">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Category[] Categories;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlElement(DataType="", ElementName="category", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, IsNullable=False, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Mono.Upcoming.Category[]</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Countries">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Country[] Countries;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlElement(DataType="", ElementName="country", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, IsNullable=False, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Mono.Upcoming.Country[]</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Events">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Event[] Events;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlElement(DataType="", ElementName="event", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, IsNullable=False, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Mono.Upcoming.Event[]</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Groups">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Group[] Groups;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlElement(DataType="", ElementName="group", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, IsNullable=False, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Mono.Upcoming.Group[]</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Metros">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Metro[] Metros;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlElement(DataType="", ElementName="metro", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, IsNullable=False, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Mono.Upcoming.Metro[]</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="States">
<MemberSignature Language="C#" Value="public Mono.Upcoming.State[] States;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlElement(DataType="", ElementName="state", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, IsNullable=False, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Mono.Upcoming.State[]</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Token">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Token Token;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlElement(DataType="", ElementName="token", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, IsNullable=False, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Mono.Upcoming.Token</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Users">
<MemberSignature Language="C#" Value="public Mono.Upcoming.User[] Users;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlElement(DataType="", ElementName="user", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, IsNullable=False, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Mono.Upcoming.User[]</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Venues">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Venue[] Venues;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlElement(DataType="", ElementName="venue", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, IsNullable=False, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Mono.Upcoming.Venue[]</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Watches">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Watch[] Watches;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlElement(DataType="", ElementName="watchlist", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, IsNullable=False, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Mono.Upcoming.Watch[]</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Type>

Просмотреть файл

@ -0,0 +1,116 @@
<Type Name="State" FullName="Mono.Upcoming.State">
<TypeSignature Language="C#" Value="public class State : Mono.Upcoming.ConnectionWrapper" />
<AssemblyInfo>
<AssemblyName>Mono.Upcoming</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Mono.Upcoming.ConnectionWrapper</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public State ();" />
<MemberType>Constructor</MemberType>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ID">
<MemberSignature Language="C#" Value="public int ID;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Name">
<MemberSignature Language="C#" Value="public string Name;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="name", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Code">
<MemberSignature Language="C#" Value="public string Code;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="code", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CountryID">
<MemberSignature Language="C#" Value="public int CountryID;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="country_id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetMetroList">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Metro[] GetMetroList ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Metro[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetCountry">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Country GetCountry ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Country</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Type>

Просмотреть файл

@ -0,0 +1,46 @@
<Type Name="Status" FullName="Mono.Upcoming.Status">
<TypeSignature Language="C#" Value="public enum Status" />
<AssemblyInfo>
<AssemblyName>Mono.Upcoming</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Members>
<Member MemberName="Failed">
<MemberSignature Language="C#" Value="Failed" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlEnum(Name="failed")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Mono.Upcoming.Status</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
</Docs>
</Member>
<Member MemberName="OK">
<MemberSignature Language="C#" Value="OK" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlEnum(Name="ok")</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Mono.Upcoming.Status</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
</Docs>
</Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Type>

Просмотреть файл

@ -0,0 +1,90 @@
<Type Name="Token" FullName="Mono.Upcoming.Token">
<TypeSignature Language="C#" Value="public class Token" />
<AssemblyInfo>
<AssemblyName>Mono.Upcoming</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Token ();" />
<MemberType>Constructor</MemberType>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="TokenString">
<MemberSignature Language="C#" Value="public string TokenString;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="token", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="UserId">
<MemberSignature Language="C#" Value="public int UserId;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="user_id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="UserFullName">
<MemberSignature Language="C#" Value="public string UserFullName;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="user_name", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="UserName">
<MemberSignature Language="C#" Value="public string UserName;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="user_username", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Type>

Просмотреть файл

@ -0,0 +1,220 @@
<Type Name="UpcomingConnection" FullName="Mono.Upcoming.UpcomingConnection">
<TypeSignature Language="C#" Value="public class UpcomingConnection" />
<AssemblyInfo>
<AssemblyName>Mono.Upcoming</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UpcomingConnection (string api_key);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="api_key" Type="System.String" />
</Parameters>
<Docs>
<param name="api_key">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetCategoryList">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Category[] GetCategoryList ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Category[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SearchEvents">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Event[] SearchEvents (string search_text);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Event[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="search_text" Type="System.String" />
</Parameters>
<Docs>
<param name="search_text">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetCountryList">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Country[] GetCountryList ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Country[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetByLatLon">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Metro[] GetByLatLon (float latitude, float longitude);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Metro[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="latitude" Type="System.Single" />
<Parameter Name="longitude" Type="System.Single" />
</Parameters>
<Docs>
<param name="latitude">To be added.</param>
<param name="longitude">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetUserInfo">
<MemberSignature Language="C#" Value="public Mono.Upcoming.User GetUserInfo (int user_id);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.User</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="user_id" Type="System.Int32" />
</Parameters>
<Docs>
<param name="user_id">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetUserInfoByUsername">
<MemberSignature Language="C#" Value="public Mono.Upcoming.User GetUserInfoByUsername (string username);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.User</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="username" Type="System.String" />
</Parameters>
<Docs>
<param name="username">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SearchMetro">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Metro[] SearchMetro (string search_text);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Metro[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="search_text" Type="System.String" />
</Parameters>
<Docs>
<param name="search_text">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SearchMetro">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Metro[] SearchMetro (string search_text, Mono.Upcoming.Country country);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Metro[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="search_text" Type="System.String" />
<Parameter Name="country" Type="Mono.Upcoming.Country" />
</Parameters>
<Docs>
<param name="search_text">To be added.</param>
<param name="country">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SearchMetro">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Metro[] SearchMetro (string search_text, Mono.Upcoming.State state);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Metro[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="search_text" Type="System.String" />
<Parameter Name="state" Type="Mono.Upcoming.State" />
</Parameters>
<Docs>
<param name="search_text">To be added.</param>
<param name="state">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SearchMetro">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Metro[] SearchMetro (string search_text, Mono.Upcoming.Country country, Mono.Upcoming.State state);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Metro[]</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="search_text" Type="System.String" />
<Parameter Name="country" Type="Mono.Upcoming.Country" />
<Parameter Name="state" Type="Mono.Upcoming.State" />
</Parameters>
<Docs>
<param name="search_text">To be added.</param>
<param name="country">To be added.</param>
<param name="state">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="SetConnection">
<MemberSignature Language="C#" Value="protected void SetConnection (Mono.Upcoming.ConnectionWrapper[] wrappers);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="wrappers" Type="Mono.Upcoming.ConnectionWrapper[]" />
</Parameters>
<Docs>
<param name="wrappers">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="FrobUrl">
<MemberSignature Language="C#" Value="public string FrobUrl { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Type>

Просмотреть файл

@ -0,0 +1,29 @@
<Type Name="UpcomingException" FullName="Mono.Upcoming.UpcomingException">
<TypeSignature Language="C#" Value="public class UpcomingException : System.Exception" />
<AssemblyInfo>
<AssemblyName>Mono.Upcoming</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Exception</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UpcomingException (string msg);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="msg" Type="System.String" />
</Parameters>
<Docs>
<param name="msg">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Type>

Просмотреть файл

@ -0,0 +1,55 @@
<Type Name="UpcomingParam" FullName="Mono.Upcoming.UpcomingParam">
<TypeSignature Language="C#" Value="public class UpcomingParam" />
<AssemblyInfo>
<AssemblyName>Mono.Upcoming</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public UpcomingParam (string name, object value);" />
<MemberType>Constructor</MemberType>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="value" Type="System.Object" />
</Parameters>
<Docs>
<param name="name">To be added.</param>
<param name="value">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Name">
<MemberSignature Language="C#" Value="public string Name { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Value">
<MemberSignature Language="C#" Value="public object Value { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Type>

Просмотреть файл

@ -0,0 +1,146 @@
<Type Name="User" FullName="Mono.Upcoming.User">
<TypeSignature Language="C#" Value="public class User" />
<AssemblyInfo>
<AssemblyName>Mono.Upcoming</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public User ();" />
<MemberType>Constructor</MemberType>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="UserId">
<MemberSignature Language="C#" Value="public string UserId;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Name">
<MemberSignature Language="C#" Value="public string Name;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="name", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Username">
<MemberSignature Language="C#" Value="public string Username;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="username", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Zip">
<MemberSignature Language="C#" Value="public string Zip;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="zip", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="photourl">
<MemberSignature Language="C#" Value="public string photourl;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="photourl", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="url">
<MemberSignature Language="C#" Value="public string url;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="url", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="PhotoUrl">
<MemberSignature Language="C#" Value="public Uri PhotoUrl { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Uri</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Url">
<MemberSignature Language="C#" Value="public Uri Url { get; };" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Uri</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Type>

Просмотреть файл

@ -0,0 +1,351 @@
<Type Name="Venue" FullName="Mono.Upcoming.Venue">
<TypeSignature Language="C#" Value="public class Venue : Mono.Upcoming.ConnectionWrapper" />
<AssemblyInfo>
<AssemblyName>Mono.Upcoming</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Mono.Upcoming.ConnectionWrapper</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Venue ();" />
<MemberType>Constructor</MemberType>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ID">
<MemberSignature Language="C#" Value="public int ID;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Name">
<MemberSignature Language="C#" Value="public string Name;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="name", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="City">
<MemberSignature Language="C#" Value="public string City;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="city", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Address">
<MemberSignature Language="C#" Value="public string Address;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="address", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Zip">
<MemberSignature Language="C#" Value="public string Zip;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="zip", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Description">
<MemberSignature Language="C#" Value="public string Description;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="description", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Phone">
<MemberSignature Language="C#" Value="public string Phone;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="phone", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="url">
<MemberSignature Language="C#" Value="public string url;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="url", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="UserID">
<MemberSignature Language="C#" Value="public int UserID;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="user_id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="is_private">
<MemberSignature Language="C#" Value="public int is_private;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="private", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="MetroId">
<MemberSignature Language="C#" Value="public int MetroId;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="metro_id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="latitude">
<MemberSignature Language="C#" Value="public string latitude;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="latitude", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="longitude">
<MemberSignature Language="C#" Value="public string longitude;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="longitude", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GeocodingPrecision">
<MemberSignature Language="C#" Value="public string GeocodingPrecision;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="geocoding_precision", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="is_geocoding_ambiguous">
<MemberSignature Language="C#" Value="public string is_geocoding_ambiguous;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="geocoding_ambiguous", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Url">
<MemberSignature Language="C#" Value="public Uri Url { get; };" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlIgnore</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Uri</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="IsPrivate">
<MemberSignature Language="C#" Value="public bool IsPrivate { get; };" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlIgnore</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Latitude">
<MemberSignature Language="C#" Value="public float Latitude { get; };" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlIgnore</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Single</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Longitude">
<MemberSignature Language="C#" Value="public float Longitude { get; };" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlIgnore</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Single</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="IsGeocodingAmbiguous">
<MemberSignature Language="C#" Value="public bool IsGeocodingAmbiguous { get; };" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlIgnore</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Type>

Просмотреть файл

@ -0,0 +1,87 @@
<Type Name="Watch" FullName="Mono.Upcoming.Watch">
<TypeSignature Language="C#" Value="public class Watch : Mono.Upcoming.ConnectionWrapper" />
<AssemblyInfo>
<AssemblyName>Mono.Upcoming</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Mono.Upcoming.ConnectionWrapper</BaseTypeName>
</Base>
<Interfaces />
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Watch ();" />
<MemberType>Constructor</MemberType>
<Parameters />
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ID">
<MemberSignature Language="C#" Value="public int ID;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="EventID">
<MemberSignature Language="C#" Value="public int EventID;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="event_id", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Status">
<MemberSignature Language="C#" Value="public Mono.Upcoming.AttendStatus Status;" />
<MemberType>Field</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Xml.Serialization.XmlAttribute(AttributeName="status", DataType="", Form=System.Xml.Schema.XmlSchemaForm.None, Namespace=null, Type=null)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Mono.Upcoming.AttendStatus</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetEvent">
<MemberSignature Language="C#" Value="public Mono.Upcoming.Event GetEvent ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>Mono.Upcoming.Event</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Type>

Просмотреть файл

@ -0,0 +1,30 @@
<Overview>
<Assemblies>
<Assembly Name="Mono.Upcoming" Version="0.0.0.0" />
</Assemblies>
<Remarks>To be added.</Remarks>
<Copyright>To be added.</Copyright>
<Types>
<Namespace Name="Mono.Upcoming">
<Type Name="AuthenticatedConnection" />
<Type Name="UpcomingConnection" />
<Type Name="Category" />
<Type Name="ConnectionWrapper" />
<Type Name="Country" />
<Type Name="Event" />
<Type Name="Group" />
<Type Name="Metro" />
<Type Name="Response" />
<Type Name="State" />
<Type Name="Token" />
<Type Name="UpcomingParam" />
<Type Name="User" />
<Type Name="UpcomingException" />
<Type Name="Venue" />
<Type Name="Watch" />
<Type Name="Status" />
<Type Name="AttendStatus" />
</Namespace>
</Types>
<Title>Mono.Upcoming</Title>
</Overview>

32
examples/Authenticated.cs Normal file
Просмотреть файл

@ -0,0 +1,32 @@
using System;
using Mono.Upcoming;
public class Authenticated
{
static string API_KEY = "0a49a0f577";
public static void Main ()
{
AuthenticatedConnection connection = new AuthenticatedConnection (API_KEY);
Console.WriteLine ("Goto {0}", connection.FrobUrl);
Console.WriteLine ("Authenticate and paste the frob");
Console.Write("Here: ");
string frob = Console.ReadLine ();
Console.WriteLine ();
connection.CreateToken (frob);
Watch[] watches = connection.GetWatchList ();
foreach (Watch w in watches) {
Event e = w.GetEvent ();
Console.WriteLine ("Name: {0} - Id: {1}", e.Name, e.ID);
Console.WriteLine ("StartDate : {0}", e.StartDate);
Venue v = e.GetVenue ();
Console.WriteLine ("Venue: {0} - City: {1}", v.Name, v.City);
Console.WriteLine ();
}
}
}

14
examples/Makefile.am Normal file
Просмотреть файл

@ -0,0 +1,14 @@
SAMPLES=SearchEvents.cs Authenticated.cs
MCSFLAGS= -debug -nologo -r:Mono.Upcoming.dll
EXTRA_DIST=$(SAMPLES)
CLEANFILES= *.exe *.mdb *.pdb *.dll
noinst_SCRIPTS=$(SAMPLES:.cs=.exe)
%.exe: %.cs Mono.Upcoming.dll
$(MCS) $(MCSFLAGS) -out:$@ $<
Mono.Upcoming.dll: $(top_builddir)/src/Mono.Upcoming.dll
cp $(top_builddir)/src/Mono.Upcoming.dll* .

27
examples/SearchEvents.cs Normal file
Просмотреть файл

@ -0,0 +1,27 @@
using System;
using System.Text;
namespace Mono.Upcoming.Test
{
class Program
{
static string API_KEY = "0a49a0f577";
static void Main (string[] args)
{
UpcomingConnection connection = new UpcomingConnection (API_KEY);
Event[] evts = connection.SearchEvents ("fosdem");
foreach (Event e in evts) {
Console.WriteLine ("Name: {0} - Id: {1}", e.Name, e.ID);
Console.WriteLine ("StartDate : {0}", e.StartDate);
Venue v = e.GetVenue ();
Console.WriteLine ("Venue: {0} - City: {1}", v.Name, v.City);
Console.WriteLine ();
}
}
}
}

35
src/Makefile.am Normal file
Просмотреть файл

@ -0,0 +1,35 @@
pkgconfigdir=$(libdir)/pkgconfig
MCSFLAGS= -debug -nologo -r:System.Web.dll
monoupcomingdir = $(prefix)/lib/Mono.Upcoming
pkgconfig_DATA = mono-upcoming.pc
monoupcoming_SCRIPTS = Mono.Upcoming.dll
CLEANFILES = Mono.Upcoming.dll*
#
monoupcoming_references=
monoupcoming_sources = \
Mono.Upcoming/AuthenticatedConnection.cs \
Mono.Upcoming/Category.cs \
Mono.Upcoming/ConnectionWrapper.cs \
Mono.Upcoming/Country.cs \
Mono.Upcoming/Event.cs \
Mono.Upcoming/Group.cs \
Mono.Upcoming/Metro.cs \
Mono.Upcoming/Response.cs \
Mono.Upcoming/State.cs \
Mono.Upcoming/Token.cs \
Mono.Upcoming/UpcomingConnection.cs \
Mono.Upcoming/UpcomingParam.cs \
Mono.Upcoming/UpcomingUtil.cs \
Mono.Upcoming/User.cs \
Mono.Upcoming/Venue.cs \
Mono.Upcoming/Watch.cs
monoupcoming_build_sources = $(addprefix $(srcdir)/, $(monoupcoming_sources))
Mono.Upcoming.dll: $(monoupcoming_build_sources)
$(MCS) $(MCSFLAGS) $(monoupcoming_references) /target:library /out:$@ $(monoupcoming_build_sources)

Просмотреть файл

@ -0,0 +1,36 @@
// AssemblyInfo.cs for Mono.Upcoming.dll
//
// Authors:
// Thomas Van Machelen (thomas.vanmachelen@gmail.com)
//
// Copyright (c) 2007 Novell, Inc. (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyVersion("0.1.0")]
[assembly: AssemblyTitle ("Mono.Upcoming")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyCopyright ("(c) 2006 Novell, Inc.")]
[assembly: AssemblyCompany ("Novell, Inc.")]

Просмотреть файл

@ -0,0 +1,36 @@
// AssemblyInfo.cs for Mono.Upcoming.dll
//
// Authors:
// Thomas Van Machelen (thomas.vanmachelen@gmail.com)
//
// Copyright (c) 2007 Novell, Inc. (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyVersion("@VERSION@")]
[assembly: AssemblyTitle ("Mono.Upcoming")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyCopyright ("(c) 2006 Novell, Inc.")]
[assembly: AssemblyCompany ("Novell, Inc.")]

Просмотреть файл

@ -0,0 +1,271 @@
using System;
using System.Text;
using System.Collections;
namespace Mono.Upcoming
{
public class AuthenticatedConnection : UpcomingConnection
{
private Token token;
public Token Token {
get { return token; }
}
public AuthenticatedConnection (string api_key)
: this (null, api_key)
{ }
public AuthenticatedConnection (string token, string api_key)
: base (api_key)
{
if (token == null)
return;
CheckToken (token);
}
public void CreateToken (string frob)
{
Response rsp = Util.Get ("auth.getToken", new UpcomingParam ("frob", frob));
token = rsp.Token;
}
private void CheckToken (string token)
{
Response rsp = Util.Get ("auth.checkToken", new UpcomingParam ("token", token));
this.token = rsp.Token;
}
public Metro[] GetMetroList ()
{
Response rsp = Util.Get ("user.getMetroList", new UpcomingParam ("token", token.TokenString));
foreach (Metro m in rsp.Metros)
m.Connection = this;
return rsp.Metros;
}
public User GetUserInfo ()
{
return base.GetUserInfo (token.UserId);
}
public Group[] GetMyGroups ()
{
Response rsp = Util.Get ("group.getMyGroups", new UpcomingParam ("token", Token.TokenString));
SetConnection (rsp.Groups);
return rsp.Groups;
}
public Watch[] GetWatchList ()
{
Response rsp = Util.Get ("watchlist.getList", new UpcomingParam ("token", token.TokenString));
SetConnection (rsp.Watches);
return rsp.Watches;
}
public Event AddEvent (string name, Venue venue, Category category, DateTime start_date)
{
return AddEvent (name, venue, category, start_date, null, null, false, false);
}
// Fixme: currently no end date support
public Event AddEvent (string name, Venue venue, Category category, DateTime start_date,
string description, Uri url, bool personal, bool selfpromotion)
{
System.Collections.ArrayList param_list = new System.Collections.ArrayList ();
param_list.Add (new UpcomingParam ("token", Token.TokenString));
param_list.Add (new UpcomingParam ("name", name));
param_list.Add (new UpcomingParam ("venue_id", venue.ID));
param_list.Add (new UpcomingParam ("category_id", category.ID));
param_list.Add (new UpcomingParam ("start_date", start_date.ToString ("YYYY-MM-DD")));
param_list.Add (new UpcomingParam ("start_time", start_date.ToString ("HH:MM:SS")));
if (description != null && description != string.Empty)
param_list.Add (new UpcomingParam ("description", description));
if (url != null)
param_list.Add (new UpcomingParam ("url", url.ToString ()));
if (personal)
param_list.Add (new UpcomingParam ("personal", 1));
if (selfpromotion)
param_list.Add (new UpcomingParam ("selfpromotion", 1));
UpcomingParam[] param_array = (UpcomingParam[]) param_list.ToArray (typeof (UpcomingParam));
Response rsp = Util.Post ("event.add", param_array);
return rsp.Events[0];
}
public Event EditEvent (Event event_to_edit)
{
if (event_to_edit.UserID != Token.UserId)
throw new UpcomingException ("User Id must match Owner Id to be able to edit events");
System.Collections.ArrayList param_list = new System.Collections.ArrayList ();
param_list.Add (new UpcomingParam ("token", Token.TokenString));
param_list.Add (new UpcomingParam ("name", event_to_edit.Name));
param_list.Add (new UpcomingParam ("venue_id", event_to_edit.VenueID));
param_list.Add (new UpcomingParam ("category_id", event_to_edit.CategoryID));
param_list.Add (new UpcomingParam ("start_date", event_to_edit.StartDate.ToString ("YYYY-MM-DD")));
param_list.Add (new UpcomingParam ("start_time", event_to_edit.StartDate.ToString ("HH:MM:SS")));
if (event_to_edit.Description != null && event_to_edit.Description != string.Empty)
param_list.Add (new UpcomingParam ("description", event_to_edit.Description));
if (event_to_edit.Personal)
param_list.Add (new UpcomingParam ("personal", 1));
if (event_to_edit.SelfPromotion)
param_list.Add (new UpcomingParam ("selfpromotion", 1));
UpcomingParam[] param_array = (UpcomingParam[])param_list.ToArray (typeof (UpcomingParam));
Response rsp = Util.Post ("event.edit", param_array);
return rsp.Events[0];
}
public void AddTagsToEvent (Event event_to_edit, string tags)
{
Util.Post ("event.addTags", new UpcomingParam ("token", Token.TokenString),
new UpcomingParam ("event_id", event_to_edit.ID),
new UpcomingParam ("tags", tags));
}
public void RemoveTagFromEvent (Event event_to_edit, string tag)
{
Util.Post ("event.removeTag", new UpcomingParam ("token", Token.TokenString),
new UpcomingParam ("event_id", event_to_edit.ID),
new UpcomingParam ("tag", tag));
}
public Venue AddVenue (string venuename, string venueaddress, string venuecity, Metro metro, string venuezip, string venuephone,
Uri venueurl, string venuedescription, bool is_private)
{
ArrayList param_list = CreateVenueParams (venuename, venueaddress, venuecity, metro.ID, venuezip, venuephone, venueurl.ToString (), venuedescription, is_private);
param_list.Add (new UpcomingParam ("token", Token.TokenString));
UpcomingParam[] param_array = (UpcomingParam[])param_list.ToArray (typeof (UpcomingParam));
Response rsp = Util.Post ("venue.add", param_array);
return rsp.Venues[0];
}
public void EditVenue (Venue venue)
{
ArrayList param_list = CreateVenueParams (venue.Name, venue.Address, venue.City, venue.MetroId, venue.Zip,
venue.Phone, venue.url, venue.Description, venue.IsPrivate);
param_list.Add (new UpcomingParam ("venue_id", venue.ID));
param_list.Add (new UpcomingParam ("token", Token.TokenString));
UpcomingParam[] param_array = (UpcomingParam[])param_list.ToArray (typeof (UpcomingParam));
Util.Post ("venue.edit", param_array);
}
private static ArrayList CreateVenueParams (string venuename, string venueaddress, string venuecity, int metro_id, string venuezip, string venuephone,
string venueurl, string venuedescription, bool is_private)
{
System.Collections.ArrayList param_list = new System.Collections.ArrayList ();
param_list.Add (new UpcomingParam ("venuename", venuename));
param_list.Add (new UpcomingParam ("venueaddress", venueaddress));
param_list.Add (new UpcomingParam ("venuecity", venuecity));
param_list.Add (new UpcomingParam ("metro_id", metro_id));
if (venuezip != null && venuezip != string.Empty)
param_list.Add (new UpcomingParam ("venuezip", venuename));
if (venuephone != null && venuephone != string.Empty)
param_list.Add (new UpcomingParam ("venuephone", venuephone));
if (venueurl != null)
param_list.Add (new UpcomingParam ("venueurl", venueurl));
if (venuedescription != null && venuedescription != string.Empty)
param_list.Add (new UpcomingParam ("venuedescription", venuedescription));
if (is_private)
param_list.Add (new UpcomingParam ("private", 1));
return param_list;
}
public int AddEventToWatchList (Event event_to_add)
{
return this.AddEventToWatchList (event_to_add, AttendStatus.Watch);
}
public int AddEventToWatchList (Event event_to_add, AttendStatus status)
{
Response rsp = Util.Post ("watchlist.add", new UpcomingParam ("token", Token.TokenString),
new UpcomingParam ("event_id", event_to_add.ID),
new UpcomingParam ("status", status.ToString ().ToLower ())
);
return rsp.Watches[0].ID;
}
public void RemoveWatch (Watch watch)
{
Util.Post ("watchlist.remove", new UpcomingParam ("token", Token.TokenString),
new UpcomingParam ("watchlist_id", watch.ID));
}
internal override Group[] GetGroups (int event_id)
{
Response rsp = Util.Get ("event.getGroups",
new UpcomingParam ("event_id", event_id),
new UpcomingParam ("token", Token.TokenString));
foreach (Group group in rsp.Groups)
group.Connection = this;
return rsp.Groups;
}
internal override Venue[] GetVenues (int metro_id)
{
Response rsp = Util.Get ("venue.getList", new UpcomingParam ("metro_id", metro_id),
new UpcomingParam ("token", Token.TokenString));
foreach (Venue venue in rsp.Venues)
venue.Connection = this;
return rsp.Venues;
}
internal override User[] GetGroupMembers (int group_id, int page_nr, int members_per_page)
{
Response rsp = Util.Get ("group.getMembers", new UpcomingParam ("group_id", group_id),
new UpcomingParam ("page", page_nr),
new UpcomingParam ("membersPerPage", members_per_page),
new UpcomingParam ("token", Token.TokenString));
return rsp.Users;
}
internal override Event[] GetGroupEvents (int group_id, int page_nr, int events_per_page)
{
Response rsp = Util.Get ("group.getEvents", new UpcomingParam ("group_id", group_id),
new UpcomingParam ("page", page_nr),
new UpcomingParam ("eventsPerPage", events_per_page),
new UpcomingParam ("token", Token.TokenString));
foreach (Event evt in rsp.Events)
evt.Connection = this;
return rsp.Events;
}
}
}

Просмотреть файл

@ -0,0 +1,16 @@
using System.Xml.Serialization;
namespace Mono.Upcoming
{
public class Category
{
[XmlAttribute ("id")]
public string ID;
[XmlAttribute ("name")]
public string Name;
[XmlAttribute ("description")]
public string Description;
}
}

Просмотреть файл

@ -0,0 +1,21 @@
using System.Xml.Serialization;
namespace Mono.Upcoming
{
public abstract class ConnectionWrapper
{
protected UpcomingConnection connection;
[XmlIgnore ()]
public UpcomingConnection Connection {
get { return connection; }
set { connection = value; }
}
public void ApplyConnection (ConnectionWrapper[] wrappers)
{
foreach (ConnectionWrapper w in wrappers)
w.Connection = this.connection;
}
}
}

Просмотреть файл

@ -0,0 +1,25 @@
using System.Xml.Serialization;
using System.Xml.Schema;
namespace Mono.Upcoming
{
public class Country : ConnectionWrapper
{
[XmlAttribute ("id")]
public int ID;
[XmlAttribute ("name")]
public string Name;
[XmlAttribute ("code")]
public string Code;
public State[] GetStateList ()
{
Response rsp = connection.Util.Get ("metro.getStateList", new UpcomingParam ("country_id", ID));
ApplyConnection (rsp.States);
return rsp.States;
}
}
}

148
src/Mono.Upcoming/Event.cs Normal file
Просмотреть файл

@ -0,0 +1,148 @@
using System.Xml.Serialization;
namespace Mono.Upcoming
{
public class Event : ConnectionWrapper
{
[XmlAttribute ("id")]
public int ID;
[XmlAttribute ("name")]
public string Name;
[XmlAttribute ("tags")]
public string Tags;
[XmlAttribute ("description")]
public string Description;
[XmlAttribute ("start_date")]
public string start_date;
[XmlIgnore ()]
public System.DateTime StartDate
{
get {
try
{
return System.DateTime.Parse (start_date);
}
catch
{
return new System.DateTime (0);
}
}
}
[XmlAttribute ("end_date")]
public string end_date;
[XmlIgnore ()]
public System.DateTime EndDate
{
get
{
try
{
return System.DateTime.Parse (end_date);
}
catch
{
return new System.DateTime (0);
}
}
}
[XmlAttribute ("personal")]
public int personal;
public bool Personal {
get { return personal == 1 ? true : false; }
}
[XmlAttribute ("self_promotion")]
public int self_promotion;
public bool SelfPromotion {
get { return self_promotion == 1 ? true : false; }
}
[XmlAttribute ("metro_id")]
public int MetroID;
[XmlAttribute ("venue_id")]
public int VenueID;
[XmlAttribute ("user_id")]
public int UserID;
[XmlAttribute ("category_id")]
public int CategoryID;
[XmlAttribute ("date_posted")]
public string date_posted;
[XmlAttribute ("latitude")]
public string latitude;
public float Latitude {
get {
try {
return float.Parse (latitude);
}
catch {
return 0.0F;
}
}
}
[XmlAttribute ("longitude")]
public string longitude;
public float Longitude {
get {
try {
return float.Parse (longitude);
}
catch {
return 0.0F;
}
}
}
[XmlAttribute ("geocoding_precision")]
public string GeocodingPrecision;
[XmlAttribute ("geocoding_ambiguous")]
public string geocoding_ambiguous;
public bool GeocodingAmbiguous {
get {
if (geocoding_ambiguous == "1")
return true;
else
return false;
}
}
public Metro GetMetro ()
{
return connection.GetMetro (MetroID);
}
public Venue GetVenue ()
{
return connection.GetVenue (VenueID);
}
public User GetUser ()
{
return connection.GetUserInfo (UserID);
}
public Group[] GetGroups ()
{
return connection.GetGroups (ID);
}
}
}

Просмотреть файл

@ -0,0 +1,58 @@
using System.Xml.Serialization;
namespace Mono.Upcoming
{
public class Group : ConnectionWrapper
{
[XmlAttribute ("id")]
public int ID;
[XmlAttribute ("name")]
public string Name;
[XmlAttribute ("description")]
public string Description;
[XmlAttribute ("moderation_level")]
public string ModerationLevel;
[XmlAttribute ("is_private")]
public int is_private;
public bool IsPrivate {
get { return is_private == 1 ? true : false; }
}
[XmlAttribute ("timestamp")]
public string timestamp;
public System.DateTime Timestamp {
get { return System.DateTime.Parse (timestamp); }
}
[XmlAttribute ("owner_user_id")]
public int OwnerUserId;
[XmlAttribute ("commercial_account_id")]
public int CommercialAccountId;
[XmlAttribute ("num_members")]
public int NumberOfMembers;
public User GetOwner ()
{
return connection.GetUserInfo (OwnerUserId);
}
public User[] GetMembers (int page_nr, int members_per_page)
{
return connection.GetGroupMembers (ID, page_nr, members_per_page);
}
public Event[] GetEvents (int page_nr, int events_per_page)
{
return connection.GetGroupEvents (ID, page_nr, events_per_page);
}
}
}

Просмотреть файл

@ -0,0 +1,29 @@
using System.Xml.Serialization;
namespace Mono.Upcoming
{
public class Metro : ConnectionWrapper
{
[XmlAttribute ("id")]
public int ID;
[XmlAttribute ("name")]
public string Name;
[XmlAttribute ("code")]
public string Code;
[XmlAttribute ("state_id")]
public int StateId;
public State GetState ()
{
return connection.GetState (StateId);
}
public Venue[] GetVenues ()
{
return connection.GetVenues (ID);
}
}
}

Просмотреть файл

@ -0,0 +1,49 @@
using System.Xml.Serialization;
namespace Mono.Upcoming
{
[XmlRoot ("rsp")]
public class Response
{
[XmlAttribute ("stat")]
public Status Status;
[XmlElement ("category")]
public Category[] Categories;
[XmlElement ("country")]
public Country[] Countries;
[XmlElement ("event")]
public Event[] Events;
[XmlElement ("group")]
public Group[] Groups;
[XmlElement ("metro")]
public Metro[] Metros;
[XmlElement ("state")]
public State[] States;
[XmlElement ("token")]
public Token Token;
[XmlElement ("user")]
public User[] Users;
[XmlElement ("venue")]
public Venue[] Venues;
[XmlElement ("watchlist")]
public Watch[] Watches;
}
public enum Status
{
[XmlEnum ("ok")]
OK,
[XmlEnum ("failed")]
Failed
}
}

Просмотреть файл

@ -0,0 +1,35 @@
using System.Xml.Serialization;
namespace Mono.Upcoming
{
public class State : ConnectionWrapper
{
[XmlAttribute ("id")]
public int ID;
[XmlAttribute ("name")]
public string Name;
[XmlAttribute ("code")]
public string Code;
[XmlAttribute ("country_id")]
public int CountryID;
public Metro[] GetMetroList ()
{
Response rsp = connection.Util.Get ("metro.getList", new UpcomingParam ("state_id", ID));
ApplyConnection (rsp.Metros);
return rsp.Metros;
}
public Country GetCountry ()
{
Response rsp = connection.Util.Get ("country.getInfo", new UpcomingParam ("country_id", CountryID));
ApplyConnection (rsp.Countries);
return rsp.Countries[0];
}
}
}

Просмотреть файл

@ -0,0 +1,19 @@
using System.Xml.Serialization;
namespace Mono.Upcoming
{
public class Token
{
[XmlAttribute ("token")]
public string TokenString;
[XmlAttribute ("user_id")]
public int UserId;
[XmlAttribute ("user_name")]
public string UserFullName;
[XmlAttribute ("user_username")]
public string UserName;
}
}

Просмотреть файл

@ -0,0 +1,192 @@
using System;
using System.Text;
namespace Mono.Upcoming
{
public class UpcomingConnection
{
private UpcomingUtil util;
internal UpcomingUtil Util {
get { return util; }
}
public string FrobUrl {
get {
return string.Format ("http://upcoming.org/services/auth/?api_key={0}", Util.APIKey);
}
}
public UpcomingConnection (string api_key)
{
this.util = new UpcomingUtil (api_key);
}
public Category[] GetCategoryList ()
{
Response rsp = Util.Get ("category.getList");
return rsp.Categories;
}
public Event[] SearchEvents (string search_text)
{
Response rsp = Util.Get ("event.search", new UpcomingParam ("search_text", search_text));
SetConnection (rsp.Events);
return rsp.Events;
}
public Country[] GetCountryList ()
{
Response rsp = Util.Get ("metro.getCountryList");
SetConnection (rsp.Countries);
return rsp.Countries;
}
public Metro[] GetByLatLon (float latitude, float longitude)
{
Response rsp = Util.Get ("metro.getForLatLon", new UpcomingParam ("latitude", latitude),
new UpcomingParam ("longitude", longitude));
SetConnection (rsp.Metros);
return rsp.Metros;
}
public User GetUserInfo (int user_id)
{
Response rsp = Util.Get ("user.getInfo", new UpcomingParam ("user_id", user_id));
return rsp.Users[0];
}
public User GetUserInfoByUsername (string username)
{
Response rsp = Util.Get ("user.getInfoByUsername", new UpcomingParam ("username", username));
return rsp.Users[0];
}
public Metro[] SearchMetro (string search_text)
{
return SearchMetro (search_text, null, null);
}
public Metro[] SearchMetro (string search_text, Country country)
{
return SearchMetro (search_text, country, null);
}
public Metro[] SearchMetro (string search_text, State state)
{
return SearchMetro (search_text, null, state);
}
public Metro[] SearchMetro (string search_text, Country country, State state)
{
System.Collections.ArrayList list = new System.Collections.ArrayList ();
list.Add (new UpcomingParam ("search_text", search_text));
if (country != null)
list.Add (new UpcomingParam ("country_id", country.ID));
if (state != null)
list.Add (new UpcomingParam ("state_id", state.ID));
Response rsp = Util.Get ("metro.search", (UpcomingParam[])list.ToArray (typeof (UpcomingParam)));
SetConnection (rsp.Metros);
return rsp.Metros;
}
internal Country GetCountry (int country_id)
{
Response rsp = Util.Get ("country.getInfo", new UpcomingParam ("country_id", country_id));
SetConnection (rsp.Countries);
return rsp.Countries[0];
}
internal State GetState (int state_id)
{
Response rsp = Util.Get ("state.getInfo", new UpcomingParam ("state_id", state_id));
SetConnection (rsp.States);
return rsp.States[0];
}
internal Metro GetMetro (int metro_id)
{
Response rsp = Util.Get ("metro.getInfo", new UpcomingParam ("metro_id", metro_id));
SetConnection (rsp.Metros);
return rsp.Metros[0];
}
internal Venue GetVenue (int venue_id)
{
Response rsp = Util.Get ("venue.getInfo", new UpcomingParam ("venue_id", venue_id));
SetConnection (rsp.Venues);
return rsp.Venues[0];
}
internal Event GetEvent (int event_id)
{
Response rsp = Util.Get ("event.getInfo", new UpcomingParam ("event_id", event_id));
SetConnection (rsp.Events);
return rsp.Events[0];
}
internal virtual Group[] GetGroups (int event_id)
{
Response rsp = Util.Get ("event.getGroups", new UpcomingParam ("event_id", event_id));
SetConnection (rsp.Groups);
return rsp.Groups;
}
internal virtual Venue[] GetVenues (int metro_id)
{
Response rsp = Util.Get ("venue.getList", new UpcomingParam ("metro_id", metro_id));
SetConnection (rsp.Venues);
return rsp.Venues;
}
//FIXME: we shouldn't need to pass the page_nr and members_per_page parameters, but otherwise the call fails
internal virtual User[] GetGroupMembers (int group_id, int page_nr, int members_per_page)
{
Response rsp = Util.Get ("group.getMembers", new UpcomingParam ("group_id", group_id),
new UpcomingParam ("page", page_nr),
new UpcomingParam ("membersPerPage", members_per_page));
return rsp.Users;
}
//FIXME: we shouldn't need to pass the page_nr and events_per_page parameters, but otherwise the call fails
internal virtual Event[] GetGroupEvents (int group_id, int page_nr, int events_per_page)
{
Response rsp = Util.Get ("group.getEvents", new UpcomingParam ("group_id", group_id),
new UpcomingParam ("page", page_nr),
new UpcomingParam ("eventsPerPage", events_per_page));
SetConnection (rsp.Events);
return rsp.Events;
}
protected void SetConnection (ConnectionWrapper[] wrappers)
{
if (wrappers == null)
return;
foreach (ConnectionWrapper w in wrappers)
w.Connection = this;
}
}
}

Просмотреть файл

@ -0,0 +1,27 @@
namespace Mono.Upcoming
{
public class UpcomingParam
{
private string name;
private object value;
public string Name {
get { return name; }
}
public object Value {
get { return value; }
}
public override string ToString ()
{
return string.Format ("&{0}={1}", System.Web.HttpUtility.UrlEncode (Name), System.Web.HttpUtility.UrlEncode (Value.ToString ()));
}
public UpcomingParam (string name, object value)
{
this.name = name;
this.value = value;
}
}
}

Просмотреть файл

@ -0,0 +1,138 @@
using System;
using System.Text;
using System.Xml;
using System.Net;
using System.IO;
using System.Xml.Serialization;
using System.Security;
namespace Mono.Upcoming
{
internal class UpcomingUtil
{
private static readonly string URL = "http://upcoming.org/services/rest/?";
private static XmlSerializer response_serializer;
private string api_key;
public string APIKey {
get { return api_key; }
}
static UpcomingUtil () {
response_serializer = new XmlSerializer (typeof (Response));
}
public UpcomingUtil (string api_key)
{
this.api_key = api_key;
}
public Response Get (string method_name, params UpcomingParam[] parameters)
{
string parameter_string = FormatParameters (method_name, parameters);
return GetParameters (parameter_string);
}
public Response Post (string method_name, params UpcomingParam[] parameters)
{
string parameter_string = FormatParameters (method_name, parameters);
return PostParameters (parameter_string);
}
private string FormatParameters (string method_name, params UpcomingParam[] parameters)
{
StringBuilder builder = new StringBuilder (string.Format ("api_key={0}&method={1}", api_key, method_name));
foreach (UpcomingParam param in parameters)
builder.Append (param.ToString ());
return builder.ToString ();
}
private static string GetString (string url)
{
HttpWebRequest request = HttpWebRequest.Create (url) as HttpWebRequest;
request.Credentials = CredentialCache.DefaultCredentials;
WebResponse response = request.GetResponse ();
string result = new StreamReader (response.GetResponseStream ()).ReadToEnd ();
response.Close ();
return result;
}
private static Response GetParameters (string parameters)
{
string url = string.Format ("{0}{1}", URL, parameters);
HttpWebRequest request = HttpWebRequest.Create (url) as HttpWebRequest;
request.Credentials = CredentialCache.DefaultCredentials;
WebResponse response = null;
try {
response = request.GetResponse ();
// Console.WriteLine (GetString (url));
return (Response)response_serializer.Deserialize (response.GetResponseStream ());
}
catch (WebException ex) {
throw new UpcomingException (ex.Message);
}
finally {
if (response != null)
response.Close ();
}
}
private static Response PostParameters (string parameter_string)
{
WebRequest conn;
try {
conn = WebRequest.Create (URL);
}
catch (SecurityException) {
throw;
}
conn.Method = "POST";
conn.ContentType = "application/x-www-form-urlencoded";
byte[] buf = Encoding.UTF8.GetBytes (parameter_string);
conn.ContentLength = buf.Length;
Stream stream = conn.GetRequestStream ();
try {
stream.Write (buf, 0, buf.Length);
}
catch (IOException) {
throw;
}
finally {
stream.Close ();
}
WebResponse response = null;
// FIXME ugh... we shouldn't need to trap any exceptions
// but apparently upcoming.org returns 404 Not found exception
// on e.g. "watchlist.remove", so we don't want to die on the response giving errors.
// There ain't much we can do about it for now though.
try {
response = conn.GetResponse ();
return (Response)response_serializer.Deserialize (response.GetResponseStream ());
}
catch {
return null;
}
finally {
if (response != null)
response.Close ();
}
}
}
public class UpcomingException : Exception
{
public UpcomingException (string msg)
: base (msg)
{ }
}
}

47
src/Mono.Upcoming/User.cs Normal file
Просмотреть файл

@ -0,0 +1,47 @@
using System.Xml.Serialization;
namespace Mono.Upcoming
{
public class User
{
[XmlAttribute ("id")]
public string UserId;
[XmlAttribute ("name")]
public string Name;
[XmlAttribute ("username")]
public string Username;
[XmlAttribute ("zip")]
public string Zip;
[XmlAttribute ("photourl")]
public string photourl;
public System.Uri PhotoUrl {
get {
try {
return new System.Uri (photourl);
}
catch {
return null;
}
}
}
[XmlAttribute ("url")]
public string url;
public System.Uri Url {
get {
try {
return new System.Uri (url);
}
catch {
return null;
}
}
}
}
}

Просмотреть файл

@ -0,0 +1,99 @@
using System.Xml.Serialization;
namespace Mono.Upcoming
{
public class Venue : ConnectionWrapper
{
[XmlAttribute ("id")]
public int ID;
[XmlAttribute ("name")]
public string Name;
[XmlAttribute ("city")]
public string City;
[XmlAttribute ("address")]
public string Address;
[XmlAttribute ("zip")]
public string Zip;
[XmlAttribute ("description")]
public string Description;
[XmlAttribute ("phone")]
public string Phone;
[XmlAttribute ("url")]
public string url;
[XmlIgnore ()]
public System.Uri Url {
get {
try {
return new System.Uri (url);
}
catch {
return null;
}
}
}
[XmlAttribute ("user_id")]
public int UserID;
[XmlAttribute ("private")]
public int is_private;
[XmlIgnore ()]
public bool IsPrivate {
get { return is_private == 1 ? true : false; }
}
[XmlAttribute ("metro_id")]
public int MetroId;
[XmlAttribute ("latitude")]
public string latitude;
[XmlIgnore ()]
public float Latitude {
get {
try {
return float.Parse (latitude);
}
catch {
return 0.0F;
}
}
}
[XmlAttribute ("longitude")]
public string longitude;
[XmlIgnore ()]
public float Longitude {
get {
try {
return float.Parse (longitude);
}
catch {
return 0.0F;
}
}
}
[XmlAttribute ("geocoding_precision")]
public string GeocodingPrecision;
[XmlAttribute ("geocoding_ambiguous")]
public string is_geocoding_ambiguous;
[XmlIgnore ()]
public bool IsGeocodingAmbiguous {
get { return is_geocoding_ambiguous == "1" ? true : false; }
}
}
}

Просмотреть файл

@ -0,0 +1,29 @@
using System.Xml.Serialization;
namespace Mono.Upcoming
{
public enum AttendStatus
{
[XmlEnum ("attend")]
Attend,
[XmlEnum ("watch")]
Watch
}
public class Watch : ConnectionWrapper
{
[XmlAttribute ("id")]
public int ID;
[XmlAttribute ("event_id")]
public int EventID;
[XmlAttribute ("status")]
public AttendStatus Status;
public Event GetEvent ()
{
return connection.GetEvent (EventID);
}
}
}

8
src/mono-upcoming.pc.in Normal file
Просмотреть файл

@ -0,0 +1,8 @@
prefix=@prefix@
assemblies_dir=${prefix}/lib/Mono.Upcoming
Libraries=${assemblies_dir}/Mono.Upcoming.dll
Name: Mono.Upcoming
Description: Mono.Upcoming.dll -
Version: 0.1
Libs: -r:${assemblies_dir}/Mono.Upcoming.dll