Skip to main content

engage/generated/system/io/
filesystemenumerablefactory.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "system-io-filesystemenumerablefactory-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::object::{IObject, Object};
9
10    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/system/io/filesystemenumerablefactory/FileSystemEnumerableFactory.md"))]
11    #[::unity::class(namespace = "System.IO", name = "FileSystemEnumerableFactory")]
12    #[parent(crate::system::object::Object)]
13    pub struct FileSystemEnumerableFactory {}
14}
15
16#[cfg(feature = "system-io-filesystemenumerablefactory-types")]
17pub use __types::*;
18
19#[cfg(feature = "system-io-filesystemenumerablefactory")]
20impl FileSystemEnumerableFactory {
21    #[doc = "`CreateFileNameIterator(::unity::Il2CppString, ::unity::Il2CppString, ::unity::Il2CppString, bool, bool, crate::system::io::searchoption::SearchOption, bool)` overload"]
22    pub fn create_file_name_iterator(
23        path: impl ::core::convert::Into<::unity::Il2CppString>,
24        original_user_path: impl ::core::convert::Into<::unity::Il2CppString>,
25        search_pattern: impl ::core::convert::Into<::unity::Il2CppString>,
26        include_files: impl ::core::convert::Into<bool>,
27        include_dirs: impl ::core::convert::Into<bool>,
28        search_option: impl ::core::convert::Into<crate::system::io::searchoption::SearchOption>,
29        check_host: impl ::core::convert::Into<bool>,
30    ) -> crate::system::collections::generic::ienumerable_1::IEnumerable_1<::unity::Il2CppString> {
31        unsafe {
32            ::unity::il2cpp_call!((::unity::module_base()+0x3812180usize)as*mut u8,crate::system::collections::generic::ienumerable_1::IEnumerable_1< ::unity::Il2CppString> ;
33(::unity::Il2CppString)::core::convert::Into::into(path),(::unity::Il2CppString)::core::convert::Into::into(original_user_path),(::unity::Il2CppString)::core::convert::Into::into(search_pattern),(bool)::core::convert::Into::into(include_files),(bool)::core::convert::Into::into(include_dirs),(crate::system::io::searchoption::SearchOption)::core::convert::Into::into(search_option),(bool)::core::convert::Into::into(check_host))
34        }
35    }
36}
37
38#[cfg(feature = "system-io-filesystemenumerablefactory")]
39impl FileSystemEnumerableFactory {
40    pub fn create_file_name_iterator_method_info() -> &'static ::unity::il2cpp::MethodInfo {
41        <Self as ::unity::ClassIdentity>::class().raw().get_methods()[0]
42    }
43}
44
45#[cfg(feature = "system-io-filesystemenumerablefactory")]
46#[doc(hidden)]
47pub mod prelude {
48    pub use super::{FileSystemEnumerableFactory, IFileSystemEnumerableFactory};
49    pub use crate::system::object::IObject;
50    #[cfg(feature = "system-object")]
51    pub use crate::system::object::IObjectMethods;
52}