コード例 #1
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 public void PersistPersonalizedGreeting(CallButlerAuthInfo authInfo, CallButlerDataset.PersonalizedGreetingsDataTable personalizedGreeting) {
     this.Invoke("PersistPersonalizedGreeting", new object[] {
                 authInfo,
                 personalizedGreeting});
 }
コード例 #2
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 /// <remarks/>
 public void PersistExtensionContactNumbersAsync(CallButlerAuthInfo authInfo, CallButlerDataset.ExtensionContactNumbersDataTable changes) {
     this.PersistExtensionContactNumbersAsync(authInfo, changes, null);
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 /// <remarks/>
 public void PersistLocalizedGreetingAsync(CallButlerAuthInfo authInfo, CallButlerDataset.LocalizedGreetingsDataTable localizedGreeting) {
     this.PersistLocalizedGreetingAsync(authInfo, localizedGreeting, null);
 }
コード例 #4
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 /// <remarks/>
 public void PersistScriptScheduleAsync(CallButlerAuthInfo authInfo, CallButlerDataset.ScriptSchedulesDataTable scriptSchedules) {
     this.PersistScriptScheduleAsync(authInfo, scriptSchedules, null);
 }
コード例 #5
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
     CallButlerDataset ds = new CallButlerDataset();
     global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
     global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
     global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny();
     any.Namespace = ds.Namespace;
     sequence.Items.Add(any);
     type.Particle = sequence;
     global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
     if (xs.Contains(dsSchema.TargetNamespace)) {
         global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
         global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
         try {
             global::System.Xml.Schema.XmlSchema schema = null;
             dsSchema.Write(s1);
             for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                 s2.SetLength(0);
                 schema.Write(s2);
                 if ((s1.Length == s2.Length)) {
                     s1.Position = 0;
                     s2.Position = 0;
                     for (; ((s1.Position != s1.Length) 
                                 && (s1.ReadByte() == s2.ReadByte())); ) {
                         ;
                     }
                     if ((s1.Position == s1.Length)) {
                         return type;
                     }
                 }
             }
         }
         finally {
             if ((s1 != null)) {
                 s1.Close();
             }
             if ((s2 != null)) {
                 s2.Close();
             }
         }
     }
     xs.Add(dsSchema);
     return type;
 }
コード例 #6
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 public void PersistProviders(CallButlerAuthInfo authInfo, CallButlerDataset.ProvidersDataTable providers) {
     this.Invoke("PersistProviders", new object[] {
                 authInfo,
                 providers});
 }
コード例 #7
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 /// <remarks/>
 public void PersistProvidersAsync(CallButlerAuthInfo authInfo, CallButlerDataset.ProvidersDataTable providers, object userState) {
     if ((this.PersistProvidersOperationCompleted == null)) {
         this.PersistProvidersOperationCompleted = new System.Threading.SendOrPostCallback(this.OnPersistProvidersOperationCompleted);
     }
     this.InvokeAsync("PersistProviders", new object[] {
                 authInfo,
                 providers}, this.PersistProvidersOperationCompleted, userState);
 }
コード例 #8
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 /// <remarks/>
 public void PersistVoicemailAsync(CallButlerAuthInfo authInfo, CallButlerDataset.VoicemailsDataTable voicemail, object userState) {
     if ((this.PersistVoicemailOperationCompleted == null)) {
         this.PersistVoicemailOperationCompleted = new System.Threading.SendOrPostCallback(this.OnPersistVoicemailOperationCompleted);
     }
     this.InvokeAsync("PersistVoicemail", new object[] {
                 authInfo,
                 voicemail}, this.PersistVoicemailOperationCompleted, userState);
 }
コード例 #9
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 public void PersistVoicemailSound(CallButlerAuthInfo authInfo, System.Guid extensionID, CallButlerDataset.ExtensionsDataTable extensions, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] soundBytes) {
     this.Invoke("PersistVoicemailSound", new object[] {
                 authInfo,
                 extensionID,
                 extensions,
                 soundBytes});
 }
