00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #pragma warning disable 1591
00015
00016 namespace Mcs.Epm.MicrosoftProject.mpFx.EventsWebService {
00017 using System.Diagnostics;
00018 using System.Web.Services;
00019 using System.ComponentModel;
00020 using System.Web.Services.Protocols;
00021 using System;
00022 using System.Xml.Serialization;
00023
00024
00025
00026 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
00027 [System.Diagnostics.DebuggerStepThroughAttribute()]
00028 [System.ComponentModel.DesignerCategoryAttribute("code")]
00029 [System.Web.Services.WebServiceBindingAttribute(Name="EventsSoap", Namespace="http://schemas.microsoft.com/office/project/server/webservices/Events/")]
00030 public partial class Events : System.Web.Services.Protocols.SoapHttpClientProtocol {
00031
00032 private System.Threading.SendOrPostCallback ReadEventsListOperationCompleted;
00033
00034 private System.Threading.SendOrPostCallback CreateEventHandlerAssociationsOperationCompleted;
00035
00036 private System.Threading.SendOrPostCallback UpdateEventHandlerAssociationsOperationCompleted;
00037
00038 private System.Threading.SendOrPostCallback ReadEventHandlerAssociationsForEventOperationCompleted;
00039
00040 private System.Threading.SendOrPostCallback ReadEventHandlerAssociationOperationCompleted;
00041
00042 private System.Threading.SendOrPostCallback ReadEventHandlerAssociationsOperationCompleted;
00043
00044 private System.Threading.SendOrPostCallback DeleteEventHandlerAssociationsOperationCompleted;
00045
00046 private bool useDefaultCredentialsSetExplicitly;
00047
00048
00049 public Events() {
00050 this.Url = global::Mcs.Epm.MicrosoftProject.mpFx.Properties.Settings.Default.Mcs_Epm_MicrosoftProject_mpFx_EventsWebService_Events;
00051 if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
00052 this.UseDefaultCredentials = true;
00053 this.useDefaultCredentialsSetExplicitly = false;
00054 }
00055 else {
00056 this.useDefaultCredentialsSetExplicitly = true;
00057 }
00058 }
00059
00060 public new string Url {
00061 get {
00062 return base.Url;
00063 }
00064 set {
00065 if ((((this.IsLocalFileSystemWebService(base.Url) == true)
00066 && (this.useDefaultCredentialsSetExplicitly == false))
00067 && (this.IsLocalFileSystemWebService(value) == false))) {
00068 base.UseDefaultCredentials = false;
00069 }
00070 base.Url = value;
00071 }
00072 }
00073
00074 public new bool UseDefaultCredentials {
00075 get {
00076 return base.UseDefaultCredentials;
00077 }
00078 set {
00079 base.UseDefaultCredentials = value;
00080 this.useDefaultCredentialsSetExplicitly = true;
00081 }
00082 }
00083
00084
00085 public event ReadEventsListCompletedEventHandler ReadEventsListCompleted;
00086
00087
00088 public event CreateEventHandlerAssociationsCompletedEventHandler CreateEventHandlerAssociationsCompleted;
00089
00090
00091 public event UpdateEventHandlerAssociationsCompletedEventHandler UpdateEventHandlerAssociationsCompleted;
00092
00093
00094 public event ReadEventHandlerAssociationsForEventCompletedEventHandler ReadEventHandlerAssociationsForEventCompleted;
00095
00096
00097 public event ReadEventHandlerAssociationCompletedEventHandler ReadEventHandlerAssociationCompleted;
00098
00099
00100 public event ReadEventHandlerAssociationsCompletedEventHandler ReadEventHandlerAssociationsCompleted;
00101
00102
00103 public event DeleteEventHandlerAssociationsCompletedEventHandler DeleteEventHandlerAssociationsCompleted;
00104
00105
00106 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Events/ReadEventsL" +
00107 "ist", RequestNamespace="http://schemas.microsoft.com/office/project/server/webservices/Events/", ResponseNamespace="http://schemas.microsoft.com/office/project/server/webservices/Events/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
00108 public EventsDataSet ReadEventsList() {
00109 object[] results = this.Invoke("ReadEventsList", new object[0]);
00110 return ((EventsDataSet)(results[0]));
00111 }
00112
00113
00114 public void ReadEventsListAsync() {
00115 this.ReadEventsListAsync(null);
00116 }
00117
00118
00119 public void ReadEventsListAsync(object userState) {
00120 if ((this.ReadEventsListOperationCompleted == null)) {
00121 this.ReadEventsListOperationCompleted = new System.Threading.SendOrPostCallback(this.OnReadEventsListOperationCompleted);
00122 }
00123 this.InvokeAsync("ReadEventsList", new object[0], this.ReadEventsListOperationCompleted, userState);
00124 }
00125
00126 private void OnReadEventsListOperationCompleted(object arg) {
00127 if ((this.ReadEventsListCompleted != null)) {
00128 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
00129 this.ReadEventsListCompleted(this, new ReadEventsListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
00130 }
00131 }
00132
00133
00134 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Events/CreateEvent" +
00135 "HandlerAssociations", RequestNamespace="http://schemas.microsoft.com/office/project/server/webservices/Events/", ResponseNamespace="http://schemas.microsoft.com/office/project/server/webservices/Events/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
00136 public void CreateEventHandlerAssociations(EventHandlersDataSet eventHandlers) {
00137 this.Invoke("CreateEventHandlerAssociations", new object[] {
00138 eventHandlers});
00139 }
00140
00141
00142 public void CreateEventHandlerAssociationsAsync(EventHandlersDataSet eventHandlers) {
00143 this.CreateEventHandlerAssociationsAsync(eventHandlers, null);
00144 }
00145
00146
00147 public void CreateEventHandlerAssociationsAsync(EventHandlersDataSet eventHandlers, object userState) {
00148 if ((this.CreateEventHandlerAssociationsOperationCompleted == null)) {
00149 this.CreateEventHandlerAssociationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateEventHandlerAssociationsOperationCompleted);
00150 }
00151 this.InvokeAsync("CreateEventHandlerAssociations", new object[] {
00152 eventHandlers}, this.CreateEventHandlerAssociationsOperationCompleted, userState);
00153 }
00154
00155 private void OnCreateEventHandlerAssociationsOperationCompleted(object arg) {
00156 if ((this.CreateEventHandlerAssociationsCompleted != null)) {
00157 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
00158 this.CreateEventHandlerAssociationsCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
00159 }
00160 }
00161
00162
00163 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Events/UpdateEvent" +
00164 "HandlerAssociations", RequestNamespace="http://schemas.microsoft.com/office/project/server/webservices/Events/", ResponseNamespace="http://schemas.microsoft.com/office/project/server/webservices/Events/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
00165 public void UpdateEventHandlerAssociations(EventHandlersDataSet eventHandlers) {
00166 this.Invoke("UpdateEventHandlerAssociations", new object[] {
00167 eventHandlers});
00168 }
00169
00170
00171 public void UpdateEventHandlerAssociationsAsync(EventHandlersDataSet eventHandlers) {
00172 this.UpdateEventHandlerAssociationsAsync(eventHandlers, null);
00173 }
00174
00175
00176 public void UpdateEventHandlerAssociationsAsync(EventHandlersDataSet eventHandlers, object userState) {
00177 if ((this.UpdateEventHandlerAssociationsOperationCompleted == null)) {
00178 this.UpdateEventHandlerAssociationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateEventHandlerAssociationsOperationCompleted);
00179 }
00180 this.InvokeAsync("UpdateEventHandlerAssociations", new object[] {
00181 eventHandlers}, this.UpdateEventHandlerAssociationsOperationCompleted, userState);
00182 }
00183
00184 private void OnUpdateEventHandlerAssociationsOperationCompleted(object arg) {
00185 if ((this.UpdateEventHandlerAssociationsCompleted != null)) {
00186 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
00187 this.UpdateEventHandlerAssociationsCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
00188 }
00189 }
00190
00191
00192 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Events/ReadEventHa" +
00193 "ndlerAssociationsForEvent", RequestNamespace="http://schemas.microsoft.com/office/project/server/webservices/Events/", ResponseNamespace="http://schemas.microsoft.com/office/project/server/webservices/Events/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
00194 public EventHandlersDataSet ReadEventHandlerAssociationsForEvent(PSEventID eventId) {
00195 object[] results = this.Invoke("ReadEventHandlerAssociationsForEvent", new object[] {
00196 eventId});
00197 return ((EventHandlersDataSet)(results[0]));
00198 }
00199
00200
00201 public void ReadEventHandlerAssociationsForEventAsync(PSEventID eventId) {
00202 this.ReadEventHandlerAssociationsForEventAsync(eventId, null);
00203 }
00204
00205
00206 public void ReadEventHandlerAssociationsForEventAsync(PSEventID eventId, object userState) {
00207 if ((this.ReadEventHandlerAssociationsForEventOperationCompleted == null)) {
00208 this.ReadEventHandlerAssociationsForEventOperationCompleted = new System.Threading.SendOrPostCallback(this.OnReadEventHandlerAssociationsForEventOperationCompleted);
00209 }
00210 this.InvokeAsync("ReadEventHandlerAssociationsForEvent", new object[] {
00211 eventId}, this.ReadEventHandlerAssociationsForEventOperationCompleted, userState);
00212 }
00213
00214 private void OnReadEventHandlerAssociationsForEventOperationCompleted(object arg) {
00215 if ((this.ReadEventHandlerAssociationsForEventCompleted != null)) {
00216 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
00217 this.ReadEventHandlerAssociationsForEventCompleted(this, new ReadEventHandlerAssociationsForEventCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
00218 }
00219 }
00220
00221
00222 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Events/ReadEventHa" +
00223 "ndlerAssociation", RequestNamespace="http://schemas.microsoft.com/office/project/server/webservices/Events/", ResponseNamespace="http://schemas.microsoft.com/office/project/server/webservices/Events/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
00224 public EventHandlersDataSet ReadEventHandlerAssociation(System.Guid eventHandlerUid) {
00225 object[] results = this.Invoke("ReadEventHandlerAssociation", new object[] {
00226 eventHandlerUid});
00227 return ((EventHandlersDataSet)(results[0]));
00228 }
00229
00230
00231 public void ReadEventHandlerAssociationAsync(System.Guid eventHandlerUid) {
00232 this.ReadEventHandlerAssociationAsync(eventHandlerUid, null);
00233 }
00234
00235
00236 public void ReadEventHandlerAssociationAsync(System.Guid eventHandlerUid, object userState) {
00237 if ((this.ReadEventHandlerAssociationOperationCompleted == null)) {
00238 this.ReadEventHandlerAssociationOperationCompleted = new System.Threading.SendOrPostCallback(this.OnReadEventHandlerAssociationOperationCompleted);
00239 }
00240 this.InvokeAsync("ReadEventHandlerAssociation", new object[] {
00241 eventHandlerUid}, this.ReadEventHandlerAssociationOperationCompleted, userState);
00242 }
00243
00244 private void OnReadEventHandlerAssociationOperationCompleted(object arg) {
00245 if ((this.ReadEventHandlerAssociationCompleted != null)) {
00246 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
00247 this.ReadEventHandlerAssociationCompleted(this, new ReadEventHandlerAssociationCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
00248 }
00249 }
00250
00251
00252 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Events/ReadEventHa" +
00253 "ndlerAssociations", RequestNamespace="http://schemas.microsoft.com/office/project/server/webservices/Events/", ResponseNamespace="http://schemas.microsoft.com/office/project/server/webservices/Events/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
00254 public EventHandlersDataSet ReadEventHandlerAssociations() {
00255 object[] results = this.Invoke("ReadEventHandlerAssociations", new object[0]);
00256 return ((EventHandlersDataSet)(results[0]));
00257 }
00258
00259
00260 public void ReadEventHandlerAssociationsAsync() {
00261 this.ReadEventHandlerAssociationsAsync(null);
00262 }
00263
00264
00265 public void ReadEventHandlerAssociationsAsync(object userState) {
00266 if ((this.ReadEventHandlerAssociationsOperationCompleted == null)) {
00267 this.ReadEventHandlerAssociationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnReadEventHandlerAssociationsOperationCompleted);
00268 }
00269 this.InvokeAsync("ReadEventHandlerAssociations", new object[0], this.ReadEventHandlerAssociationsOperationCompleted, userState);
00270 }
00271
00272 private void OnReadEventHandlerAssociationsOperationCompleted(object arg) {
00273 if ((this.ReadEventHandlerAssociationsCompleted != null)) {
00274 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
00275 this.ReadEventHandlerAssociationsCompleted(this, new ReadEventHandlerAssociationsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
00276 }
00277 }
00278
00279
00280 [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Events/DeleteEvent" +
00281 "HandlerAssociations", RequestNamespace="http://schemas.microsoft.com/office/project/server/webservices/Events/", ResponseNamespace="http://schemas.microsoft.com/office/project/server/webservices/Events/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
00282 public void DeleteEventHandlerAssociations(System.Guid[] eventHandlerUids) {
00283 this.Invoke("DeleteEventHandlerAssociations", new object[] {
00284 eventHandlerUids});
00285 }
00286
00287
00288 public void DeleteEventHandlerAssociationsAsync(System.Guid[] eventHandlerUids) {
00289 this.DeleteEventHandlerAssociationsAsync(eventHandlerUids, null);
00290 }
00291
00292
00293 public void DeleteEventHandlerAssociationsAsync(System.Guid[] eventHandlerUids, object userState) {
00294 if ((this.DeleteEventHandlerAssociationsOperationCompleted == null)) {
00295 this.DeleteEventHandlerAssociationsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteEventHandlerAssociationsOperationCompleted);
00296 }
00297 this.InvokeAsync("DeleteEventHandlerAssociations", new object[] {
00298 eventHandlerUids}, this.DeleteEventHandlerAssociationsOperationCompleted, userState);
00299 }
00300
00301 private void OnDeleteEventHandlerAssociationsOperationCompleted(object arg) {
00302 if ((this.DeleteEventHandlerAssociationsCompleted != null)) {
00303 System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
00304 this.DeleteEventHandlerAssociationsCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
00305 }
00306 }
00307
00308
00309 public new void CancelAsync(object userState) {
00310 base.CancelAsync(userState);
00311 }
00312
00313 private bool IsLocalFileSystemWebService(string url) {
00314 if (((url == null)
00315 || (url == string.Empty))) {
00316 return false;
00317 }
00318 System.Uri wsUri = new System.Uri(url);
00319 if (((wsUri.Port >= 1024)
00320 && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
00321 return true;
00322 }
00323 return false;
00324 }
00325 }
00326
00327
00328
00329
00330
00331 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
00332 [global::System.Serializable()]
00333 [global::System.ComponentModel.DesignerCategoryAttribute("code")]
00334 [global::System.ComponentModel.ToolboxItem(true)]
00335 [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
00336 [global::System.Xml.Serialization.XmlRootAttribute("EventsDataSet")]
00337 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
00338 public partial class EventsDataSet : global::System.Data.DataSet {
00339
00340 private EventDataTable tableEvent;
00341
00342 private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
00343
00344 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00345 public EventsDataSet() {
00346 this.BeginInit();
00347 this.InitClass();
00348 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
00349 base.Tables.CollectionChanged += schemaChangedHandler;
00350 base.Relations.CollectionChanged += schemaChangedHandler;
00351 this.EndInit();
00352 }
00353
00354 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00355 protected EventsDataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
00356 base(info, context, false) {
00357 if ((this.IsBinarySerialized(info, context) == true)) {
00358 this.InitVars(false);
00359 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
00360 this.Tables.CollectionChanged += schemaChangedHandler1;
00361 this.Relations.CollectionChanged += schemaChangedHandler1;
00362 return;
00363 }
00364 string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
00365 if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
00366 global::System.Data.DataSet ds = new global::System.Data.DataSet();
00367 ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
00368 if ((ds.Tables["Event"] != null)) {
00369 base.Tables.Add(new EventDataTable(ds.Tables["Event"]));
00370 }
00371 this.DataSetName = ds.DataSetName;
00372 this.Prefix = ds.Prefix;
00373 this.Namespace = ds.Namespace;
00374 this.Locale = ds.Locale;
00375 this.CaseSensitive = ds.CaseSensitive;
00376 this.EnforceConstraints = ds.EnforceConstraints;
00377 this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
00378 this.InitVars();
00379 }
00380 else {
00381 this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
00382 }
00383 this.GetSerializationData(info, context);
00384 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
00385 base.Tables.CollectionChanged += schemaChangedHandler;
00386 this.Relations.CollectionChanged += schemaChangedHandler;
00387 }
00388
00389 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00390 [global::System.ComponentModel.Browsable(false)]
00391 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
00392 public EventDataTable Event {
00393 get {
00394 return this.tableEvent;
00395 }
00396 }
00397
00398 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00399 [global::System.ComponentModel.BrowsableAttribute(true)]
00400 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
00401 public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
00402 get {
00403 return this._schemaSerializationMode;
00404 }
00405 set {
00406 this._schemaSerializationMode = value;
00407 }
00408 }
00409
00410 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00411 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
00412 public new global::System.Data.DataTableCollection Tables {
00413 get {
00414 return base.Tables;
00415 }
00416 }
00417
00418 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00419 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
00420 public new global::System.Data.DataRelationCollection Relations {
00421 get {
00422 return base.Relations;
00423 }
00424 }
00425
00426 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00427 protected override void InitializeDerivedDataSet() {
00428 this.BeginInit();
00429 this.InitClass();
00430 this.EndInit();
00431 }
00432
00433 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00434 public override global::System.Data.DataSet Clone() {
00435 EventsDataSet cln = ((EventsDataSet)(base.Clone()));
00436 cln.InitVars();
00437 cln.SchemaSerializationMode = this.SchemaSerializationMode;
00438 return cln;
00439 }
00440
00441 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00442 protected override bool ShouldSerializeTables() {
00443 return false;
00444 }
00445
00446 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00447 protected override bool ShouldSerializeRelations() {
00448 return false;
00449 }
00450
00451 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00452 protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
00453 if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
00454 this.Reset();
00455 global::System.Data.DataSet ds = new global::System.Data.DataSet();
00456 ds.ReadXml(reader);
00457 if ((ds.Tables["Event"] != null)) {
00458 base.Tables.Add(new EventDataTable(ds.Tables["Event"]));
00459 }
00460 this.DataSetName = ds.DataSetName;
00461 this.Prefix = ds.Prefix;
00462 this.Namespace = ds.Namespace;
00463 this.Locale = ds.Locale;
00464 this.CaseSensitive = ds.CaseSensitive;
00465 this.EnforceConstraints = ds.EnforceConstraints;
00466 this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
00467 this.InitVars();
00468 }
00469 else {
00470 this.ReadXml(reader);
00471 this.InitVars();
00472 }
00473 }
00474
00475 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00476 protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
00477 global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
00478 this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
00479 stream.Position = 0;
00480 return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
00481 }
00482
00483 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00484 internal void InitVars() {
00485 this.InitVars(true);
00486 }
00487
00488 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00489 internal void InitVars(bool initTable) {
00490 this.tableEvent = ((EventDataTable)(base.Tables["Event"]));
00491 if ((initTable == true)) {
00492 if ((this.tableEvent != null)) {
00493 this.tableEvent.InitVars();
00494 }
00495 }
00496 }
00497
00498 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00499 private void InitClass() {
00500 this.DataSetName = "EventsDataSet";
00501 this.Prefix = "";
00502 this.Namespace = "http://schemas.microsoft.com/office/project/server/webservices/EventsDataSet/";
00503 this.EnforceConstraints = false;
00504 this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
00505 this.tableEvent = new EventDataTable();
00506 base.Tables.Add(this.tableEvent);
00507 }
00508
00509 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00510 private bool ShouldSerializeEvent() {
00511 return false;
00512 }
00513
00514 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00515 private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
00516 if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
00517 this.InitVars();
00518 }
00519 }
00520
00521 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00522 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
00523 EventsDataSet ds = new EventsDataSet();
00524 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
00525 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
00526 global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
00527 any.Namespace = ds.Namespace;
00528 sequence.Items.Add(any);
00529 type.Particle = sequence;
00530 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
00531 if (xs.Contains(dsSchema.TargetNamespace)) {
00532 global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
00533 global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
00534 try {
00535 global::System.Xml.Schema.XmlSchema schema = null;
00536 dsSchema.Write(s1);
00537 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
00538 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
00539 s2.SetLength(0);
00540 schema.Write(s2);
00541 if ((s1.Length == s2.Length)) {
00542 s1.Position = 0;
00543 s2.Position = 0;
00544 for (; ((s1.Position != s1.Length)
00545 && (s1.ReadByte() == s2.ReadByte())); ) {
00546 ;
00547 }
00548 if ((s1.Position == s1.Length)) {
00549 return type;
00550 }
00551 }
00552 }
00553 }
00554 finally {
00555 if ((s1 != null)) {
00556 s1.Close();
00557 }
00558 if ((s2 != null)) {
00559 s2.Close();
00560 }
00561 }
00562 }
00563 xs.Add(dsSchema);
00564 return type;
00565 }
00566
00567 public delegate void EventRowChangeEventHandler(object sender, EventRowChangeEvent e);
00568
00569
00570
00571
00572 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
00573 [global::System.Serializable()]
00574 [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
00575 public partial class EventDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
00576
00577 private global::System.Data.DataColumn columnEventId;
00578
00579 private global::System.Data.DataColumn columnSourceName;
00580
00581 private global::System.Data.DataColumn columnEventName;
00582
00583 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00584 public EventDataTable() {
00585 this.TableName = "Event";
00586 this.BeginInit();
00587 this.InitClass();
00588 this.EndInit();
00589 }
00590
00591 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00592 internal EventDataTable(global::System.Data.DataTable table) {
00593 this.TableName = table.TableName;
00594 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
00595 this.CaseSensitive = table.CaseSensitive;
00596 }
00597 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
00598 this.Locale = table.Locale;
00599 }
00600 if ((table.Namespace != table.DataSet.Namespace)) {
00601 this.Namespace = table.Namespace;
00602 }
00603 this.Prefix = table.Prefix;
00604 this.MinimumCapacity = table.MinimumCapacity;
00605 }
00606
00607 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00608 protected EventDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
00609 base(info, context) {
00610 this.InitVars();
00611 }
00612
00613 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00614 public global::System.Data.DataColumn EventIdColumn {
00615 get {
00616 return this.columnEventId;
00617 }
00618 }
00619
00620 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00621 public global::System.Data.DataColumn SourceNameColumn {
00622 get {
00623 return this.columnSourceName;
00624 }
00625 }
00626
00627 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00628 public global::System.Data.DataColumn EventNameColumn {
00629 get {
00630 return this.columnEventName;
00631 }
00632 }
00633
00634 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00635 [global::System.ComponentModel.Browsable(false)]
00636 public int Count {
00637 get {
00638 return this.Rows.Count;
00639 }
00640 }
00641
00642 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00643 public EventRow this[int index] {
00644 get {
00645 return ((EventRow)(this.Rows[index]));
00646 }
00647 }
00648
00649 public event EventRowChangeEventHandler EventRowChanging;
00650
00651 public event EventRowChangeEventHandler EventRowChanged;
00652
00653 public event EventRowChangeEventHandler EventRowDeleting;
00654
00655 public event EventRowChangeEventHandler EventRowDeleted;
00656
00657 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00658 public void AddEventRow(EventRow row) {
00659 this.Rows.Add(row);
00660 }
00661
00662 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00663 public EventRow AddEventRow(int EventId, string SourceName, string EventName) {
00664 EventRow rowEventRow = ((EventRow)(this.NewRow()));
00665 object[] columnValuesArray = new object[] {
00666 EventId,
00667 SourceName,
00668 EventName};
00669 rowEventRow.ItemArray = columnValuesArray;
00670 this.Rows.Add(rowEventRow);
00671 return rowEventRow;
00672 }
00673
00674 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00675 public EventRow FindByEventId(int EventId) {
00676 return ((EventRow)(this.Rows.Find(new object[] {
00677 EventId})));
00678 }
00679
00680 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00681 public virtual global::System.Collections.IEnumerator GetEnumerator() {
00682 return this.Rows.GetEnumerator();
00683 }
00684
00685 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00686 public override global::System.Data.DataTable Clone() {
00687 EventDataTable cln = ((EventDataTable)(base.Clone()));
00688 cln.InitVars();
00689 return cln;
00690 }
00691
00692 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00693 protected override global::System.Data.DataTable CreateInstance() {
00694 return new EventDataTable();
00695 }
00696
00697 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00698 internal void InitVars() {
00699 this.columnEventId = base.Columns["EventId"];
00700 this.columnSourceName = base.Columns["SourceName"];
00701 this.columnEventName = base.Columns["EventName"];
00702 }
00703
00704 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00705 private void InitClass() {
00706 this.columnEventId = new global::System.Data.DataColumn("EventId", typeof(int), null, global::System.Data.MappingType.Element);
00707 base.Columns.Add(this.columnEventId);
00708 this.columnSourceName = new global::System.Data.DataColumn("SourceName", typeof(string), null, global::System.Data.MappingType.Element);
00709 base.Columns.Add(this.columnSourceName);
00710 this.columnEventName = new global::System.Data.DataColumn("EventName", typeof(string), null, global::System.Data.MappingType.Element);
00711 base.Columns.Add(this.columnEventName);
00712 this.Constraints.Add(new global::System.Data.UniqueConstraint("EventKey", new global::System.Data.DataColumn[] {
00713 this.columnEventId}, true));
00714 this.columnEventId.AllowDBNull = false;
00715 this.columnEventId.Unique = true;
00716 this.columnSourceName.AllowDBNull = false;
00717 this.columnEventName.AllowDBNull = false;
00718 }
00719
00720 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00721 public EventRow NewEventRow() {
00722 return ((EventRow)(this.NewRow()));
00723 }
00724
00725 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00726 protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
00727 return new EventRow(builder);
00728 }
00729
00730 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00731 protected override global::System.Type GetRowType() {
00732 return typeof(EventRow);
00733 }
00734
00735 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00736 protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
00737 base.OnRowChanged(e);
00738 if ((this.EventRowChanged != null)) {
00739 this.EventRowChanged(this, new EventRowChangeEvent(((EventRow)(e.Row)), e.Action));
00740 }
00741 }
00742
00743 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00744 protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
00745 base.OnRowChanging(e);
00746 if ((this.EventRowChanging != null)) {
00747 this.EventRowChanging(this, new EventRowChangeEvent(((EventRow)(e.Row)), e.Action));
00748 }
00749 }
00750
00751 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00752 protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
00753 base.OnRowDeleted(e);
00754 if ((this.EventRowDeleted != null)) {
00755 this.EventRowDeleted(this, new EventRowChangeEvent(((EventRow)(e.Row)), e.Action));
00756 }
00757 }
00758
00759 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00760 protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
00761 base.OnRowDeleting(e);
00762 if ((this.EventRowDeleting != null)) {
00763 this.EventRowDeleting(this, new EventRowChangeEvent(((EventRow)(e.Row)), e.Action));
00764 }
00765 }
00766
00767 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00768 public void RemoveEventRow(EventRow row) {
00769 this.Rows.Remove(row);
00770 }
00771
00772 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00773 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
00774 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
00775 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
00776 EventsDataSet ds = new EventsDataSet();
00777 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
00778 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
00779 any1.MinOccurs = new decimal(0);
00780 any1.MaxOccurs = decimal.MaxValue;
00781 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
00782 sequence.Items.Add(any1);
00783 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
00784 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
00785 any2.MinOccurs = new decimal(1);
00786 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
00787 sequence.Items.Add(any2);
00788 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
00789 attribute1.Name = "namespace";
00790 attribute1.FixedValue = ds.Namespace;
00791 type.Attributes.Add(attribute1);
00792 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
00793 attribute2.Name = "tableTypeName";
00794 attribute2.FixedValue = "EventDataTable";
00795 type.Attributes.Add(attribute2);
00796 type.Particle = sequence;
00797 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
00798 if (xs.Contains(dsSchema.TargetNamespace)) {
00799 global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
00800 global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
00801 try {
00802 global::System.Xml.Schema.XmlSchema schema = null;
00803 dsSchema.Write(s1);
00804 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
00805 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
00806 s2.SetLength(0);
00807 schema.Write(s2);
00808 if ((s1.Length == s2.Length)) {
00809 s1.Position = 0;
00810 s2.Position = 0;
00811 for (; ((s1.Position != s1.Length)
00812 && (s1.ReadByte() == s2.ReadByte())); ) {
00813 ;
00814 }
00815 if ((s1.Position == s1.Length)) {
00816 return type;
00817 }
00818 }
00819 }
00820 }
00821 finally {
00822 if ((s1 != null)) {
00823 s1.Close();
00824 }
00825 if ((s2 != null)) {
00826 s2.Close();
00827 }
00828 }
00829 }
00830 xs.Add(dsSchema);
00831 return type;
00832 }
00833 }
00834
00835
00836
00837
00838 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
00839 public partial class EventRow : global::System.Data.DataRow {
00840
00841 private EventDataTable tableEvent;
00842
00843 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00844 internal EventRow(global::System.Data.DataRowBuilder rb) :
00845 base(rb) {
00846 this.tableEvent = ((EventDataTable)(this.Table));
00847 }
00848
00849 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00850 public int EventId {
00851 get {
00852 return ((int)(this[this.tableEvent.EventIdColumn]));
00853 }
00854 set {
00855 this[this.tableEvent.EventIdColumn] = value;
00856 }
00857 }
00858
00859 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00860 public string SourceName {
00861 get {
00862 return ((string)(this[this.tableEvent.SourceNameColumn]));
00863 }
00864 set {
00865 this[this.tableEvent.SourceNameColumn] = value;
00866 }
00867 }
00868
00869 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00870 public string EventName {
00871 get {
00872 return ((string)(this[this.tableEvent.EventNameColumn]));
00873 }
00874 set {
00875 this[this.tableEvent.EventNameColumn] = value;
00876 }
00877 }
00878 }
00879
00880
00881
00882
00883 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
00884 public class EventRowChangeEvent : global::System.EventArgs {
00885
00886 private EventRow eventRow;
00887
00888 private global::System.Data.DataRowAction eventAction;
00889
00890 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00891 public EventRowChangeEvent(EventRow row, global::System.Data.DataRowAction action) {
00892 this.eventRow = row;
00893 this.eventAction = action;
00894 }
00895
00896 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00897 public EventRow Row {
00898 get {
00899 return this.eventRow;
00900 }
00901 }
00902
00903 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00904 public global::System.Data.DataRowAction Action {
00905 get {
00906 return this.eventAction;
00907 }
00908 }
00909 }
00910 }
00911
00912
00913
00914
00915
00916 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
00917 [global::System.Serializable()]
00918 [global::System.ComponentModel.DesignerCategoryAttribute("code")]
00919 [global::System.ComponentModel.ToolboxItem(true)]
00920 [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
00921 [global::System.Xml.Serialization.XmlRootAttribute("EventHandlersDataSet")]
00922 [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
00923 public partial class EventHandlersDataSet : global::System.Data.DataSet {
00924
00925 private EventHandlersDataTable tableEventHandlers;
00926
00927 private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
00928
00929 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00930 public EventHandlersDataSet() {
00931 this.BeginInit();
00932 this.InitClass();
00933 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
00934 base.Tables.CollectionChanged += schemaChangedHandler;
00935 base.Relations.CollectionChanged += schemaChangedHandler;
00936 this.EndInit();
00937 }
00938
00939 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00940 protected EventHandlersDataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
00941 base(info, context, false) {
00942 if ((this.IsBinarySerialized(info, context) == true)) {
00943 this.InitVars(false);
00944 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
00945 this.Tables.CollectionChanged += schemaChangedHandler1;
00946 this.Relations.CollectionChanged += schemaChangedHandler1;
00947 return;
00948 }
00949 string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
00950 if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
00951 global::System.Data.DataSet ds = new global::System.Data.DataSet();
00952 ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
00953 if ((ds.Tables["EventHandlers"] != null)) {
00954 base.Tables.Add(new EventHandlersDataTable(ds.Tables["EventHandlers"]));
00955 }
00956 this.DataSetName = ds.DataSetName;
00957 this.Prefix = ds.Prefix;
00958 this.Namespace = ds.Namespace;
00959 this.Locale = ds.Locale;
00960 this.CaseSensitive = ds.CaseSensitive;
00961 this.EnforceConstraints = ds.EnforceConstraints;
00962 this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
00963 this.InitVars();
00964 }
00965 else {
00966 this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema)));
00967 }
00968 this.GetSerializationData(info, context);
00969 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
00970 base.Tables.CollectionChanged += schemaChangedHandler;
00971 this.Relations.CollectionChanged += schemaChangedHandler;
00972 }
00973
00974 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00975 [global::System.ComponentModel.Browsable(false)]
00976 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
00977 public EventHandlersDataTable EventHandlers {
00978 get {
00979 return this.tableEventHandlers;
00980 }
00981 }
00982
00983 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00984 [global::System.ComponentModel.BrowsableAttribute(true)]
00985 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
00986 public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
00987 get {
00988 return this._schemaSerializationMode;
00989 }
00990 set {
00991 this._schemaSerializationMode = value;
00992 }
00993 }
00994
00995 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
00996 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
00997 public new global::System.Data.DataTableCollection Tables {
00998 get {
00999 return base.Tables;
01000 }
01001 }
01002
01003 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01004 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
01005 public new global::System.Data.DataRelationCollection Relations {
01006 get {
01007 return base.Relations;
01008 }
01009 }
01010
01011 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01012 protected override void InitializeDerivedDataSet() {
01013 this.BeginInit();
01014 this.InitClass();
01015 this.EndInit();
01016 }
01017
01018 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01019 public override global::System.Data.DataSet Clone() {
01020 EventHandlersDataSet cln = ((EventHandlersDataSet)(base.Clone()));
01021 cln.InitVars();
01022 cln.SchemaSerializationMode = this.SchemaSerializationMode;
01023 return cln;
01024 }
01025
01026 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01027 protected override bool ShouldSerializeTables() {
01028 return false;
01029 }
01030
01031 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01032 protected override bool ShouldSerializeRelations() {
01033 return false;
01034 }
01035
01036 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01037 protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
01038 if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
01039 this.Reset();
01040 global::System.Data.DataSet ds = new global::System.Data.DataSet();
01041 ds.ReadXml(reader);
01042 if ((ds.Tables["EventHandlers"] != null)) {
01043 base.Tables.Add(new EventHandlersDataTable(ds.Tables["EventHandlers"]));
01044 }
01045 this.DataSetName = ds.DataSetName;
01046 this.Prefix = ds.Prefix;
01047 this.Namespace = ds.Namespace;
01048 this.Locale = ds.Locale;
01049 this.CaseSensitive = ds.CaseSensitive;
01050 this.EnforceConstraints = ds.EnforceConstraints;
01051 this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add);
01052 this.InitVars();
01053 }
01054 else {
01055 this.ReadXml(reader);
01056 this.InitVars();
01057 }
01058 }
01059
01060 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01061 protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
01062 global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream();
01063 this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null));
01064 stream.Position = 0;
01065 return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null);
01066 }
01067
01068 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01069 internal void InitVars() {
01070 this.InitVars(true);
01071 }
01072
01073 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01074 internal void InitVars(bool initTable) {
01075 this.tableEventHandlers = ((EventHandlersDataTable)(base.Tables["EventHandlers"]));
01076 if ((initTable == true)) {
01077 if ((this.tableEventHandlers != null)) {
01078 this.tableEventHandlers.InitVars();
01079 }
01080 }
01081 }
01082
01083 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01084 private void InitClass() {
01085 this.DataSetName = "EventHandlersDataSet";
01086 this.Prefix = "";
01087 this.Namespace = "http://schemas.microsoft.com/office/project/server/webservices/EventHandlersDataS" +
01088 "et/";
01089 this.EnforceConstraints = false;
01090 this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
01091 this.tableEventHandlers = new EventHandlersDataTable();
01092 base.Tables.Add(this.tableEventHandlers);
01093 }
01094
01095 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01096 private bool ShouldSerializeEventHandlers() {
01097 return false;
01098 }
01099
01100 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01101 private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
01102 if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
01103 this.InitVars();
01104 }
01105 }
01106
01107 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01108 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
01109 EventHandlersDataSet ds = new EventHandlersDataSet();
01110 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
01111 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
01112 global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
01113 any.Namespace = ds.Namespace;
01114 sequence.Items.Add(any);
01115 type.Particle = sequence;
01116 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
01117 if (xs.Contains(dsSchema.TargetNamespace)) {
01118 global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
01119 global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
01120 try {
01121 global::System.Xml.Schema.XmlSchema schema = null;
01122 dsSchema.Write(s1);
01123 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
01124 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
01125 s2.SetLength(0);
01126 schema.Write(s2);
01127 if ((s1.Length == s2.Length)) {
01128 s1.Position = 0;
01129 s2.Position = 0;
01130 for (; ((s1.Position != s1.Length)
01131 && (s1.ReadByte() == s2.ReadByte())); ) {
01132 ;
01133 }
01134 if ((s1.Position == s1.Length)) {
01135 return type;
01136 }
01137 }
01138 }
01139 }
01140 finally {
01141 if ((s1 != null)) {
01142 s1.Close();
01143 }
01144 if ((s2 != null)) {
01145 s2.Close();
01146 }
01147 }
01148 }
01149 xs.Add(dsSchema);
01150 return type;
01151 }
01152
01153 public delegate void EventHandlersRowChangeEventHandler(object sender, EventHandlersRowChangeEvent e);
01154
01155
01156
01157
01158 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
01159 [global::System.Serializable()]
01160 [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
01161 public partial class EventHandlersDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable {
01162
01163 private global::System.Data.DataColumn columnEventHandlerUid;
01164
01165 private global::System.Data.DataColumn columnName;
01166
01167 private global::System.Data.DataColumn columnAssemblyName;
01168
01169 private global::System.Data.DataColumn columnClassName;
01170
01171 private global::System.Data.DataColumn columnEventId;
01172
01173 private global::System.Data.DataColumn columnDescription;
01174
01175 private global::System.Data.DataColumn columnOrder;
01176
01177 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01178 public EventHandlersDataTable() {
01179 this.TableName = "EventHandlers";
01180 this.BeginInit();
01181 this.InitClass();
01182 this.EndInit();
01183 }
01184
01185 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01186 internal EventHandlersDataTable(global::System.Data.DataTable table) {
01187 this.TableName = table.TableName;
01188 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
01189 this.CaseSensitive = table.CaseSensitive;
01190 }
01191 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
01192 this.Locale = table.Locale;
01193 }
01194 if ((table.Namespace != table.DataSet.Namespace)) {
01195 this.Namespace = table.Namespace;
01196 }
01197 this.Prefix = table.Prefix;
01198 this.MinimumCapacity = table.MinimumCapacity;
01199 }
01200
01201 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01202 protected EventHandlersDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
01203 base(info, context) {
01204 this.InitVars();
01205 }
01206
01207 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01208 public global::System.Data.DataColumn EventHandlerUidColumn {
01209 get {
01210 return this.columnEventHandlerUid;
01211 }
01212 }
01213
01214 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01215 public global::System.Data.DataColumn NameColumn {
01216 get {
01217 return this.columnName;
01218 }
01219 }
01220
01221 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01222 public global::System.Data.DataColumn AssemblyNameColumn {
01223 get {
01224 return this.columnAssemblyName;
01225 }
01226 }
01227
01228 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01229 public global::System.Data.DataColumn ClassNameColumn {
01230 get {
01231 return this.columnClassName;
01232 }
01233 }
01234
01235 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01236 public global::System.Data.DataColumn EventIdColumn {
01237 get {
01238 return this.columnEventId;
01239 }
01240 }
01241
01242 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01243 public global::System.Data.DataColumn DescriptionColumn {
01244 get {
01245 return this.columnDescription;
01246 }
01247 }
01248
01249 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01250 public global::System.Data.DataColumn OrderColumn {
01251 get {
01252 return this.columnOrder;
01253 }
01254 }
01255
01256 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01257 [global::System.ComponentModel.Browsable(false)]
01258 public int Count {
01259 get {
01260 return this.Rows.Count;
01261 }
01262 }
01263
01264 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01265 public EventHandlersRow this[int index] {
01266 get {
01267 return ((EventHandlersRow)(this.Rows[index]));
01268 }
01269 }
01270
01271 public event EventHandlersRowChangeEventHandler EventHandlersRowChanging;
01272
01273 public event EventHandlersRowChangeEventHandler EventHandlersRowChanged;
01274
01275 public event EventHandlersRowChangeEventHandler EventHandlersRowDeleting;
01276
01277 public event EventHandlersRowChangeEventHandler EventHandlersRowDeleted;
01278
01279 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01280 public void AddEventHandlersRow(EventHandlersRow row) {
01281 this.Rows.Add(row);
01282 }
01283
01284 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01285 public EventHandlersRow AddEventHandlersRow(System.Guid EventHandlerUid, string Name, string AssemblyName, string ClassName, int EventId, string Description, int Order) {
01286 EventHandlersRow rowEventHandlersRow = ((EventHandlersRow)(this.NewRow()));
01287 object[] columnValuesArray = new object[] {
01288 EventHandlerUid,
01289 Name,
01290 AssemblyName,
01291 ClassName,
01292 EventId,
01293 Description,
01294 Order};
01295 rowEventHandlersRow.ItemArray = columnValuesArray;
01296 this.Rows.Add(rowEventHandlersRow);
01297 return rowEventHandlersRow;
01298 }
01299
01300 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01301 public EventHandlersRow FindByEventHandlerUid(System.Guid EventHandlerUid) {
01302 return ((EventHandlersRow)(this.Rows.Find(new object[] {
01303 EventHandlerUid})));
01304 }
01305
01306 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01307 public virtual global::System.Collections.IEnumerator GetEnumerator() {
01308 return this.Rows.GetEnumerator();
01309 }
01310
01311 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01312 public override global::System.Data.DataTable Clone() {
01313 EventHandlersDataTable cln = ((EventHandlersDataTable)(base.Clone()));
01314 cln.InitVars();
01315 return cln;
01316 }
01317
01318 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01319 protected override global::System.Data.DataTable CreateInstance() {
01320 return new EventHandlersDataTable();
01321 }
01322
01323 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01324 internal void InitVars() {
01325 this.columnEventHandlerUid = base.Columns["EventHandlerUid"];
01326 this.columnName = base.Columns["Name"];
01327 this.columnAssemblyName = base.Columns["AssemblyName"];
01328 this.columnClassName = base.Columns["ClassName"];
01329 this.columnEventId = base.Columns["EventId"];
01330 this.columnDescription = base.Columns["Description"];
01331 this.columnOrder = base.Columns["Order"];
01332 }
01333
01334 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01335 private void InitClass() {
01336 this.columnEventHandlerUid = new global::System.Data.DataColumn("EventHandlerUid", typeof(global::System.Guid), null, global::System.Data.MappingType.Element);
01337 base.Columns.Add(this.columnEventHandlerUid);
01338 this.columnName = new global::System.Data.DataColumn("Name", typeof(string), null, global::System.Data.MappingType.Element);
01339 base.Columns.Add(this.columnName);
01340 this.columnAssemblyName = new global::System.Data.DataColumn("AssemblyName", typeof(string), null, global::System.Data.MappingType.Element);
01341 base.Columns.Add(this.columnAssemblyName);
01342 this.columnClassName = new global::System.Data.DataColumn("ClassName", typeof(string), null, global::System.Data.MappingType.Element);
01343 base.Columns.Add(this.columnClassName);
01344 this.columnEventId = new global::System.Data.DataColumn("EventId", typeof(int), null, global::System.Data.MappingType.Element);
01345 base.Columns.Add(this.columnEventId);
01346 this.columnDescription = new global::System.Data.DataColumn("Description", typeof(string), null, global::System.Data.MappingType.Element);
01347 base.Columns.Add(this.columnDescription);
01348 this.columnOrder = new global::System.Data.DataColumn("Order", typeof(int), null, global::System.Data.MappingType.Element);
01349 base.Columns.Add(this.columnOrder);
01350 this.Constraints.Add(new global::System.Data.UniqueConstraint("EventHandlerKey", new global::System.Data.DataColumn[] {
01351 this.columnEventHandlerUid}, true));
01352 this.columnEventHandlerUid.AllowDBNull = false;
01353 this.columnEventHandlerUid.Unique = true;
01354 this.columnName.AllowDBNull = false;
01355 this.columnName.DefaultValue = ((string)(""));
01356 this.columnAssemblyName.AllowDBNull = false;
01357 this.columnAssemblyName.DefaultValue = ((string)(""));
01358 this.columnClassName.AllowDBNull = false;
01359 this.columnEventId.AllowDBNull = false;
01360 }
01361
01362 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01363 public EventHandlersRow NewEventHandlersRow() {
01364 return ((EventHandlersRow)(this.NewRow()));
01365 }
01366
01367 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01368 protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
01369 return new EventHandlersRow(builder);
01370 }
01371
01372 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01373 protected override global::System.Type GetRowType() {
01374 return typeof(EventHandlersRow);
01375 }
01376
01377 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01378 protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
01379 base.OnRowChanged(e);
01380 if ((this.EventHandlersRowChanged != null)) {
01381 this.EventHandlersRowChanged(this, new EventHandlersRowChangeEvent(((EventHandlersRow)(e.Row)), e.Action));
01382 }
01383 }
01384
01385 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01386 protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
01387 base.OnRowChanging(e);
01388 if ((this.EventHandlersRowChanging != null)) {
01389 this.EventHandlersRowChanging(this, new EventHandlersRowChangeEvent(((EventHandlersRow)(e.Row)), e.Action));
01390 }
01391 }
01392
01393 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01394 protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
01395 base.OnRowDeleted(e);
01396 if ((this.EventHandlersRowDeleted != null)) {
01397 this.EventHandlersRowDeleted(this, new EventHandlersRowChangeEvent(((EventHandlersRow)(e.Row)), e.Action));
01398 }
01399 }
01400
01401 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01402 protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
01403 base.OnRowDeleting(e);
01404 if ((this.EventHandlersRowDeleting != null)) {
01405 this.EventHandlersRowDeleting(this, new EventHandlersRowChangeEvent(((EventHandlersRow)(e.Row)), e.Action));
01406 }
01407 }
01408
01409 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01410 public void RemoveEventHandlersRow(EventHandlersRow row) {
01411 this.Rows.Remove(row);
01412 }
01413
01414 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01415 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
01416 global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
01417 global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
01418 EventHandlersDataSet ds = new EventHandlersDataSet();
01419 global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
01420 any1.Namespace = "http://www.w3.org/2001/XMLSchema";
01421 any1.MinOccurs = new decimal(0);
01422 any1.MaxOccurs = decimal.MaxValue;
01423 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
01424 sequence.Items.Add(any1);
01425 global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
01426 any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
01427 any2.MinOccurs = new decimal(1);
01428 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
01429 sequence.Items.Add(any2);
01430 global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
01431 attribute1.Name = "namespace";
01432 attribute1.FixedValue = ds.Namespace;
01433 type.Attributes.Add(attribute1);
01434 global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
01435 attribute2.Name = "tableTypeName";
01436 attribute2.FixedValue = "EventHandlersDataTable";
01437 type.Attributes.Add(attribute2);
01438 type.Particle = sequence;
01439 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
01440 if (xs.Contains(dsSchema.TargetNamespace)) {
01441 global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
01442 global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
01443 try {
01444 global::System.Xml.Schema.XmlSchema schema = null;
01445 dsSchema.Write(s1);
01446 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
01447 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
01448 s2.SetLength(0);
01449 schema.Write(s2);
01450 if ((s1.Length == s2.Length)) {
01451 s1.Position = 0;
01452 s2.Position = 0;
01453 for (; ((s1.Position != s1.Length)
01454 && (s1.ReadByte() == s2.ReadByte())); ) {
01455 ;
01456 }
01457 if ((s1.Position == s1.Length)) {
01458 return type;
01459 }
01460 }
01461 }
01462 }
01463 finally {
01464 if ((s1 != null)) {
01465 s1.Close();
01466 }
01467 if ((s2 != null)) {
01468 s2.Close();
01469 }
01470 }
01471 }
01472 xs.Add(dsSchema);
01473 return type;
01474 }
01475 }
01476
01477
01478
01479
01480 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
01481 public partial class EventHandlersRow : global::System.Data.DataRow {
01482
01483 private EventHandlersDataTable tableEventHandlers;
01484
01485 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01486 internal EventHandlersRow(global::System.Data.DataRowBuilder rb) :
01487 base(rb) {
01488 this.tableEventHandlers = ((EventHandlersDataTable)(this.Table));
01489 }
01490
01491 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01492 public System.Guid EventHandlerUid {
01493 get {
01494 return ((global::System.Guid)(this[this.tableEventHandlers.EventHandlerUidColumn]));
01495 }
01496 set {
01497 this[this.tableEventHandlers.EventHandlerUidColumn] = value;
01498 }
01499 }
01500
01501 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01502 public string Name {
01503 get {
01504 return ((string)(this[this.tableEventHandlers.NameColumn]));
01505 }
01506 set {
01507 this[this.tableEventHandlers.NameColumn] = value;
01508 }
01509 }
01510
01511 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01512 public string AssemblyName {
01513 get {
01514 return ((string)(this[this.tableEventHandlers.AssemblyNameColumn]));
01515 }
01516 set {
01517 this[this.tableEventHandlers.AssemblyNameColumn] = value;
01518 }
01519 }
01520
01521 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01522 public string ClassName {
01523 get {
01524 return ((string)(this[this.tableEventHandlers.ClassNameColumn]));
01525 }
01526 set {
01527 this[this.tableEventHandlers.ClassNameColumn] = value;
01528 }
01529 }
01530
01531 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01532 public int EventId {
01533 get {
01534 return ((int)(this[this.tableEventHandlers.EventIdColumn]));
01535 }
01536 set {
01537 this[this.tableEventHandlers.EventIdColumn] = value;
01538 }
01539 }
01540
01541 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01542 public string Description {
01543 get {
01544 try {
01545 return ((string)(this[this.tableEventHandlers.DescriptionColumn]));
01546 }
01547 catch (global::System.InvalidCastException e) {
01548 throw new global::System.Data.StrongTypingException("The value for column \'Description\' in table \'EventHandlers\' is DBNull.", e);
01549 }
01550 }
01551 set {
01552 this[this.tableEventHandlers.DescriptionColumn] = value;
01553 }
01554 }
01555
01556 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01557 public int Order {
01558 get {
01559 try {
01560 return ((int)(this[this.tableEventHandlers.OrderColumn]));
01561 }
01562 catch (global::System.InvalidCastException e) {
01563 throw new global::System.Data.StrongTypingException("The value for column \'Order\' in table \'EventHandlers\' is DBNull.", e);
01564 }
01565 }
01566 set {
01567 this[this.tableEventHandlers.OrderColumn] = value;
01568 }
01569 }
01570
01571 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01572 public bool IsDescriptionNull() {
01573 return this.IsNull(this.tableEventHandlers.DescriptionColumn);
01574 }
01575
01576 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01577 public void SetDescriptionNull() {
01578 this[this.tableEventHandlers.DescriptionColumn] = global::System.Convert.DBNull;
01579 }
01580
01581 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01582 public bool IsOrderNull() {
01583 return this.IsNull(this.tableEventHandlers.OrderColumn);
01584 }
01585
01586 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01587 public void SetOrderNull() {
01588 this[this.tableEventHandlers.OrderColumn] = global::System.Convert.DBNull;
01589 }
01590 }
01591
01592
01593
01594
01595 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
01596 public class EventHandlersRowChangeEvent : global::System.EventArgs {
01597
01598 private EventHandlersRow eventRow;
01599
01600 private global::System.Data.DataRowAction eventAction;
01601
01602 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01603 public EventHandlersRowChangeEvent(EventHandlersRow row, global::System.Data.DataRowAction action) {
01604 this.eventRow = row;
01605 this.eventAction = action;
01606 }
01607
01608 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01609 public EventHandlersRow Row {
01610 get {
01611 return this.eventRow;
01612 }
01613 }
01614
01615 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
01616 public global::System.Data.DataRowAction Action {
01617 get {
01618 return this.eventAction;
01619 }
01620 }
01621 }
01622 }
01623
01624
01625 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "2.0.50727.3053")]
01626 [System.SerializableAttribute()]
01627 [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://schemas.microsoft.com/office/project/server/webservices/Events/")]
01628 public enum PSEventID {
01629
01630
01631 AdminReportingPeriodUpdated,
01632
01633
01634 AdminReportingPeriodUpdating,
01635
01636
01637 AdminLineClassUpdated,
01638
01639
01640 AdminLineClassUpdating,
01641
01642
01643 AdminStatusReportsDeleted,
01644
01645
01646 AdminStatusReportsDeleting,
01647
01648
01649 WssInteropWssWorkspaceCreated,
01650
01651
01652 WssInteropWssWorkspaceCreating,
01653
01654
01655 Deprecated8,
01656
01657
01658 Deprecated9,
01659
01660
01661 AdminAdSyncERPSynchronized,
01662
01663
01664 AdminAdSyncERPSynchronizing,
01665
01666
01667 AdminAdSyncGroupSynchronized,
01668
01669
01670 AdminAdSyncGroupSynchronizing,
01671
01672
01673 AdminAdSyncGroupsSynchronized,
01674
01675
01676 AdminAdSyncGroupsSynchronizing,
01677
01678
01679 CalendarCreated,
01680
01681
01682 CalendarCreating,
01683
01684
01685 CalendarDeleted,
01686
01687
01688 CalendarDeleting,
01689
01690
01691 CalendarChanged,
01692
01693
01694 CalendarChanging,
01695
01696
01697 CalendarCheckedOut,
01698
01699
01700 CalendarCheckingOut,
01701
01702
01703 CalendarCheckedIn,
01704
01705
01706 CalendarCheckingIn,
01707
01708
01709 CustomFieldsCreated,
01710
01711
01712 CustomFieldsCreating,
01713
01714
01715 CustomFieldsDeleted,
01716
01717
01718 CustomFieldsDeleting,
01719
01720
01721 CustomFieldsUpdated,
01722
01723
01724 CustomFieldsUpdating,
01725
01726
01727 CustomFieldsCheckedOut,
01728
01729
01730 CustomFieldsCheckingOut,
01731
01732
01733 CustomFieldsCheckedIn,
01734
01735
01736 CustomFieldsCheckingIn,
01737
01738
01739 LookupTableCreated,
01740
01741
01742 LookupTableCreating,
01743
01744
01745 LookupTableDeleted,
01746
01747
01748 LookupTableDeleting,
01749
01750
01751 LookupTableUpdated,
01752
01753
01754 LookupTableUpdating,
01755
01756
01757 LookupTableCheckedOut,
01758
01759
01760 LookupTableCheckingOut,
01761
01762
01763 LookupTableCheckedIn,
01764
01765
01766 LookupTableCheckingIn,
01767
01768
01769 ProjectCreated,
01770
01771
01772 ProjectCreating,
01773
01774
01775 ProjectDeleted,
01776
01777
01778 ProjectDeleting,
01779
01780
01781 ProjectSaved,
01782
01783
01784 ProjectCheckIn,
01785
01786
01787 ProjectSaveFailed,
01788
01789
01790 ProjectPublished,
01791
01792
01793 ProjectPublishing,
01794
01795
01796 ProjectWssWorkspaceAddressUpdated,
01797
01798
01799 ProjectWssWorkspaceAddressUpdating,
01800
01801
01802 ProjectWssWorkspaceAddressDeleted,
01803
01804
01805 ProjectWssWorkspaceAddressDeleting,
01806
01807
01808 ProjectActivityUpgraded,
01809
01810
01811 ProjectActivityUpgrading,
01812
01813
01814 ReportingResourceCapacitiesChanged,
01815
01816
01817 ReportingCustomFieldCreated,
01818
01819
01820 ReportingCustomFieldChanged,
01821
01822
01823 ReportingCustomFieldDeleted,
01824
01825
01826 ReportingUserViewChanged,
01827
01828
01829 ReportingFiscalPeriodChanged,
01830
01831
01832 ReportingFiscalPeriodDeleted,
01833
01834
01835 ReportingLookupTableCreated,
01836
01837
01838 ReportingLookupTableChanged,
01839
01840
01841 ReportingLookupTableDeleted,
01842
01843
01844 ReportingProjectCreated,
01845
01846
01847 ReportingProjectChanged,
01848
01849
01850 ReportingProjectDeleted,
01851
01852
01853 ReportingResourceCapacityTimeRangeChanged,
01854
01855
01856 ReportingResourceCreated,
01857
01858
01859 ReportingResourceChanged,
01860
01861
01862 ReportingResourceDeleted,
01863
01864
01865 ReportingTimesheetSaved,
01866
01867
01868 ReportingTimesheetAdjusted,
01869
01870
01871 ReportingTimesheetDeleted,
01872
01873
01874 ReportingTimesheetClassChanged,
01875
01876
01877 ReportingTimesheetPeriodCreated,
01878
01879
01880 ReportingTimesheetPeriodChanged,
01881
01882
01883 ReportingTimesheetPeriodDeleted,
01884
01885
01886 ReportingTimesheetStatusChanged,
01887
01888
01889 ReportingProjectWorkspaceCreated,
01890
01891
01892 ReportingProjectWorkspaceChanged,
01893
01894
01895 ReportingProjectWorkspaceDeleted,
01896
01897
01898 ResourceCreated,
01899
01900
01901 ResourceCreating,
01902
01903
01904 ResourceDeleted,
01905
01906
01907 ResourceDeleting,
01908
01909
01910 ResourceDeactivated,
01911
01912
01913 ResourceDeactivating,
01914
01915
01916 ResourceChanged,
01917
01918
01919 ResourceChanging,
01920
01921
01922 ResourceActivated,
01923
01924
01925 ResourceActivating,
01926
01927
01928 ResourceCheckedOut,
01929
01930
01931 ResourceCheckingOut,
01932
01933
01934 ResourceCheckedIn,
01935
01936
01937 ResourceCheckingIn,
01938
01939
01940 ResourceSetAuthorization,
01941
01942
01943 ResourceSettingAuthorization,
01944
01945
01946 SecurityOrganizationalPermissionsUpdated,
01947
01948
01949 SecurityOrganizationalPermissionsUpdating,
01950
01951
01952 SecurityGroupDeleted,
01953
01954
01955 SecurityGroupDeleting,
01956
01957
01958 SecurityGroupCreated,
01959
01960
01961 SecurityGroupCreating,
01962
01963
01964 SecurityGroupUpdated,
01965
01966
01967 SecurityGroupUpdating,
01968
01969
01970 SecurityCategoryDeleted,
01971
01972
01973 SecurityCategoryDeleting,
01974
01975
01976 SecurityCategoryCreated,
01977
01978
01979 SecurityCategoryCreating,
01980
01981
01982 SecurityCategoryUpdated,
01983
01984
01985 SecurityCategoryUpdating,
01986
01987
01988 SecurityTemplateCreated,
01989
01990
01991 SecurityTemplateCreating,
01992
01993
01994 SecurityTemplateUpdated,
01995
01996
01997 SecurityTemplateUpdating,
01998
01999
02000 SecurityTemplateDeleted,
02001
02002
02003 SecurityTemplateDeleting,
02004
02005
02006 StatusReportsRequestCreated,
02007
02008
02009 StatusReportsRequestCreating,
02010
02011
02012 StatusReportsRequestUpdated,
02013
02014
02015 StatusReportsRequestUpdating,
02016
02017
02018 StatusReportsResponseCreated,
02019
02020
02021 StatusReportsResponseCreating,
02022
02023
02024 StatusReportsResponseUpdated,
02025
02026
02027 StatusReportsResponseUpdating,
02028
02029
02030 StatusingApplied,
02031
02032
02033 StatusingApplying,
02034
02035
02036 StatusingHistoryDeleted,
02037
02038
02039 StatusingHistoryDeleting,
02040
02041
02042 StatusingStatusUpdated,
02043
02044
02045 StatusingStatusUpdating,
02046
02047
02048 StatusingStatusSubmitted,
02049
02050
02051 StatusingStatusSubmiting,
02052
02053
02054 StatusingAssignmentDeleted,
02055
02056
02057 StatusingAssignmentDeleting,
02058
02059
02060 StatusingAssignmentDelegated,
02061
02062
02063 StatusingAssignmentDelegating,
02064
02065
02066 StatusingTaskCreated,
02067
02068
02069 StatusingTaskCreating,
02070
02071
02072 StatusingAssignmentWorkDataSet,
02073
02074
02075 StatusingAssignmentWorkDataSetting,
02076
02077
02078 StatusingApprovalsUpdated,
02079
02080
02081 StatusingApprovalsUpdating,
02082
02083
02084 NotificationsSent,
02085
02086
02087 NotificationsSending,
02088
02089
02090 RulesCreated,
02091
02092
02093 RulesCreating,
02094
02095
02096 RulesDeleted,
02097
02098
02099 RulesDeleting,
02100
02101
02102 RulesCopied,
02103
02104
02105 RulesCopying,
02106
02107
02108 RulesProcessed,
02109
02110
02111 RulesProcessing,
02112
02113
02114 TimesheetCreated,
02115
02116
02117 TimesheetCreating,
02118
02119
02120 TimesheetDeleted,
02121
02122
02123 TimesheetDeleting,
02124
02125
02126 TimesheetUpdated,
02127
02128
02129 TimesheetUpdating,
02130
02131
02132 TimesheetSubmitted,
02133
02134
02135 TimesheetSubmitting,
02136
02137
02138 TimesheetRecalled,
02139
02140
02141 TimesheetRecalling,
02142
02143
02144 TimesheetReviewed,
02145
02146
02147 TimesheetReviewing,
02148
02149
02150 TimesheetLineApproved,
02151
02152
02153 TimesheetLineApproving,
02154
02155
02156 CubeAdminCubeBuilt,
02157
02158
02159 CubeAdminCubeBuilding,
02160
02161
02162 ProjectUpdated,
02163
02164
02165 ProjectUpdating,
02166
02167
02168 ProjectAdded,
02169
02170
02171 ProjectAdding,
02172
02173
02174 ProjectEntitiesDeleted,
02175
02176
02177 ProjectEntitiesDeleting,
02178
02179
02180 CubeAdminCubeProcessed,
02181 }
02182
02183
02184 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
02185 public delegate void ReadEventsListCompletedEventHandler(object sender, ReadEventsListCompletedEventArgs e);
02186
02187
02188 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
02189 [System.Diagnostics.DebuggerStepThroughAttribute()]
02190 [System.ComponentModel.DesignerCategoryAttribute("code")]
02191 public partial class ReadEventsListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
02192
02193 private object[] results;
02194
02195 internal ReadEventsListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
02196 base(exception, cancelled, userState) {
02197 this.results = results;
02198 }
02199
02200
02201 public EventsDataSet Result {
02202 get {
02203 this.RaiseExceptionIfNecessary();
02204 return ((EventsDataSet)(this.results[0]));
02205 }
02206 }
02207 }
02208
02209
02210 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
02211 public delegate void CreateEventHandlerAssociationsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
02212
02213
02214 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
02215 public delegate void UpdateEventHandlerAssociationsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
02216
02217
02218 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
02219 public delegate void ReadEventHandlerAssociationsForEventCompletedEventHandler(object sender, ReadEventHandlerAssociationsForEventCompletedEventArgs e);
02220
02221
02222 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
02223 [System.Diagnostics.DebuggerStepThroughAttribute()]
02224 [System.ComponentModel.DesignerCategoryAttribute("code")]
02225 public partial class ReadEventHandlerAssociationsForEventCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
02226
02227 private object[] results;
02228
02229 internal ReadEventHandlerAssociationsForEventCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
02230 base(exception, cancelled, userState) {
02231 this.results = results;
02232 }
02233
02234
02235 public EventHandlersDataSet Result {
02236 get {
02237 this.RaiseExceptionIfNecessary();
02238 return ((EventHandlersDataSet)(this.results[0]));
02239 }
02240 }
02241 }
02242
02243
02244 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
02245 public delegate void ReadEventHandlerAssociationCompletedEventHandler(object sender, ReadEventHandlerAssociationCompletedEventArgs e);
02246
02247
02248 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
02249 [System.Diagnostics.DebuggerStepThroughAttribute()]
02250 [System.ComponentModel.DesignerCategoryAttribute("code")]
02251 public partial class ReadEventHandlerAssociationCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
02252
02253 private object[] results;
02254
02255 internal ReadEventHandlerAssociationCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
02256 base(exception, cancelled, userState) {
02257 this.results = results;
02258 }
02259
02260
02261 public EventHandlersDataSet Result {
02262 get {
02263 this.RaiseExceptionIfNecessary();
02264 return ((EventHandlersDataSet)(this.results[0]));
02265 }
02266 }
02267 }
02268
02269
02270 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
02271 public delegate void ReadEventHandlerAssociationsCompletedEventHandler(object sender, ReadEventHandlerAssociationsCompletedEventArgs e);
02272
02273
02274 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
02275 [System.Diagnostics.DebuggerStepThroughAttribute()]
02276 [System.ComponentModel.DesignerCategoryAttribute("code")]
02277 public partial class ReadEventHandlerAssociationsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
02278
02279 private object[] results;
02280
02281 internal ReadEventHandlerAssociationsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
02282 base(exception, cancelled, userState) {
02283 this.results = results;
02284 }
02285
02286
02287 public EventHandlersDataSet Result {
02288 get {
02289 this.RaiseExceptionIfNecessary();
02290 return ((EventHandlersDataSet)(this.results[0]));
02291 }
02292 }
02293 }
02294
02295
02296 [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
02297 public delegate void DeleteEventHandlerAssociationsCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e);
02298 }
02299
02300 #pragma warning restore 1591