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

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