PartAngleDisplay.ToolbarTypes.getType C# (CSharp) Метод

getType() статический приватный Метод

static private getType ( string name ) : Type
name string
Результат System.Type
        internal static Type getType(string name)
        {
            Type type = null;
            AssemblyLoader.loadedAssemblies.TypeOperation(t =>
            {
                if (t.FullName == name)
                {
                    type = t;
                }
            });
            return type;
        }

Usage Example

Пример #1
0
        public GameScenesVisibility(params GameScenes[] gameScenes)
        {
            Type gameScenesVisibilityType = ToolbarTypes.getType("Toolbar.GameScenesVisibility");

            realGameScenesVisibility = Activator.CreateInstance(gameScenesVisibilityType, new object[] { gameScenes });
            visibleProperty          = ToolbarTypes.getProperty(gameScenesVisibilityType, "Visible");
        }
All Usage Examples Of PartAngleDisplay.ToolbarTypes::getType