public MetadataFilter(SdkMessageFilter filter) { Id = filter.Id; PrimaryObjectTypeCode = filter.PrimaryObjectTypeCode; SecondaryObjectTypeCode = filter.SecondaryObjectTypeCode; IsVisible = filter.IsVisible; }
internal void Fill(Result result) { if (!SdkMessagePairs.ContainsKey(result.SdkMessagePairId)) { var pair = new SdkMessagePair(this, result.SdkMessagePairId, result.SdkMessagePairNamespace); _sdkMessagePairs.Add(pair.Id, pair); } SdkMessagePairs[result.SdkMessagePairId].Fill(result); if (!SdkMessageFilters.ContainsKey(result.SdkMessageFilterId)) { var filter = new SdkMessageFilter(result.SdkMessageFilterId); SdkMessageFilters.Add(result.SdkMessageFilterId, filter); } SdkMessageFilters[result.SdkMessageFilterId].Fill(result); }