public static void RegisterGetOperationContractAttributeExtender (GetOperationContractAttributeExtender extender)
		{
			if (extender == null)
				return;

			if (getOperationContractAttributeExtenders == null)
				getOperationContractAttributeExtenders = new List <GetOperationContractAttributeExtender> ();

			if (getOperationContractAttributeExtenders.Contains (extender))
				return;

			getOperationContractAttributeExtenders.Add (extender);
		}
示例#2
0
        public static void RegisterGetOperationContractAttributeExtender(GetOperationContractAttributeExtender extender)
        {
            if (extender == null)
            {
                return;
            }

            if (getOperationContractAttributeExtenders == null)
            {
                getOperationContractAttributeExtenders = new List <GetOperationContractAttributeExtender> ();
            }

            if (getOperationContractAttributeExtenders.Contains(extender))
            {
                return;
            }

            getOperationContractAttributeExtenders.Add(extender);
        }