Ejemplo n.º 1
0
 public void Add(global::System.Collections.Generic.KeyValuePair <int, ArPose> item)
 {
     Add(item.Key, item.Value);
 }
Ejemplo n.º 2
0
 public static IObjectReference CreateMarshaler(global::System.Collections.Generic.KeyValuePair <K, V> obj) =>
 MarshalInterface <global::System.Collections.Generic.KeyValuePair <K, V> > .CreateMarshaler(obj);
Ejemplo n.º 3
0
 public bool Remove(global::System.Collections.Generic.KeyValuePair <string, global::Windows.Graphics.Imaging.BitmapTypedValue> item)
 {
     throw new global::System.NotSupportedException();
 }
Ejemplo n.º 4
0
 public void Add(global::System.Collections.Generic.KeyValuePair <string, AudioAsset> item)
 {
     Add(item.Key, item.Value);
 }
Ejemplo n.º 5
0
		internal static global::System.Collections.Generic.KeyValuePair<string, global::System.Collections.Generic.IEnumerable<string>> Func__KeyValuePair_2_string___IEnumerable_1_string__(
					global::System.__ComObject __this, 
					global::System.RuntimeTypeHandle __typeHnd, 
					int __targetIndex)
		{
			// Setup
			global::System.Collections.Generic.KeyValuePair_A_string_j_System_Collections_Generic_IEnumerable_A_string_V__V___Impl.Vtbl** unsafe___value__retval = default(global::System.Collections.Generic.KeyValuePair_A_string_j_System_Collections_Generic_IEnumerable_A_string_V__V___Impl.Vtbl**);
			global::System.Collections.Generic.KeyValuePair<string, global::System.Collections.Generic.IEnumerable<string>> __value__retval = default(global::System.Collections.Generic.KeyValuePair<string, global::System.Collections.Generic.IEnumerable<string>>);
			int unsafe___return__;
			try
			{
				// Marshalling
				unsafe___value__retval = null;
				// Call to native method
				unsafe___return__ = global::McgInterop.ComCallHelpers.ComCall__HRESULT(
									__this, 
									__typeHnd, 
									__targetIndex, 
									&(unsafe___value__retval)
								);
				global::System.Runtime.InteropServices.DebugAnnotations.PreviousCallContainsUserCode();
				global::Windows.Foundation.Collections.IKeyValuePair<string, global::System.Collections.Generic.IEnumerable<string>> pair___value__retval = ((global::Windows.Foundation.Collections.IKeyValuePair<string, global::System.Collections.Generic.IEnumerable<string>>)global::System.Runtime.InteropServices.McgModuleManager.ComInterfaceToObject_NoUnboxing(
									((global::System.IntPtr)unsafe___value__retval), 
									typeof(global::Windows.Foundation.Collections.IKeyValuePair<string, global::System.Collections.Generic.IEnumerable<string>>).TypeHandle
								));
				__value__retval = new global::System.Collections.Generic.KeyValuePair<string, global::System.Collections.Generic.IEnumerable<string>>(pair___value__retval.get_Key(), pair___value__retval.get_Value());
				// Return
				return __value__retval;
			}
			finally
			{
				// Cleanup
				global::System.Runtime.InteropServices.McgMarshal.ComSafeRelease(new global::System.IntPtr(((void*)unsafe___value__retval)));
			}
		}
Ejemplo n.º 6
0
 public void Add(global::System.Collections.Generic.KeyValuePair <byte, SnCurveSegment> item)
 {
     Add(item.Key, item.Value);
 }
Ejemplo n.º 7
0
 public bool Contains(global::System.Collections.Generic.KeyValuePair <string, string> item)
 {
     throw new global::System.NotSupportedException();
 }
Ejemplo n.º 8
0
 public void Add(global::System.Collections.Generic.KeyValuePair <WirelessTypes.DerivedCategory, ChannelMask> item)
 {
     Add(item.Key, item.Value);
 }
