notes.ToolbarTypes.getProperty C# (CSharp) Method

getProperty() static private method

static private getProperty ( Type type, string name ) : PropertyInfo
type System.Type
name string
return System.Reflection.PropertyInfo
        internal static PropertyInfo getProperty(Type type, string name)
        {
            return type.GetProperty(name, BindingFlags.Public | BindingFlags.Instance);
        }

Usage Example

Exemplo n.º 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 notes.ToolbarTypes::getProperty