'------------------------------------------------------------------------------
' <auto-generated>
'     This code was generated by a tool.
'     Runtime Version:2.0.50727.4927
'
'     Changes to this file may cause incorrect behavior and will be lost if
'     the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------

Option Strict On
Option Explicit On

Imports System
Imports System.Runtime.Serialization

Namespace ServiceReference1
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0"),  _
     System.Runtime.Serialization.DataContractAttribute(Name:="ContactFault", [Namespace]:="http://schemas.datacontract.org/2004/07/Service"),  _
     System.SerializableAttribute()>  _
    Partial Public Class ContactFault
        Inherits Object
        Implements System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
        
        <System.NonSerializedAttribute()>  _
        Private extensionDataField As System.Runtime.Serialization.ExtensionDataObject
        
        <System.Runtime.Serialization.OptionalFieldAttribute()>  _
        Private ContactNamesField() As String
        
        <Global.System.ComponentModel.BrowsableAttribute(false)>  _
        Public Property ExtensionData() As System.Runtime.Serialization.ExtensionDataObject Implements System.Runtime.Serialization.IExtensibleDataObject.ExtensionData
            Get
                Return Me.extensionDataField
            End Get
            Set
                Me.extensionDataField = value
            End Set
        End Property
        
        <System.Runtime.Serialization.DataMemberAttribute()>  _
        Public Property ContactNames() As String()
            Get
                Return Me.ContactNamesField
            End Get
            Set
                If (Object.ReferenceEquals(Me.ContactNamesField, value) <> true) Then
                    Me.ContactNamesField = value
                    Me.RaisePropertyChanged("ContactNames")
                End If
            End Set
        End Property
        
        Public Event PropertyChanged As System.ComponentModel.PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged
        
        Protected Sub RaisePropertyChanged(ByVal propertyName As String)
            Dim propertyChanged As System.ComponentModel.PropertyChangedEventHandler = Me.PropertyChangedEvent
            If (Not (propertyChanged) Is Nothing) Then
                propertyChanged(Me, New System.ComponentModel.PropertyChangedEventArgs(propertyName))
            End If
        End Sub
    End Class
    
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0"),  _
     System.ServiceModel.ServiceContractAttribute(ConfigurationName:="ServiceReference1.IService1")>  _
    Public Interface IService1
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IService1/GetContactGroups", ReplyAction:="http://tempuri.org/IService1/GetContactGroupsResponse")>  _
        Function GetContactGroups() As Telerik.OpenAccess.ObjectContainer.ChangeSet
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IService1/GetContacts", ReplyAction:="http://tempuri.org/IService1/GetContactsResponse")>  _
        Function GetContacts() As Telerik.OpenAccess.ObjectContainer.ChangeSet
        
        <System.ServiceModel.OperationContractAttribute(Action:="http://tempuri.org/IService1/SaveContacts", ReplyAction:="http://tempuri.org/IService1/SaveContactsResponse"),  _
         System.ServiceModel.FaultContractAttribute(GetType(ServiceReference1.ContactFault), Action:="http://tempuri.org/IService1/SaveContactsContactFaultFault", Name:="ContactFault", [Namespace]:="http://schemas.datacontract.org/2004/07/Service")>  _
        Function SaveContacts(ByVal changeSet As Telerik.OpenAccess.ObjectContainer.ChangeSet) As Telerik.OpenAccess.ObjectContainer.ChangeSet
    End Interface
    
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Public Interface IService1Channel
        Inherits ServiceReference1.IService1, System.ServiceModel.IClientChannel
    End Interface
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")>  _
    Partial Public Class Service1Client
        Inherits System.ServiceModel.ClientBase(Of ServiceReference1.IService1)
        Implements ServiceReference1.IService1
        
        Public Sub New()
            MyBase.New
        End Sub
        
        Public Sub New(ByVal endpointConfigurationName As String)
            MyBase.New(endpointConfigurationName)
        End Sub
        
        Public Sub New(ByVal endpointConfigurationName As String, ByVal remoteAddress As String)
            MyBase.New(endpointConfigurationName, remoteAddress)
        End Sub
        
        Public Sub New(ByVal endpointConfigurationName As String, ByVal remoteAddress As System.ServiceModel.EndpointAddress)
            MyBase.New(endpointConfigurationName, remoteAddress)
        End Sub
        
        Public Sub New(ByVal binding As System.ServiceModel.Channels.Binding, ByVal remoteAddress As System.ServiceModel.EndpointAddress)
            MyBase.New(binding, remoteAddress)
        End Sub
        
        Public Function GetContactGroups() As Telerik.OpenAccess.ObjectContainer.ChangeSet Implements ServiceReference1.IService1.GetContactGroups
            Return MyBase.Channel.GetContactGroups
        End Function
        
        Public Function GetContacts() As Telerik.OpenAccess.ObjectContainer.ChangeSet Implements ServiceReference1.IService1.GetContacts
            Return MyBase.Channel.GetContacts
        End Function
        
        Public Function SaveContacts(ByVal changeSet As Telerik.OpenAccess.ObjectContainer.ChangeSet) As Telerik.OpenAccess.ObjectContainer.ChangeSet Implements ServiceReference1.IService1.SaveContacts
            Return MyBase.Channel.SaveContacts(changeSet)
        End Function
    End Class
End Namespace
