public static CreateAssignStatement This(string fieldName)
		{
			CreateAssignStatement createAssignStatement = new CreateAssignStatement();
			createAssignStatement.Statement.Left = new CodeFieldReferenceExpression(
				new CodeThisReferenceExpression(), fieldName);
			return createAssignStatement;
		}
Example #2
0
        public static CreateAssignStatement This(string fieldName)
        {
            CreateAssignStatement createAssignStatement = new CreateAssignStatement();

            createAssignStatement.Statement.Left = new CodeFieldReferenceExpression(
                new CodeThisReferenceExpression(), fieldName);
            return(createAssignStatement);
        }