GetGroup() публичный статический Метод

public static GetGroup ( FieldInfo field, string &group ) : void
field System.Reflection.FieldInfo
group string
Результат void
Пример #1
0
 public Setting(FieldInfo field, SettingType type, string group)
 {
     Type  = type;
     Name  = field.Name;
     Group = group;
     DisplayNameAttribute.GetDisplayName(field, ref DisplayName);
     HelpTextAttribute.GetHelpText(field, ref HelpText);
     GroupAttribute.GetGroup(field, ref Group);
     UseAsShaderConstant = UseAsShaderConstantAttribute.UseFieldAsShaderConstant(field);
 }
 public Setting(FieldInfo field, SettingType type, string group)
 {
     Type  = type;
     Name  = field.Name;
     Group = group;
     DisplayNameAttribute.GetDisplayName(field, ref DisplayName);
     HelpTextAttribute.GetHelpText(field, ref HelpText);
     GroupAttribute.GetGroup(field, ref Group);
     UseAsShaderConstant = UseAsShaderConstantAttribute.UseFieldAsShaderConstant(field);
     Visible             = VisibleAttribute.IsVisible(field);
     Editable            = EditableAttribute.IsEditable(field);
     VirtualCode         = VirtualSettingAttribute.VirtualSettingCode(field);
 }