コード例 #10
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 public void PersistVoicemail(CallButlerAuthInfo authInfo, CallButlerDataset.VoicemailsDataTable voicemail) {
     this.Invoke("PersistVoicemail", new object[] {
                 authInfo,
                 voicemail});
 }
コード例 #11
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 /// <remarks/>
 public void PersistVoicemailAsync(CallButlerAuthInfo authInfo, CallButlerDataset.VoicemailsDataTable voicemail) {
     this.PersistVoicemailAsync(authInfo, voicemail, null);
 }
コード例 #12
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 /// <remarks/>
 public void PersistExtensionAsync(CallButlerAuthInfo authInfo, CallButlerDataset.ExtensionsDataTable extension, object userState) {
     if ((this.PersistExtensionOperationCompleted == null)) {
         this.PersistExtensionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnPersistExtensionOperationCompleted);
     }
     this.InvokeAsync("PersistExtension", new object[] {
                 authInfo,
                 extension}, this.PersistExtensionOperationCompleted, userState);
 }
コード例 #13
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 /// <remarks/>
 public void PersistExtensionAsync(CallButlerAuthInfo authInfo, CallButlerDataset.ExtensionsDataTable extension) {
     this.PersistExtensionAsync(authInfo, extension, null);
 }
コード例 #14
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 public void PersistExtension(CallButlerAuthInfo authInfo, CallButlerDataset.ExtensionsDataTable extension) {
     this.Invoke("PersistExtension", new object[] {
                 authInfo,
                 extension});
 }
コード例 #15
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 /// <remarks/>
 public void PersistPersonalizedGreetingAsync(CallButlerAuthInfo authInfo, CallButlerDataset.PersonalizedGreetingsDataTable personalizedGreeting) {
     this.PersistPersonalizedGreetingAsync(authInfo, personalizedGreeting, null);
 }
コード例 #16
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 /// <remarks/>
 public void PersistVoicemailSoundAsync(CallButlerAuthInfo authInfo, System.Guid extensionID, CallButlerDataset.ExtensionsDataTable extensions, byte[] soundBytes) {
     this.PersistVoicemailSoundAsync(authInfo, extensionID, extensions, soundBytes, null);
 }
コード例 #17
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 /// <remarks/>
 public void PersistPersonalizedGreetingAsync(CallButlerAuthInfo authInfo, CallButlerDataset.PersonalizedGreetingsDataTable personalizedGreeting, object userState) {
     if ((this.PersistPersonalizedGreetingOperationCompleted == null)) {
         this.PersistPersonalizedGreetingOperationCompleted = new System.Threading.SendOrPostCallback(this.OnPersistPersonalizedGreetingOperationCompleted);
     }
     this.InvokeAsync("PersistPersonalizedGreeting", new object[] {
                 authInfo,
                 personalizedGreeting}, this.PersistPersonalizedGreetingOperationCompleted, userState);
 }
コード例 #18
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 /// <remarks/>
 public void PersistVoicemailSoundAsync(CallButlerAuthInfo authInfo, System.Guid extensionID, CallButlerDataset.ExtensionsDataTable extensions, byte[] soundBytes, object userState) {
     if ((this.PersistVoicemailSoundOperationCompleted == null)) {
         this.PersistVoicemailSoundOperationCompleted = new System.Threading.SendOrPostCallback(this.OnPersistVoicemailSoundOperationCompleted);
     }
     this.InvokeAsync("PersistVoicemailSound", new object[] {
                 authInfo,
                 extensionID,
                 extensions,
                 soundBytes}, this.PersistVoicemailSoundOperationCompleted, userState);
 }
コード例 #19
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 /// <remarks/>
 public void PersistProvidersAsync(CallButlerAuthInfo authInfo, CallButlerDataset.ProvidersDataTable providers) {
     this.PersistProvidersAsync(authInfo, providers, null);
 }
