public EditProperty ForceProperty(string path) { return(EditProperty.New( this, target_type.GetVariableByPath(path) .AssertNotNull(() => new MissingFieldException("No property exists for type " + GetTargetType() + " and path " + path)) )); }
public IEnumerable <EditProperty> GetParameters() { return(function.GetParameters().ConvertWithIndex( (i, p) => EditProperty.New( STATIC_TARGET, new Variable_Element(arguments, i).GetOverridenTypeAndNameVariable(p.Value, p.Key) ) )); }
public IEnumerable <EditProperty> GetAllPropertys() { return(target_type.GetFilteredInstanceFields( Filterer_Utility.Any( Filterer_FieldInfo.HasCustomAttributeOfType <SerializeField>(), Filterer_FieldInfo.HasCustomAttributeOfType <SerializeFieldEX>(), Filterer_FieldInfo.IsPublicField(), Filterer_FieldInfo.IsBackingFieldForPublicSetAndGet() ) ).Convert(f => f.CreateVariable()) .Convert(v => EditProperty.New(this, v))); }
public EditPropertyArrayElement(EditTarget t, Variable v, int i) { variable = v.GetVariableElement(i); property = EditProperty.New(t, variable); }