engage/generated/system/collections/generic/
idictionary_2_interface.rs1#[cfg(feature = "system-collections-generic-idictionary_2_interface-types")]
4mod __types {
5 #[allow(unused_imports)] use ::unity::prelude::*;
6
7 use super::*;
8
9 #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/system/collections/generic/idictionary_2_interface/IDictionary_2_Interface.md"))]
10 #[::unity::class(namespace = "System.Collections.Generic", name = "IDictionary`2")]
11 pub struct IDictionary_2_Interface<T0: ::unity::ClassIdentity, T1: ::unity::ClassIdentity> {}
12}
13
14#[cfg(feature = "system-collections-generic-idictionary_2_interface-types")]
15pub use __types::*;
16
17#[cfg(feature = "system-collections-generic-idictionary_2_interface")]
18#[::unity::methods]
19impl<T0: ::unity::ClassIdentity, T1: ::unity::ClassIdentity> IDictionary_2_Interface<T0, T1> {
20 #[doc = "`get_Keys()` overload"]
21 #[method(name = "get_Keys", args = 0, abstract_dispatch)]
22 pub fn get_keys(self) -> crate::system::collections::generic::icollection_1::ICollection_1<T0>;
23
24 #[doc = "`get_Values()` overload"]
25 #[method(name = "get_Values", args = 0, abstract_dispatch)]
26 pub fn get_values(self) -> crate::system::collections::generic::icollection_1::ICollection_1<T1>;
27
28 #[doc = "`Add(T0, T1)` overload"]
29 #[method(name = "Add", args = 2, abstract_dispatch)]
30 pub fn add(self, key: T0, value: T1) -> ();
31}
32
33#[cfg(feature = "system-collections-generic-idictionary_2_interface")]
34#[doc(hidden)]
35pub mod prelude {
36 pub use super::{IDictionary_2_Interface, IIDictionary_2_Interface, IIDictionary_2_InterfaceMethods};
37}