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); }
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); }