private static void writePropertyDocComment(TextWriter writer, VariableSpecification parameter) { CodeGenerationStatics.AddSummaryDocComment( writer, "Gets or sets the new value for the " + parameter.Name + " parameter." + (parameter.IsString || parameter.IsEnumerable ? " The value cannot be null." : "")); }
public static string GetWasSpecifiedFieldName(VariableSpecification parameter) { return(parameter.FieldName + "WasSpecified"); }
private static string getChangeTypeExpression(VariableSpecification parameter) { var parameterName = getLocalQueryValueVariableName(parameter); return(parameter.GetUrlDeserializationExpression(parameterName)); }
private static string getLocalQueryValueVariableName(VariableSpecification parameter) { return(parameter.Name + "QueryValue"); }
private static string getLocalQueryValueVariableName( VariableSpecification parameter ) { return parameter.Name + "QueryValue"; }
private static string getChangeTypeExpression( VariableSpecification parameter ) { var parameterName = getLocalQueryValueVariableName( parameter ); return parameter.GetUrlDeserializationExpression( parameterName ); }
private static void writePropertyDocComment( TextWriter writer, VariableSpecification parameter ) { CodeGenerationStatics.AddSummaryDocComment( writer, "Gets or sets the new value for the " + parameter.Name + " parameter." + ( parameter.IsString || parameter.IsEnumerable ? " The value cannot be null." : "" ) ); }
public static string GetWasSpecifiedFieldName( VariableSpecification parameter ) { return parameter.FieldName + "WasSpecified"; }
public static string GetWasSpecifiedPropertyName(VariableSpecification parameter) { return(parameter.PropertyName + "WasSpecified"); }
public static string GetWasSpecifiedPropertyName( VariableSpecification parameter ) { return parameter.PropertyName + "WasSpecified"; }