internal NetworkAddressParameter CreateAttachParameter() { NetworkAddressParameter parameter = ParameterFactory.Create(parameterType, true); owner.Parameters.Add(parameter); return(parameter); }
public void Add(WirelessNetworkAddress item) { Guard.NotNull(item, nameof(item)); NetworkAddressParameter parameter = CreateAttachParameter(); parameter.Value = item.Value; }
public WirelessNetworkAddressCollection(Operation owner, ParameterType.NetworkAddress parameterType) { Guard.NotNull(owner, nameof(owner)); this.owner = owner; this.parameterType = parameterType; NetworkAddressParameter prototypeParameter = ParameterFactory.Create(parameterType, true); parameterId = prototypeParameter.Id; }