Ejemplo n.º 9
0
 public void Add(global::System.Collections.Generic.KeyValuePair <double, SWIGTYPE_p_cv__Mat_T_double_t> item)
 {
     Add(item.Key, item.Value);
 }
Ejemplo n.º 10
0
 public bool Remove(global::System.Collections.Generic.KeyValuePair <string, global::Windows.Data.Json.IJsonValue> item)
 {
     throw new global::System.NotSupportedException();
 }
Ejemplo n.º 11
0
 public void Add(global::System.Collections.Generic.KeyValuePair <GpioConfiguration.Feature, GpioBehaviorModes> item)
 {
     Add(item.Key, item.Value);
 }
Ejemplo n.º 12
0
 public void Add(global::System.Collections.Generic.KeyValuePair <DeviceStatusValues, string> item)
 {
     Add(item.Key, item.Value);
 }
Ejemplo n.º 13
0
 public void Add(global::System.Collections.Generic.KeyValuePair <string, global::System.Collections.Generic.IList <string> > item)
 {
     throw new global::System.NotSupportedException();
 }
Ejemplo n.º 14
0
 public void Add(global::System.Collections.Generic.KeyValuePair <string, WsdaInfo> item)
 {
     Add(item.Key, item.Value);
 }
Ejemplo n.º 15
0
 // Comparing key only
 public int Compare(global::System.Collections.Generic.KeyValuePair <TKey, TValue> x, global::System.Collections.Generic.KeyValuePair <TKey, TValue> y)
 {
     return(global::System.Collections.Generic.Comparer <TKey> .Default.Compare(x.Key, y.Key));
 }
Ejemplo n.º 16
0
 public void Add(global::System.Collections.Generic.KeyValuePair <global::System.Guid, object> item)
 {
     throw new global::System.NotSupportedException();
 }
Ejemplo n.º 17
0
        //#region IReadOnlyDictionary members

        int Find(ref TKey key)
        {
            global::System.Collections.Generic.KeyValuePair <TKey, TValue> searchKey = new global::System.Collections.Generic.KeyValuePair <TKey, TValue>(key, default(TValue));

            return(global::System.Array.BinarySearch(items, firstItemIndex, Count, searchKey, this));
        }
Ejemplo n.º 18
0
 public bool Remove(global::System.Collections.Generic.KeyValuePair <string, global::Windows.UI.Composition.ICompositionAnimationBase> item)
 {
     throw new global::System.NotSupportedException();
 }
Ejemplo n.º 19
0
 public void Add(global::System.Collections.Generic.KeyValuePair <ushort, ushort> item)
 {
     Add(item.Key, item.Value);
 }
Ejemplo n.º 20
0
 public void Add(global::System.Collections.Generic.KeyValuePair <ulong, base_cycle_metric> item)
 {
     Add(item.Key, item.Value);
 }
Ejemplo n.º 21
0
 public bool Remove(global::System.Collections.Generic.KeyValuePair <string, object> item)
 {
     throw new global::System.NotSupportedException();
 }
 public void Add(global::System.Collections.Generic.KeyValuePair <Variable, MinibatchData> item)
 {
     Add(item.Key, item.Value);
 }
