Ejemplo n.º 1
0
        private List <IPBindingDesiredState> GetBindings(BindingCollection bindings)
        {
            var siteBindingList = new List <IPBindingDesiredState>();

            foreach (var binding in bindings)
            {
                if (binding.Protocol.ToLower().StartsWith("http"))
                {
                    var b = new IPBindingDesiredState(binding);

                    siteBindingList.Add(b);
                }
            }

            return(siteBindingList);
        }
Ejemplo n.º 2
0
		private List<IPBindingDesiredState> GetBindings(BindingCollection bindings)
		{
			var siteBindingList = new List<IPBindingDesiredState>();

			foreach (var binding in bindings)
			{
				if (binding.Protocol.ToLower().StartsWith("http"))
				{
					var b = new IPBindingDesiredState(binding);

					siteBindingList.Add(b);
				}
			}

			return siteBindingList;
		}