Esempio n. 1
0
 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." : ""));
 }
Esempio n. 2
0
 public static string GetWasSpecifiedFieldName(VariableSpecification parameter)
 {
     return(parameter.FieldName + "WasSpecified");
 }
Esempio n. 3
0
        private static string getChangeTypeExpression(VariableSpecification parameter)
        {
            var parameterName = getLocalQueryValueVariableName(parameter);

            return(parameter.GetUrlDeserializationExpression(parameterName));
        }
Esempio n. 4
0
 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";
 }