Ejemplo n.º 23
0
		internal static global::System.Collections.Generic.KeyValuePair<string, global::Windows.ApplicationModel.Resources.Core.NamedResource>[] Func_rg__KeyValuePair_2_string__ApplicationModel_Resources_Core_NamedResource___(
					global::System.__ComObject __this, 
					global::System.RuntimeTypeHandle __typeHnd, 
					int __targetIndex)
		{
			// Setup
			global::System.Collections.Generic.KeyValuePair_A_string_j_Windows_ApplicationModel_Resources_Core_NamedResource_V___Impl.Vtbl*** unsafe___value__retval = default(global::System.Collections.Generic.KeyValuePair_A_string_j_Windows_ApplicationModel_Resources_Core_NamedResource_V___Impl.Vtbl***);
			global::System.Collections.Generic.KeyValuePair<string, global::Windows.ApplicationModel.Resources.Core.NamedResource>[] __value__retval = default(global::System.Collections.Generic.KeyValuePair<string, global::Windows.ApplicationModel.Resources.Core.NamedResource>[]);
			uint unsafe___value__retval_mcgLength = 0;
			int unsafe___return__;
			try
			{
				// Marshalling
				unsafe___value__retval = null;
				// Call to native method
				unsafe___return__ = global::McgInterop.ComCallHelpers.ComCall__HRESULT(
									__this, 
									__typeHnd, 
									__targetIndex, 
									&(unsafe___value__retval_mcgLength), 
									&(unsafe___value__retval)
								);
				global::System.Runtime.InteropServices.DebugAnnotations.PreviousCallContainsUserCode();
				if (unsafe___value__retval == null)
					__value__retval = null;
				else
				{
					__value__retval = new global::System.Collections.Generic.KeyValuePair<string, global::Windows.ApplicationModel.Resources.Core.NamedResource>[unsafe___value__retval_mcgLength];
					if (__value__retval != null)
						for (uint mcgIdx = 0; (mcgIdx < unsafe___value__retval_mcgLength); mcgIdx++)
						{
							// [fwd] [out] [retval] [nativebyref] [optional] [Mcg.CodeGen.WinRTKeyValuePairMarshaller] System_Collections_Generic_KeyValuePair_2_string__Windows_ApplicationModel_Resources_Core_NamedResource___Windows_Foundation_Collections__IKeyValuePair_A_string_j_Windows_ApplicationModel_Resources_Core_NamedResource_V_ * __value__retval
							global::Windows.Foundation.Collections.IKeyValuePair<string, global::Windows.ApplicationModel.Resources.Core.NamedResource> pair___value__retval = ((global::Windows.Foundation.Collections.IKeyValuePair<string, global::Windows.ApplicationModel.Resources.Core.NamedResource>)global::System.Runtime.InteropServices.McgModuleManager.ComInterfaceToObject_NoUnboxing(
												((global::System.IntPtr)unsafe___value__retval[mcgIdx]), 
												typeof(global::Windows.Foundation.Collections.IKeyValuePair<string, global::Windows.ApplicationModel.Resources.Core.NamedResource>).TypeHandle
											));
							__value__retval[mcgIdx] = new global::System.Collections.Generic.KeyValuePair<string, global::Windows.ApplicationModel.Resources.Core.NamedResource>(pair___value__retval.get_Key(), pair___value__retval.get_Value());
						}
				}
				// Return
				return __value__retval;
			}
			finally
			{
				// Cleanup
				if (unsafe___value__retval != null)
					for (uint mcgIdx_1 = 0; (mcgIdx_1 < unsafe___value__retval_mcgLength); mcgIdx_1++)
					{
						// [fwd] [in] [out] [retval] [nativebyref] [optional] [Mcg.CodeGen.WinRTKeyValuePairMarshaller] System_Collections_Generic_KeyValuePair_2_string__Windows_ApplicationModel_Resources_Core_NamedResource___Windows_Foundation_Collections__IKeyValuePair_A_string_j_Windows_ApplicationModel_Resources_Core_NamedResource_V_ * __value__retval
						global::System.Runtime.InteropServices.McgMarshal.ComSafeRelease(new global::System.IntPtr(((void*)unsafe___value__retval[mcgIdx_1])));
					}
				global::System.Runtime.InteropServices.ExternalInterop.SafeCoTaskMemFree(unsafe___value__retval);
			}
		}
Ejemplo n.º 24
0
 public void Add(global::System.Collections.Generic.KeyValuePair <byte, Trigger> item)
 {
     Add(item.Key, item.Value);
 }