コード例 #20
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 public void PersistDepartment(CallButlerAuthInfo authInfo, CallButlerDataset.DepartmentsDataTable department) {
     this.Invoke("PersistDepartment", new object[] {
                 authInfo,
                 department});
 }
コード例 #21
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 public void PersistScriptSchedule(CallButlerAuthInfo authInfo, CallButlerDataset.ScriptSchedulesDataTable scriptSchedules) {
     this.Invoke("PersistScriptSchedule", new object[] {
                 authInfo,
                 scriptSchedules});
 }
コード例 #22
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 /// <remarks/>
 public void PersistDepartmentAsync(CallButlerAuthInfo authInfo, CallButlerDataset.DepartmentsDataTable department) {
     this.PersistDepartmentAsync(authInfo, department, null);
 }
コード例 #23
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 /// <remarks/>
 public void PersistScriptScheduleAsync(CallButlerAuthInfo authInfo, CallButlerDataset.ScriptSchedulesDataTable scriptSchedules, object userState) {
     if ((this.PersistScriptScheduleOperationCompleted == null)) {
         this.PersistScriptScheduleOperationCompleted = new System.Threading.SendOrPostCallback(this.OnPersistScriptScheduleOperationCompleted);
     }
     this.InvokeAsync("PersistScriptSchedule", new object[] {
                 authInfo,
                 scriptSchedules}, this.PersistScriptScheduleOperationCompleted, userState);
 }
コード例 #24
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 /// <remarks/>
 public void PersistDepartmentAsync(CallButlerAuthInfo authInfo, CallButlerDataset.DepartmentsDataTable department, object userState) {
     if ((this.PersistDepartmentOperationCompleted == null)) {
         this.PersistDepartmentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnPersistDepartmentOperationCompleted);
     }
     this.InvokeAsync("PersistDepartment", new object[] {
                 authInfo,
                 department}, this.PersistDepartmentOperationCompleted, userState);
 }
コード例 #25
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
     global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
     global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
     CallButlerDataset ds = new CallButlerDataset();
     global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
     any1.Namespace = "http://www.w3.org/2001/XMLSchema";
     any1.MinOccurs = new decimal(0);
     any1.MaxOccurs = decimal.MaxValue;
     any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
     sequence.Items.Add(any1);
     global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
     any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
     any2.MinOccurs = new decimal(1);
     any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
     sequence.Items.Add(any2);
     global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
     attribute1.Name = "namespace";
     attribute1.FixedValue = ds.Namespace;
     type.Attributes.Add(attribute1);
     global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
     attribute2.Name = "tableTypeName";
     attribute2.FixedValue = "ScriptSchedulesDataTable";
     type.Attributes.Add(attribute2);
     type.Particle = sequence;
     global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
     if (xs.Contains(dsSchema.TargetNamespace)) {
         global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
         global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
         try {
             global::System.Xml.Schema.XmlSchema schema = null;
             dsSchema.Write(s1);
             for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
                 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
                 s2.SetLength(0);
                 schema.Write(s2);
                 if ((s1.Length == s2.Length)) {
                     s1.Position = 0;
                     s2.Position = 0;
                     for (; ((s1.Position != s1.Length) 
                                 && (s1.ReadByte() == s2.ReadByte())); ) {
                         ;
                     }
                     if ((s1.Position == s1.Length)) {
                         return type;
                     }
                 }
             }
         }
         finally {
             if ((s1 != null)) {
                 s1.Close();
             }
             if ((s2 != null)) {
                 s2.Close();
             }
         }
     }
     xs.Add(dsSchema);
     return type;
 }
コード例 #26
0
ファイル: Reference.cs プロジェクト: hostitherepc/Fork-1
 public void PersistExtensionContactNumbers(CallButlerAuthInfo authInfo, CallButlerDataset.ExtensionContactNumbersDataTable changes) {
     this.Invoke("PersistExtensionContactNumbers", new object[] {
                 authInfo,
                 changes});
 }