public PortProfile(global::omg.org.RTC.PortProfile source) { _Name = source.name; _Interfaces = source.interfaces.Select(x => (ReactiveRTM.RTC.PortInterfaceProfile)new ReactiveRTM.RTC.PortInterfaceProfile(x)).ToList(); _PortRef = new ReactiveRTM.RTC.PortServiceStub(source.port_ref); _ConnectorProfiles = source.connector_profiles.Select(x => (ReactiveRTM.RTC.ConnectorProfile)new ReactiveRTM.RTC.ConnectorProfile(x)).ToList(); _Owner = new ReactiveRTM.RTC.RTObjectStub(source.owner); _Properties = Converter.NVListToDictionary(source.properties); }
public PortProfile() { _Name = string.Empty; _Interfaces = new List<ReactiveRTM.RTC.PortInterfaceProfile>(); _PortRef = default(ReactiveRTM.RTC.PortService); _ConnectorProfiles = new List<ReactiveRTM.RTC.ConnectorProfile>(); _Owner = default(ReactiveRTM.RTC.RTObject); _Properties = new Dictionary<string,object>(); }