Ejemplo n.º 25
0
		internal static uint Func_out_rg__KeyValuePair_2_string___IEnumerable_1_string__uint__(
					global::System.__ComObject __this, 
					global::System.Collections.Generic.KeyValuePair<string, global::System.Collections.Generic.IEnumerable<string>>[] items, 
					global::System.RuntimeTypeHandle __typeHnd, 
					int __targetIndex)
		{
			// Setup
			uint unsafe_items_mcgLength = 0;
			global::System.Collections.Generic.KeyValuePair_A_string_j_System_Collections_Generic_IEnumerable_A_string_V__V___Impl.Vtbl*** unsafe_items = default(global::System.Collections.Generic.KeyValuePair_A_string_j_System_Collections_Generic_IEnumerable_A_string_V__V___Impl.Vtbl***);
			uint unsafe___value__retval;
			uint __value__retval;
			int unsafe___return__;
			try
			{
				// Marshalling
				if (items != null)
					unsafe_items_mcgLength = (uint)items.Length;
				if (items != null)
					unsafe_items = (global::System.Collections.Generic.KeyValuePair_A_string_j_System_Collections_Generic_IEnumerable_A_string_V__V___Impl.Vtbl***)global::McgInterop.McgHelpers.CoTaskMemAllocAndZeroMemory(((global::System.IntPtr)checked(unsafe_items_mcgLength * sizeof(global::System.Collections.Generic.KeyValuePair_A_string_j_System_Collections_Generic_IEnumerable_A_string_V__V___Impl.Vtbl**))));
				// Call to native method
				unsafe___return__ = global::McgInterop.ComCallHelpers.ComCall__HRESULT(
									__this, 
									__typeHnd, 
									__targetIndex, 
									unsafe_items_mcgLength, 
									unsafe_items, 
									&(unsafe___value__retval)
								);
				global::System.Runtime.InteropServices.DebugAnnotations.PreviousCallContainsUserCode();
				__value__retval = unsafe___value__retval;
				if (items != null)
					for (uint mcgIdx = 0; (mcgIdx < unsafe_items_mcgLength); mcgIdx++)
					{
						// [fwd] [out] [optional] [Mcg.CodeGen.WinRTKeyValuePairMarshaller] System_Collections_Generic_KeyValuePair_2_string__System_Collections_Generic_IEnumerable_1_string____Windows_Foundation_Collections__IKeyValuePair_A_string_j_Windows_Foundation_Collections_IIterable_A_string_V__V_ * items
						global::Windows.Foundation.Collections.IKeyValuePair<string, global::System.Collections.Generic.IEnumerable<string>> pair_items = ((global::Windows.Foundation.Collections.IKeyValuePair<string, global::System.Collections.Generic.IEnumerable<string>>)global::System.Runtime.InteropServices.McgModuleManager.ComInterfaceToObject_NoUnboxing(
											((global::System.IntPtr)unsafe_items[mcgIdx]), 
											typeof(global::Windows.Foundation.Collections.IKeyValuePair<string, global::System.Collections.Generic.IEnumerable<string>>).TypeHandle
										));
						items[mcgIdx] = new global::System.Collections.Generic.KeyValuePair<string, global::System.Collections.Generic.IEnumerable<string>>(pair_items.get_Key(), pair_items.get_Value());
					}
				// Return
				return __value__retval;
			}
			finally
			{
				// Cleanup
				if (unsafe_items != null)
					for (uint mcgIdx_1 = 0; (mcgIdx_1 < unsafe_items_mcgLength); mcgIdx_1++)
					{
						// [fwd] [in] [out] [optional] [Mcg.CodeGen.WinRTKeyValuePairMarshaller] System_Collections_Generic_KeyValuePair_2_string__System_Collections_Generic_IEnumerable_1_string____Windows_Foundation_Collections__IKeyValuePair_A_string_j_Windows_Foundation_Collections_IIterable_A_string_V__V_ * items
						global::System.Runtime.InteropServices.McgMarshal.ComSafeRelease(new global::System.IntPtr(((void*)unsafe_items[mcgIdx_1])));
					}
				global::System.Runtime.InteropServices.ExternalInterop.SafeCoTaskMemFree(unsafe_items);
			}
		}
 public void Add(global::System.Collections.Generic.KeyValuePair <string, Quadrangle> item)
 {
     Add(item.Key, item.Value);
 }