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

            return(parameter.GetUrlDeserializationExpression(parameterName));
        }
Exemplo 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";
 }