/// <summary>
		/// Initializes a new instance of the InterfaceContract class.
		/// </summary>
		public InterfaceContract()
		{
            //initialize all private members
            desc = new FxDescription.ServiceDescription();
            twoWayOperations = new List<Operation>();
            oneWayOperations = new List<Operation>();
            operationNamePatterns = new Hashtable();
			usedElements = new List<SchemaElement>();

            //initialize all public members
            IsHttpBinding = false;
            Bindings |= SoapBindings.Soap11;
            Imports = new SchemaImports();
			Types = new List<SchemaElement>();
			HeaderSchemas = new List<SchemaElement>();
			MessageSchemas = new List<SchemaElement>();
            Operations = new List<Operation>();
			SchemaImports = new List<SchemaImport>();
		}
示例#2
0
        /// <summary>
        /// Initializes a new instance of the InterfaceContract class.
        /// </summary>
        public InterfaceContract()
        {
            //initialize all private members
            desc                  = new FxDescription.ServiceDescription();
            twoWayOperations      = new List <Operation>();
            oneWayOperations      = new List <Operation>();
            operationNamePatterns = new Hashtable();
            usedElements          = new List <SchemaElement>();

            //initialize all public members
            IsHttpBinding  = false;
            Bindings      |= SoapBindings.Soap11;
            Imports        = new SchemaImports();
            Types          = new List <SchemaElement>();
            HeaderSchemas  = new List <SchemaElement>();
            MessageSchemas = new List <SchemaElement>();
            Operations     = new List <Operation>();
            SchemaImports  = new List <SchemaImport>();
        }