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

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